From ea69b181982a50771af0e6f2be262a63e06790da Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 22 Aug 2017 04:15:13 -0700 Subject: Slightly cleaned up macros. --- game2.moon | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'game2.moon') 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" -- cgit v1.2.3