Parents: | peg |
Class | Superclass | Slots |
action-parser | tuple | parser quot |
box-parser | tuple | quot |
choice-parser | tuple | parsers |
delay-parser | tuple | quot |
ensure-not-parser | tuple | parser |
ensure-parser | tuple | parser |
left-recursion | tuple | seed rule-id head next |
memo-entry | tuple | ans pos |
optional-parser | tuple | parser |
peg-head | tuple | rule-id involved-set eval-set |
range-parser | tuple | min max |
repeat0-parser | tuple | parser |
repeat1-parser | tuple | parser |
satisfy-parser | tuple | quot |
semantic-parser | tuple | parser quot |
seq-parser | tuple | parsers |
sp-parser | tuple | parser |
token-parser | tuple | symbol |
delayed |
error-stack |
input |
lrstack |
pos |
Word | Stack effect |
(grow-lr) | ( h p r: ( -- result ) m -- ) |
(merge-errors) | ( a b -- c ) |
(setup-lr) | ( l s -- ) |
add-error | ( position got message -- ) |
apply-memo-rule | ( r m -- ast ) |
apply-non-memo-rule | ( r p -- ast ) |
apply-rule | ( r p -- ast ) |
calc-seq-result | ( prev-result current-result -- next-result ) |
check-action | ( result quot -- result ) |
check-ensure | ( old-input result -- result ) |
check-ensure-not | ( old-input result -- result ) |
check-optional | ( result -- result ) |
check-semantic | ( result quot -- result ) |
compile-parser | ( parser -- word ) |
compile-parser-word | ( parser -- word ) |
define-parser-word | ( word parser -- ) |
eval-rule | ( rule -- ast ) |
execute-parser | ( word -- result ) |
execute-parser-quot | ( parser -- quot ) |
execute-parsers-quots | ( parsers -- quots ) |
fixup-delayed | ( -- ) |
grow-lr | ( h p r m -- ast ) |
heads | ( -- cache ) |
input-from | ( input -- n ) |
input-slice | ( -- slice ) |
lr-answer | ( r p m -- ast ) |
memo | ( pos id -- memo-entry ) |
merge-errors | ( -- ) |
merge-overlapping-errors | ( a b -- c ) |
next-id | ( -- n ) |
packrat | ( id -- cache ) |
parse-range | ( input min max -- result/f ) |
parse-satisfy | ( input quot -- result/f ) |
parse-seq-element | ( result quot -- result ) |
parse-token | ( input string -- result ) |
peg-cache | ( -- cache ) |
perform-parse | ( input word -- result ) |
preset-parser-word | ( parser -- word parser ) |
process-parser-result | ( result -- result ) |
process-rule-result | ( p result -- result ) |
recall | ( r p -- memo-entry ) |
repeat-loop | ( quot: ( -- result/f ) result -- result ) |
repeat1-empty-check | ( result -- result ) |
reset-pegs | ( -- ) |
rule-id | ( word -- id ) |
set-memo | ( memo-entry pos id -- ) |
setup-growth | ( h p -- ) |
setup-lr | ( r l -- ) |
stop-growth? | ( ast m -- ? ) |
update-m | ( ast m -- ) |
with-packrat | ( input quot -- result ) |
wrap-peg | ( peg -- parser ) |
Word | Stack effect |
action-parser? | ( object -- ? ) |
box-parser? | ( object -- ? ) |
choice-parser? | ( object -- ? ) |
delay-parser? | ( object -- ? ) |
ensure-not-parser? | ( object -- ? ) |
ensure-parser? | ( object -- ? ) |
left-recursion? | ( object -- ? ) |
memo-entry? | ( object -- ? ) |
optional-parser? | ( object -- ? ) |
peg-head? | ( object -- ? ) |
range-parser? | ( object -- ? ) |
repeat0-parser? | ( object -- ? ) |
repeat1-parser? | ( object -- ? ) |
satisfy-parser? | ( object -- ? ) |
semantic-parser? | ( object -- ? ) |
seq-parser? | ( object -- ? ) |
sp-parser? | ( object -- ? ) |
token-parser? | ( object -- ? ) |