diff options
Diffstat (limited to 'core/metaprogramming.nom')
| -rw-r--r-- | core/metaprogramming.nom | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/metaprogramming.nom b/core/metaprogramming.nom index c978bf8..836b5a2 100644 --- a/core/metaprogramming.nom +++ b/core/metaprogramming.nom @@ -1,9 +1,9 @@ -#!/usr/bin/env nomsu -V3.7.5.6 +#!/usr/bin/env nomsu -V3.8.7.6 # This File contains actions for making actions and compile-time actions and some helper functions to make that easier. -lua> "NOMSU_CORE_VERSION = 7" +lua> "NOMSU_CORE_VERSION = 8" lua> ".." do local mangle_index = 0 @@ -18,6 +18,7 @@ lua> ".." COMPILE_ACTIONS["define mangler"] = function(nomsu, tree) return LuaCode(tree.source, "local mangle_1 = mangler()") end + lua> ".." COMPILE_ACTIONS["1 -> 2"] = function(nomsu, tree, \%args, \%body) local lua = LuaCode.Value(tree.source, "(function(") |
