aboutsummaryrefslogtreecommitdiff
path: root/game2.moon
diff options
context:
space:
mode:
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"