Compilation units internals
Factor handbook » The implementation » Definitions » Compilation units

Prev:with-nested-compilation-unit ( quot -- )


These words do not need to be called directly, and only serve to support the implementation.

Compiling a set of words:
compile ( words -- )


Words called to associate a definition with a compilation unit and a source file location:
remember-definition ( definition loc -- )

remember-class ( class loc -- )


Forward reference checking (see Definition sanity checking):
forward-reference? ( word -- ? )


A hook to be called at the end of the compilation unit. If the optimizing compiler is loaded, this compiles new words with the Optimizing compiler:
recompile ( words -- alist )


Low-level compiler interface exported by the Factor VM:
modify-code-heap ( alist update-existing? reset-pics? -- )


Variables maintaining state within a compilation unit.
changed-definitions

maybe-changed

outdated-generics

outdated-tuples