aboutsummaryrefslogtreecommitdiff
path: root/src/example/test1.lang
diff options
context:
space:
mode:
authorEduardo Julian2014-11-29 00:03:32 -0400
committerEduardo Julian2014-11-29 00:03:32 -0400
commit71b63cbbb858b85dd4850c4aa174cf7ec509b11c (patch)
treeb1c462586b850a83f8dcd529e8216613b45c8ab7 /src/example/test1.lang
parent1570e819a875ac0e7f80857f0793784984db687d (diff)
+ Added floats.
+ Added def for constants.
Diffstat (limited to 'src/example/test1.lang')
-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
index f805b1085..c5d797beb 100644
--- a/src/example/test1.lang
+++ b/src/example/test1.lang
@@ -18,3 +18,9 @@
## It's alive!
(fold * 1 (repeat 5 5))
+
+3.14
+
+(def pi 3.14)
+
+pi