summaryrefslogtreecommitdiff
path: root/test/maketree1.lm
diff options
context:
space:
mode:
Diffstat (limited to 'test/maketree1.lm')
-rw-r--r--test/maketree1.lm13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/maketree1.lm b/test/maketree1.lm
new file mode 100644
index 00000000..55548325
--- /dev/null
+++ b/test/maketree1.lm
@@ -0,0 +1,13 @@
+##### LM #####
+lex
+ token a /'a'/
+ token b /'b'/
+ token c /'c'/
+end
+
+def A
+ [a b c]
+
+print( make_tree( typeid<A> cons a "a" cons b "b" cons c "c" ) '\n' )
+##### EXP #####
+abc