summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-08-11 22:01:59 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-08-11 22:01:59 -0700
commit17c43f985b8c707e997fe65a20ce31430f51bb36 (patch)
treee607df7e43896557804c3600f263c72748f60639 /ChangeLog
parent7876104ee7e73c190b67e90a87fe5a44f40c4af6 (diff)
downloadtxr-17c43f985b8c707e997fe65a20ce31430f51bb36.tar.gz
txr-17c43f985b8c707e997fe65a20ce31430f51bb36.tar.bz2
txr-17c43f985b8c707e997fe65a20ce31430f51bb36.zip
First cut at restructuring how variable matching works in the pattern
language. The goal is to remove the strict behavior of using only one element of context after a variable. variable form at parse time: we unravel that first. * parser.y (grammar): Simplifying the phrase structure rule for the var element. All the variants that have a trailing elem are removed. The abstract syntax changes; the modifier moves to the third position in the list. * match.c (h_var): Matching change: the element which follows a variable is now pulled from the specline rather than the variable syntax, which is how it should have been done in the first place. The modifiers are pulled from a different spot in the variable syntax.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index dfdb84fe..d9a06d9a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2014-08-11 Kaz Kylheku <kaz@kylheku.com>
+
+ First cut at restructuring how variable matching works in the pattern
+ language. The goal is to remove the strict behavior of using only one
+ element of context after a variable.
+ variable form at parse time: we unravel that first.
+
+ * parser.y (grammar): Simplifying the phrase structure
+ rule for the var element. All the variants that have
+ a trailing elem are removed. The abstract syntax
+ changes; the modifier moves to the third position in the
+ list.
+
+ * match.c (h_var): Matching change: the element which follows
+ a variable is now pulled from the specline rather than the variable
+ syntax, which is how it should have been done in the first place. The
+ modifiers are pulled from a different spot in the variable syntax.
+
2014-08-09 Kaz Kylheku <kaz@kylheku.com>
* filter.c (filter_init): Expose the trie-lookup-begin,