Handbook
Glossary
backend ( tree word -- )
Vocabulary
compiler
Inputs
tree
a
sequence
of SSA nodes
word
a
word
Outputs
None
Word description
The second last step of the compilation process. A word and its SSA tree is taken as input and a
cfg
is built from which assembly code is generated.
See also
generate
Definition
USING:
accessors
assocs
compiler.cfg
compiler.cfg.builder
compiler.cfg.finalization
compiler.cfg.optimizer
compiler.codegen
kernel
namespaces
sequences
;
IN:
compiler
:
backend
( tree word -- )
build-cfg
[
[
[
optimize-cfg
]
[
finalize-cfg
]
[
[
generate
]
[
label>>
]
bi
compiled
get
set-at
]
tri
]
with-cfg
]
each
;