aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-10-31 15:05:17 -0700
committerBruce Hill <bruce@bruce-hill.com>2018-10-31 15:05:17 -0700
commit7a35e38d8778670fe0662f203e82638355db3bba (patch)
treecc9f813d1350f23d2b81a81b18f4f127668bfec9 /core
parentf43d8c58f755a7f208d84b43071490ab356c5ac8 (diff)
Renamed (action %) -> (%'s meaning)
Diffstat (limited to 'core')
-rw-r--r--core/control_flow.nom2
-rw-r--r--core/metaprogramming.nom6
-rw-r--r--core/scopes.nom2
3 files changed, 5 insertions, 5 deletions
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")