tests/step3: test def! within let*. Fix groovy build.
authorJoel Martin <github@martintribe.org>
Tue, 8 Mar 2016 04:25:30 +0000 (22:25 -0600)
committerJoel Martin <github@martintribe.org>
Tue, 8 Mar 2016 04:25:30 +0000 (22:25 -0600)
groovy/Makefile
tests/step3_env.mal

index ff0b0d6..b76e71f 100644 (file)
@@ -8,10 +8,10 @@ all: ${CLASSES}
 
 dist: mal.jar
 
-step1_read_print.class: types.class reader.class printer.class
-step2_eval.class: types.class reader.class printer.class
-step3_env.class: types.class reader.class printer.class env.class
-step4_if_fn_do.class step6_file.class step7_quote.class step8_macros.class step9_try.class stepA_mal.class: ${CLASSES}
+step1_read_print.groovy: types.class reader.class printer.class
+step2_eval.groovy: types.class reader.class printer.class
+step3_env.groovy: types.class reader.class printer.class env.class
+step4_if_fn_do.groovy step6_file.groovy step7_quote.groovy step8_macros.groovy step9_try.groovy stepA_mal.groovy: ${CLASSES}
 
 types.class: types.groovy
        groovyc $<
index 4ca9124..cb42f5c 100644 (file)
@@ -41,6 +41,10 @@ x
 ;=>4
 (let* (z 2) (let* (q 9) a))
 ;=>4
+(let* (x 4) (def! a 5))
+;=>5
+a
+;=>4
 
 ;;
 ;; -------- Optional Functionality --------