Handbook
Glossary
compile ( parser -- word )
Vocabulary
peg
Inputs
parser
a
parser
Outputs
word
a
word
Word description
Compile the parser to a word. The word will have stack effect ( -- ast ).
See also
parse
Definition
USING:
compiler.units
kernel
namespaces
;
IN:
peg
:
compile
( parser -- word )
[
H{
}
clone
delayed
[
compile-parser
fixup-delayed
]
with-variable
]
with-compilation-unit
;