diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-04-17 14:36:44 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-04-17 14:36:55 -0700 |
| commit | 26d0de8299c7568152f479320444833b4d30d0eb (patch) | |
| tree | 995feed96145619477a0b3547eb97e2f80521cdb /core/metaprogramming.nom | |
| parent | 54fc7fc4404c02df2c38a7ae121e61e9b8bca78c (diff) | |
Partially working, at least for metaprogramming.nom
Diffstat (limited to 'core/metaprogramming.nom')
| -rw-r--r-- | core/metaprogramming.nom | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/metaprogramming.nom b/core/metaprogramming.nom index 9c7f166..870754b 100644 --- a/core/metaprogramming.nom +++ b/core/metaprogramming.nom @@ -171,7 +171,6 @@ immediately: immediately: compile [say %message] to: lua> ".." - local tree = nomsu.compilestack[#nomsu.compilestack]; if \%message.type == "Text" then return Lua(tree.source, "print(", \(%message as lua expr), ");"); else @@ -182,8 +181,8 @@ immediately: compile [source] to: Lua value (=lua "tree.source") "tree.source" immediately: - action [Lua %]: Lua (=lua "nomsu.compilestack[#nomsu.compilestack]") % - action [Lua value %]: Lua value (=lua "nomsu.compilestack[#nomsu.compilestack]") % + action [Lua %]: Lua (=lua "tree.source") % + action [Lua value %]: Lua value (=lua "tree.source") % # Return immediately: |
