From 2f68357cb6800e97edd31abfc707d7c7905faa64 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 3 Oct 2018 16:26:24 -0700 Subject: Some incremental progress. --- nomnom/ast.nom | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nomnom/ast.nom') 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 (..) -- cgit v1.2.3