step 1. integers
authorRaimon Grau <raimonster@gmail.com>
Tue, 11 Dec 2012 22:56:15 +0000 (23:56 +0100)
committerRaimon Grau <raimonster@gmail.com>
Tue, 11 Dec 2012 22:56:15 +0000 (23:56 +0100)
lispstrack.lisp [new file with mode: 0644]

diff --git a/lispstrack.lisp b/lispstrack.lisp
new file mode 100644 (file)
index 0000000..dcd0a6d
--- /dev/null
@@ -0,0 +1,12 @@
+(defun ls-compile (sexp)
+  (cond
+    ((symbolp sexp) nil)
+    ((integerp sexp) (format nil "~a" sexp))
+    ; list
+    ((case (first sexp)
+       (if nil)
+       (lambda nil)
+       (t nil)))))
+
+(defparameter *env-var* '())
+(defparameter *env-fun* '())