aboutsummaryrefslogtreecommitdiff
path: root/game2.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2017-08-22 04:15:13 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2017-08-22 04:15:13 -0700
commitea69b181982a50771af0e6f2be262a63e06790da (patch)
tree376ab7b64c02b09081ffce273afb0c4f65351cd9 /game2.moon
parent039c620df270e88f6d50df677b7dedd65b868449 (diff)
Slightly cleaned up macros.
Diffstat (limited to 'game2.moon')
-rwxr-xr-xgame2.moon7
1 files changed, 6 insertions, 1 deletions
diff --git a/game2.moon b/game2.moon
index eb1d4c5..18c1f51 100755
--- a/game2.moon
+++ b/game2.moon
@@ -190,9 +190,12 @@ rule "do %thing also %also-thing":
do %thing
do %also-thing
return 99
-
+]]
+g\run[[
do: say "one liner"
..also: say "another one liner"
+]]
+g\run[[
say (..)
do:
@@ -200,6 +203,8 @@ say (..)
return 5
say "bye"
+]]
+g\run[[
say (do: return "wow")
if 1: say "hi1" ..else: say "bye1"