mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-13 15:10:34 +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:
parent
0977b03ef1
commit
89c3c9ecf0
3 changed files with 8 additions and 1 deletions
|
@ -218,6 +218,11 @@ ICE_9_SOURCES = \
|
||||||
ice-9/null.scm \
|
ice-9/null.scm \
|
||||||
ice-9/occam-channel.scm \
|
ice-9/occam-channel.scm \
|
||||||
ice-9/optargs.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/peg.scm \
|
||||||
ice-9/poe.scm \
|
ice-9/poe.scm \
|
||||||
ice-9/poll.scm \
|
ice-9/poll.scm \
|
||||||
|
|
|
@ -20,6 +20,9 @@
|
||||||
(define-module (ice-9 peg)
|
(define-module (ice-9 peg)
|
||||||
#:use-module (ice-9 peg codegen)
|
#:use-module (ice-9 peg codegen)
|
||||||
#:use-module (ice-9 peg string-peg)
|
#: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 simplify-tree)
|
||||||
#:use-module (ice-9 peg using-parsers)
|
#:use-module (ice-9 peg using-parsers)
|
||||||
#:use-module (ice-9 peg cache)
|
#:use-module (ice-9 peg cache)
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
#:use-module (ice-9 peg simplify-tree)
|
#:use-module (ice-9 peg simplify-tree)
|
||||||
#:use-module (ice-9 peg codegen)
|
#:use-module (ice-9 peg codegen)
|
||||||
#:use-module (ice-9 peg cache)
|
#:use-module (ice-9 peg cache)
|
||||||
#:use-module (ice-9 peg string-peg)
|
|
||||||
#:export (peg-parse define-nonterm peg-match
|
#:export (peg-parse define-nonterm peg-match
|
||||||
prec make-prec peg:start peg:end peg:string
|
prec make-prec peg:start peg:end peg:string
|
||||||
peg:tree peg:substring peg-record?))
|
peg:tree peg:substring peg-record?))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue