1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 06:20:23 +02:00

Make PEG Files

* module/ice-9/peg/using-parsers.scm: remove unnecessary dependency
* module/ice-9/peg.scm: add comment about string-peg dependency
* module/Makefile.scm: add PEG files to makefile
This commit is contained in:
Noah Lavine 2011-04-15 17:04:02 -04:00 committed by Andy Wingo
parent 0977b03ef1
commit 89c3c9ecf0
3 changed files with 8 additions and 1 deletions

View file

@ -218,6 +218,11 @@ ICE_9_SOURCES = \
ice-9/null.scm \
ice-9/occam-channel.scm \
ice-9/optargs.scm \
ice-9/peg/simplify-tree.scm \
ice-9/peg/codegen.scm \
ice-9/peg/cache.scm \
ice-9/peg/using-parsers.scm \
ice-9/peg/string-peg.scm \
ice-9/peg.scm \
ice-9/poe.scm \
ice-9/poll.scm \

View file

@ -20,6 +20,9 @@
(define-module (ice-9 peg)
#:use-module (ice-9 peg codegen)
#:use-module (ice-9 peg string-peg)
;; Note: the most important effect of using string-peg is not whatever
;; functions it exports, but the fact that it adds a new handler to
;; peg-sexp-compile.
#:use-module (ice-9 peg simplify-tree)
#:use-module (ice-9 peg using-parsers)
#:use-module (ice-9 peg cache)

View file

@ -21,7 +21,6 @@
#:use-module (ice-9 peg simplify-tree)
#:use-module (ice-9 peg codegen)
#:use-module (ice-9 peg cache)
#:use-module (ice-9 peg string-peg)
#:export (peg-parse define-nonterm peg-match
prec make-prec peg:start peg:end peg:string
peg:tree peg:substring peg-record?))