From 7a35e38d8778670fe0662f203e82638355db3bba Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 31 Oct 2018 15:05:17 -0700 Subject: Renamed (action %) -> (%'s meaning) --- core/control_flow.nom | 2 +- core/metaprogramming.nom | 6 +++--- core/scopes.nom | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'core') diff --git a/core/control_flow.nom b/core/control_flow.nom index 2b53ce7..0cabf95 100644 --- a/core/control_flow.nom +++ b/core/control_flow.nom @@ -406,7 +406,7 @@ test: ..hint "If you want the code in this block to always execute, you don't \ ..need a conditional block around it. Otherwise, make sure the 'else' \ ..block comes last." - + %code::append "\nelse\n " %code::append (%action as lua statements) %else_allowed = (no) diff --git a/core/metaprogramming.nom b/core/metaprogramming.nom index a2f15a1..c999191 100644 --- a/core/metaprogramming.nom +++ b/core/metaprogramming.nom @@ -102,7 +102,7 @@ lua> "\ test: (foo %x) means (return "outer") - with local [action (foo %)]: + with local [(foo %)'s meaning]: (foo %x) means: %y = (%x + 1) return %y @@ -151,8 +151,8 @@ test: return lua" test: - assume ((action (say %)) == (=lua "say_1")) -(action %action) compiles to (Lua value (%action.stub as lua id)) + assume (((say %)'s meaning) == (=lua "say_1")) +(%action's meaning) compiles to (Lua value (%action.stub as lua id)) test: (swap %x and %y) parses as (..) diff --git a/core/scopes.nom b/core/scopes.nom index 715409c..2d86ca4 100644 --- a/core/scopes.nom +++ b/core/scopes.nom @@ -15,7 +15,7 @@ test: assume (%x == "outer") externally (foo) means "outer foo" - with local [action (foo)]: + with local [(foo)'s meaning]: externally (foo) means "inner foo" assume ((foo) == "inner foo") -- cgit v1.2.3