mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 17:50:29 +02:00
PEG Renames
* doc/ref/api-peg.texi: rename 'peg-match' to 'search-for-pattern' * module/ice-9/peg.scm: same * module/ice-9/peg/using-parsers.scm: same * test-suite/tests/peg.test: same
This commit is contained in:
parent
ecaa261a20
commit
d7e2f5e3c2
4 changed files with 38 additions and 38 deletions
|
@ -28,7 +28,7 @@
|
|||
#:use-module (ice-9 peg cache)
|
||||
#:re-export (peg-parse
|
||||
define-nonterm
|
||||
peg-match
|
||||
search-for-pattern
|
||||
peg-sexp-compile
|
||||
define-grammar
|
||||
define-grammar-f
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#:use-module (ice-9 peg simplify-tree)
|
||||
#:use-module (ice-9 peg codegen)
|
||||
#:use-module (ice-9 peg cache)
|
||||
#:export (peg-parse define-nonterm peg-match
|
||||
#:export (peg-parse define-nonterm search-for-pattern
|
||||
prec make-prec peg:start peg:end peg:string
|
||||
peg:tree peg:substring peg-record?))
|
||||
|
||||
|
@ -70,7 +70,7 @@ execute the STMTs and try again."
|
|||
|
||||
;; Searches through STRING for something that parses to PEG-MATCHER. Think
|
||||
;; regexp search.
|
||||
(define-syntax peg-match
|
||||
(define-syntax search-for-pattern
|
||||
(lambda (x)
|
||||
(syntax-case x ()
|
||||
((_ pattern string-uncopied)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue