From 54c29594097f44fd2b15b253c90bedeca03690a7 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 12 Sep 2017 22:23:36 -0700 Subject: [PATCH] Renamed game -> compiler. --- examples/tutorial.nom | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/tutorial.nom b/examples/tutorial.nom index 1b25f69..2617964 100644 --- a/examples/tutorial.nom +++ b/examples/tutorial.nom @@ -184,8 +184,8 @@ rule "say time": |io.write(tostring(os.time()).."\n") say time printf ["Math expression: ", lua expr "(1 + 2*3 + 3*4)^2"] -(# In the lua environment, "vars" can be used to get local variables/function args, and "game" - can be used to access the compiler, function defs, and other things #) +(# In the lua environment, "vars" can be used to get local variables/function args, and + "compiler" can be used to access the compiler, function defs, and other things #) rule "square root of %n": return (lua expr "math.sqrt(vars.n)") printf ["the square root of 2 is ", square root of 2]