aboutsummaryrefslogtreecommitdiff
path: root/src/example/test1.lang
diff options
context:
space:
mode:
authorEduardo Julian2014-11-25 14:43:44 -0400
committerEduardo Julian2014-11-25 14:43:44 -0400
commit5bf50ef978eb88e2e61c40f3bb0fea523115e770 (patch)
tree4651d17fb27e5d04498547456ed1d216c083ca1c /src/example/test1.lang
+ Can lex basic tokens.
+ Can parse basic syntax. + Can eval integer multiplication.
Diffstat (limited to '')
-rw-r--r--src/example/test1.lang6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/example/test1.lang b/src/example/test1.lang
new file mode 100644
index 000000000..f6f244a57
--- /dev/null
+++ b/src/example/test1.lang
@@ -0,0 +1,6 @@
+
+(* 5 6)
+
+(defdata (List x)
+ (#Nil [])
+ (#Cons [x] (List x)))