aboutsummaryrefslogtreecommitdiff
path: root/forth/misc-tests.fs
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2015-02-24 09:16:20 -0600
committerJoel Martin <github@martintribe.org>2015-02-24 09:16:20 -0600
commitff26ebdb816da07b28b29073868994fc7eabf8d1 (patch)
treeee0e08f5226525cb4885512e07ae53c30f185990 /forth/misc-tests.fs
parent2a42d8274072c44dd2d83762cc27cd810f5b8452 (diff)
parenta631063f3fa2eaed473369b376a5499df92209bd (diff)
downloadmal-ff26ebdb816da07b28b29073868994fc7eabf8d1.tar.gz
mal-ff26ebdb816da07b28b29073868994fc7eabf8d1.zip
Merge pull request #8 from Chouser/forth3
Forth: Interop and perf updates
Diffstat (limited to 'forth/misc-tests.fs')
-rw-r--r--forth/misc-tests.fs7
1 files changed, 7 insertions, 0 deletions
diff --git a/forth/misc-tests.fs b/forth/misc-tests.fs
index 35e665b..6b6d643 100644
--- a/forth/misc-tests.fs
+++ b/forth/misc-tests.fs
@@ -39,6 +39,7 @@ dup 5 cells + @ 20 test=
\ Protocol tests
+: t1
mal-nil
42 MalInt. mal-nil conj
10 MalInt. mal-nil conj conj
@@ -80,14 +81,20 @@ drop
99 MalInt. 10 MalInt. MalMap/Empty get 99 MalInt. test=
+;
+t1
+
\ eval tests
require step2_eval.fs
+: t2
mal-nil
1 MalInt. swap conj
2 MalInt. swap conj
3 MalInt. swap conj
mal-eval
+;
+t2
bye