aboutsummaryrefslogtreecommitdiff
path: root/nomnom/ast.nom
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-10-03 16:26:24 -0700
committerBruce Hill <bruce@bruce-hill.com>2018-10-03 16:26:29 -0700
commit2f68357cb6800e97edd31abfc707d7c7905faa64 (patch)
tree8ead999f5e3d9f0c207f73c7f498d813177db519 /nomnom/ast.nom
parentb615cb5c8e638cffe77bbe5cb86c9362e2b2fc18 (diff)
Some incremental progress.
Diffstat (limited to 'nomnom/ast.nom')
-rw-r--r--nomnom/ast.nom5
1 files changed, 5 insertions, 0 deletions
diff --git a/nomnom/ast.nom b/nomnom/ast.nom
index 377f4ae..816554c 100644
--- a/nomnom/ast.nom
+++ b/nomnom/ast.nom
@@ -64,6 +64,11 @@ object (Syntax Tree):
%replacement.%k = %r
unless %changes: return %me
return (Syntax Tree %replacement)
+
+ my action [with %overrides]:
+ %new = (%k = %v for %k = %v in %me)
+ for %k = %v in %overrides: %new.%k = %v
+ return (Syntax Tree %new)
my action [== %other]:
unless (..)