aboutsummaryrefslogtreecommitdiff
path: root/make/tests/stepA_mal.mal
diff options
context:
space:
mode:
Diffstat (limited to 'make/tests/stepA_mal.mal')
-rw-r--r--make/tests/stepA_mal.mal19
1 files changed, 19 insertions, 0 deletions
diff --git a/make/tests/stepA_mal.mal b/make/tests/stepA_mal.mal
new file mode 100644
index 0000000..9b1a2f9
--- /dev/null
+++ b/make/tests/stepA_mal.mal
@@ -0,0 +1,19 @@
+;; Testing basic make interop
+
+(make* "7")
+;=>"7"
+
+(make* "$(info foo)")
+; foo
+;=>""
+
+(make* "$(eval foo := 8)")
+(make* "$(foo)")
+;=>"8"
+
+(make* "$(foreach v,a b c,X$(v)Y)")
+;=>"XaY XbY XcY"
+
+(read-string (make* "($(foreach v,1 2 3,$(call gmsl_plus,1,$(v))))"))
+;=>(2 3 4)
+