summaryrefslogtreecommitdiff
path: root/test/pending/run/lisp.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-05-15 04:54:05 +0000
committerPaul Phillips <paulp@improving.org>2011-05-15 04:54:05 +0000
commit15ed8925c951be8103007b73c9232dc85516b158 (patch)
tree00bd9a05d23082d08b517edaa6231b19a0a35bd4 /test/pending/run/lisp.check
parent0e3282d99f02c33161584a8fd68ba2bb6b335b6f (diff)
downloadscala-15ed8925c951be8103007b73c9232dc85516b158.tar.gz
scala-15ed8925c951be8103007b73c9232dc85516b158.tar.bz2
scala-15ed8925c951be8103007b73c9232dc85516b158.zip
Temporarily sending lisp.scala to be interprete...
Temporarily sending lisp.scala to be interpreter.scala's equally memory hungry buddy in pending. References #4512. This should be straightened out imminently, but I will solve this more easily by looking forward, not backward. No review.
Diffstat (limited to 'test/pending/run/lisp.check')
-rw-r--r--test/pending/run/lisp.check26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/pending/run/lisp.check b/test/pending/run/lisp.check
new file mode 100644
index 0000000000..64053f26d0
--- /dev/null
+++ b/test/pending/run/lisp.check
@@ -0,0 +1,26 @@
+(lambda (x) (+ (* x x) 1))
+(lambda (x) (+ (* x x) 1))
+
+( '(1 2 3)) = (1 2 3)
+(car '(1 2 3)) = 1
+(cdr '(1 2 3)) = (2 3)
+(null? '(2 3)) = 0
+(null? '()) = 1
+
+faculty(10) = 3628800
+faculty(10) = 3628800
+foobar = ("a" "bc" "def" "z")
+
+List('lambda, List('x), List('+, List('*, 'x, 'x), 1))
+(lambda (x) (+ (* x x) 1))
+
+( '(1 2 3)) = (1 2 3)
+(car '(1 2 3)) = 1
+(cdr '(1 2 3)) = (2 3)
+(null? '(2 3)) = 0
+(null? '()) = 1
+
+faculty(10) = 3628800
+faculty(10) = 3628800
+foobar = ("a" "bc" "def" "z")
+