Handbook
Glossary
frontend ( word -- tree )
Vocabulary
compiler
Inputs
word
a
word
Outputs
tree
a
sequence
Word description
First step of the compilation process. It outputs a high-level tree in SSA form.
Definition
USING:
compiler.tree.builder
compiler.tree.optimizer
continuations
kernel
;
IN:
compiler
:
frontend
( word -- tree )
dup
optimize?
[
[
[
build-tree
]
[
deoptimize
]
recover
optimize-tree
]
keep
contains-breakpoints?
[
nip
deoptimize*
]
[
drop
]
if
]
[
deoptimize*
]
if
;