From 1a755ddee807fe4e1b683f32b21d710dc78600a2 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 9 May 2018 13:34:33 -0700 Subject: Added tentative support for luajit (depends on pure-lua LPEG implementation). --- core/metaprogramming.nom | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'core/metaprogramming.nom') diff --git a/core/metaprogramming.nom b/core/metaprogramming.nom index 6d2f764..fd70119 100644 --- a/core/metaprogramming.nom +++ b/core/metaprogramming.nom @@ -159,19 +159,6 @@ immediately compile [nomsu] to: Lua value "nomsu" compile [%var as lua identifier] to: Lua value "nomsu:var_to_lua_identifier(\(%var as lua expr))" -action [action %names metadata] - =lua "nomsu.action_metadata[ACTIONS[\%names]]" - -# Get the source code for a function -action [help %action] - lua> ".." - local metadata = \(action %action metadata); - if not metadata then - print("Action not found: "..repr(\%action)); - else - print(metadata.src or ""); - end - # Compiler tools immediately compile [run %code] to -- cgit v1.2.3