diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-03-25 22:10:31 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-03-25 22:10:31 -0700 |
commit | f4a6c56c8e8841c1991c1bb44546681ccbdb8f3a (patch) | |
tree | 943413daf7f15ed66562552b9cb43c8ada7053d0 /genvim.txr | |
parent | 4c6d387b73dca86caed48b1e786c5c1bc2c4716b (diff) | |
download | txr-f4a6c56c8e8841c1991c1bb44546681ccbdb8f3a.tar.gz txr-f4a6c56c8e8841c1991c1bb44546681ccbdb8f3a.tar.bz2 txr-f4a6c56c8e8841c1991c1bb44546681ccbdb8f3a.zip |
* eval.c (me_quasilist): New static function.
(eval_init): Register me_quasilist as quasilist macro expander.
* lib.c (quasilist_s): New global variable.
(obj_init): quasilist_s initialized.
* lib.h (quasilist_s): Declared.
* match.c (do_txreval): Handle quasilist syntax.
* parser.l (QWLIT): New exclusive state.
Extend lexical grammar to transition to QWLIT state upon
the #` or #*` sequence which kicks off a word literal,
and in that state, piecewise lexically analyze the QLL,
mostly by borrowing rules from quasiliterals.
* parser.y (QWORDS, QWSPLICE): New tokens.
(n_exprs): Integrate splicing form of QLL syntax.
(n_expr): Integrate non-splicing form of QLL syntax.
(litchars): Propagate line number info.
(quasilit): Fix "string literal" wording in error message.
* txr.1: Introduced WLL abbreviation for word list literals,
cleaned up the text a little, and documented QLL's.
Diffstat (limited to 'genvim.txr')
0 files changed, 0 insertions, 0 deletions