diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2017-09-12 22:23:36 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2017-09-12 22:23:36 -0700 |
| commit | 54c29594097f44fd2b15b253c90bedeca03690a7 (patch) | |
| tree | 522e2e1a793f43c2c05e0d23e41737bcc4bdc8a5 /examples/tutorial.nom | |
| parent | 4c912ad87b6cc4819b721f51cd7d642f2b4aff1d (diff) | |
Renamed game -> compiler.
Diffstat (limited to 'examples/tutorial.nom')
| -rw-r--r-- | examples/tutorial.nom | 4 |
1 files 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] |
