Noah Lavine
|
fe50d7ee1a
|
peg: compilers return syntax instead of s-expressions
* module/ice-9/peg.scm (peg-sexp-compile, peg-string-compile): Return
syntax instead of s-expressions.
|
2013-01-16 10:11:29 +01:00 |
|
Noah Lavine
|
ccab173a5b
|
peg: beginnings of hygiene
* module/ice-9/peg.scm: Pass for-syntax argument to all of the
code-generating functions.
|
2013-01-16 10:11:29 +01:00 |
|
Noah Lavine
|
c9a6f4befa
|
peg: more syntax-for-non-cache-case cleanups
* module/ice-9/peg.scm (syntax-for-non-cache-case): More cleanups.
|
2013-01-16 10:11:28 +01:00 |
|
Noah Lavine
|
8b38945119
|
peg: clean up syntax-for-non-cache-case
* module/ice-9/peg.scm (syntax-for-non-cache-case): Cleanups.
|
2013-01-16 10:11:28 +01:00 |
|
Noah Lavine
|
bce6e5d3f2
|
peg: use quasisyntax instead of safe-bind
* module/ice-9/peg.scm (syntax-for-non-cache-case): Use quasisyntax
instead of safe-bind.
|
2013-01-16 10:11:27 +01:00 |
|
Noah Lavine
|
c011c0b6ef
|
peg: define-nonterm returns syntax instead of s-expression
* module/ice-9/peg.scm (define-nonterm, syntax-for-non-cache-case):
Returns syntax instead of an s-expression.
|
2013-01-16 10:11:27 +01:00 |
|
Noah Lavine
|
f4576d8161
|
peg: split define-nonterm into two functions for better readability.
* module/ice-9/peg.scm (define-nonterm): Split for readability.
|
2013-01-16 10:11:27 +01:00 |
|
Andy Wingo
|
add20d35be
|
peg: add copyright header
* module/ice-9/peg.scm: Add copyright header.
|
2013-01-16 10:11:26 +01:00 |
|
Andy Wingo
|
eee0877c3e
|
add PEG parser generator
* module/ice-9/peg.scm: New file.
* module/Makefile.am: Add to build.
* doc/ref/Makefile.am:
* doc/ref/api-peg.texi:
* doc/ref/guile.texi: Add documentation for PEG parser.
* test-suite/Makefile.am:
* test-suite/tests/peg.bench:
* test-suite/tests/peg.test: Add tests, and a benchmark.
|
2013-01-16 10:11:15 +01:00 |
|