peg.private vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Parents:peg


Words

Tuple classes
ClassSuperclassSlots
action-parser tupleparser quot
box-parser tuplequot
choice-parser tupleparsers
delay-parser tuplequot
ensure-not-parser tupleparser
ensure-parser tupleparser
left-recursion tupleseed rule-id head next
memo-entry tupleans pos
optional-parser tupleparser
peg-head tuplerule-id involved-set eval-set
range-parser tuplemin max
repeat0-parser tupleparser
repeat1-parser tupleparser
satisfy-parser tuplequot
semantic-parser tupleparser quot
seq-parser tupleparsers
sp-parser tupleparser
token-parser tuplesymbol


Symbol words
delayed
error-stack
input
lrstack
pos


Ordinary words
WordStack 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 )


Class predicate words
WordStack 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 -- ? )


Files