Handbook
Glossary
normalize ( nodes -- nodes' )
Vocabulary
compiler
.
tree
.
normalization
Inputs
nodes
an
object
Outputs
nodes'
an
object
Definition
USING:
compiler.tree
compiler.tree.normalization.introductions
compiler.tree.normalization.renaming
kernel
namespaces
sequences
stack-checker.backend
;
IN:
compiler.tree.normalization
:
normalize
( nodes -- nodes' )
[
dup
count-introductions
make-values
H{
}
clone
rename-map
set
[
(normalize)
]
[
nip
]
2bi
[
<#introduce>
prefix
]
unless-empty
rename-node-values
]
with-scope
;