summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-10-03 08:23:36 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-10-03 08:53:40 -0700
commit972fd2cff9ff7e3981acc4c3807a529e1b40d0bf (patch)
tree8d2d0d21205d74600cc25f3c9a4134b96b66cffb /ChangeLog
parent090f4dee78f7a7239ebd515993412f9505001fa9 (diff)
downloadtxr-972fd2cff9ff7e3981acc4c3807a529e1b40d0bf.tar.gz
txr-972fd2cff9ff7e3981acc4c3807a529e1b40d0bf.tar.bz2
txr-972fd2cff9ff7e3981acc4c3807a529e1b40d0bf.zip
Eliminating the extra list wrapping applied to regular
expression objects in the syntax tree. The parser just puts out a #<regex ...> instead of (#<regex ...> regex-syntax). * eval.c (do_eval): We no longer need the hack of treating (#<regex> ...) as a special form which evaluates to #<regex>. (expand): We no longer have to skip over regex syntax, so the case is removed. * match.c (h_var, do_txeval, do_match_line): regexp cases are no longer subcases of consp but stand on their own. In do_match_line, we introduce a COBJ case into the type switch for regexes. * parser.y: regexes are now compiled in the regex and lisp_regex grammar rules instead of the dependent rules, and are not wrapped in extra syntax.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d75b535a..9fb4c8ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,25 @@
2014-10-03 Kaz Kylheku <kaz@kylheku.com>
+ Eliminating the extra list wrapping applied to regular
+ expression objects in the syntax tree. The parser
+ just puts out a #<regex ...> instead of (#<regex ...> regex-syntax).
+
+ * eval.c (do_eval): We no longer need the hack of
+ treating (#<regex> ...) as a special form which
+ evaluates to #<regex>.
+ (expand): We no longer have to skip over regex syntax,
+ so the case is removed.
+
+ * match.c (h_var, do_txeval, do_match_line): regexp cases are no longer
+ subcases of consp but stand on their own. In do_match_line, we
+ introduce a COBJ case into the type switch for regexes.
+
+ * parser.y: regexes are now compiled in the regex and lisp_regex
+ grammar rules instead of the dependent rules, and are not wrapped in
+ extra syntax.
+
+2014-10-03 Kaz Kylheku <kaz@kylheku.com>
+
* match.c (h_var): Fix regression introduced in 2014-08-11
commit. The incompleteness of that change broke the case of an unbound
variable followed by a bound variable. The value of the