diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-04-12 22:32:33 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-04-12 22:32:33 -0700 |
commit | cceee8693a03ffab73b9e41ad1d07f8383e6a7aa (patch) | |
tree | abb48dac71acc445933ed351adb1e0a41da6d72e /ChangeLog | |
parent | 49256d6d022226bc0a5c92e44ef0757ab025a3bc (diff) | |
download | txr-cceee8693a03ffab73b9e41ad1d07f8383e6a7aa.tar.gz txr-cceee8693a03ffab73b9e41ad1d07f8383e6a7aa.tar.bz2 txr-cceee8693a03ffab73b9e41ad1d07f8383e6a7aa.zip |
Improve the regex Lisp syntax by allowing strings to specify
character compounds. I.e. the syntax "foo" is equivalent to the
cumbersome canonical form (compound #\f #\o #\o).
* regex.c (nfa_compile_regex, dv_compile_regex): Use chrp function
instead of typeof. Handle stringp case by forming a compound out of the
characters and recursing. Check for some bad objects in the regex
that would never come out of our regex parser but could occur
in a "hand crafted" syntax tree.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +2012-04-12 Kaz Kylheku <kaz@kylheku.com> + + Improve the regex Lisp syntax by allowing strings to specify + character compounds. I.e. the syntax "foo" is equivalent to the + cumbersome canonical form (compound #\f #\o #\o). + + * regex.c (nfa_compile_regex, dv_compile_regex): Use chrp function + instead of typeof. Handle stringp case by forming a compound out of the + characters and recursing. Check for some bad objects in the regex + that would never come out of our regex parser but could occur + in a "hand crafted" syntax tree. + 2012-04-11 Kaz Kylheku <kaz@kylheku.com> * txr.1: Fix misleading comment example. |