diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2017-12-15 15:30:05 -0800 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2017-12-15 15:30:05 -0800 |
| commit | 3c303018bb0d619676a1578b7a3a52571e9e14ad (patch) | |
| tree | 4619ba1e9ce4b549a05b92e1021d65fe012a6e98 /lib | |
| parent | 340714635acdfb9651a39fb633f3b40c976eda45 (diff) | |
Tweaks.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/metaprogramming.nom | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/metaprogramming.nom b/lib/metaprogramming.nom index 29a4ebd..95deb0c 100644 --- a/lib/metaprogramming.nom +++ b/lib/metaprogramming.nom @@ -72,6 +72,10 @@ rule [%tree as value] =: =lua "nomsu:tree_to_value(\(%tree), vars)" compile [repr %obj] to: "nomsu:repr(\(%obj as lua))" +compile [indented %obj] to: + "nomsu:indent(\(%obj as lua))" +compile [dedented %obj] to: + "nomsu:dedent(\(%obj as lua))" compile [type %obj, type of %obj] to: "type(\(%obj as lua))" |
