diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-03 01:04:21 -0800 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-03 01:04:21 -0800 |
| commit | cd4196d36553530eac385dd909426509fa9aaeec (patch) | |
| tree | b881b2e37d89e25bc1ca0fccee71fa92003d76d5 /lib/metaprogramming.nom | |
| parent | cfee75b21b307b5d57c215cad5b1c089c91182fc (diff) | |
Tidying.
Diffstat (limited to 'lib/metaprogramming.nom')
| -rw-r--r-- | lib/metaprogramming.nom | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/metaprogramming.nom b/lib/metaprogramming.nom index b4c1283..4b47ddf 100644 --- a/lib/metaprogramming.nom +++ b/lib/metaprogramming.nom @@ -66,15 +66,15 @@ lua> ".." rule [remove rule %stub] =: lua> ".." - local def = nomsu.defs[\(%stub)]; + local def = nomsu.defs[\%stub]; for _, alias in ipairs(def.aliases) do nomsu.defs[alias] = false; end rule [%tree as lua] =: - =lua "nomsu:tree_to_lua(\(%tree))" + =lua "nomsu:tree_to_lua(\%tree)" rule [%tree as value] =: - =lua "nomsu:tree_to_value(\(%tree), vars)" + =lua "nomsu:tree_to_value(\%tree, vars)" compile [repr %obj] to: "nomsu:repr(\(%obj as lua))" compile [indented %obj] to: @@ -91,7 +91,7 @@ parse [lua do> %block] as: rule [%tree as lua statement] =: lua do> ".." - local _,statement = nomsu:tree_to_lua(\(%tree)); + local _,statement = nomsu:tree_to_lua(\%tree); return statement; rule [%tree as lua statements] =: lua do> ".." |
