Source files
Factor handbook ยป The implementation

Next:Optimizing compiler

Words in the source-files vocabulary are used to keep track of loaded source files. This is used to implement Runtime code reloading.

The source file database:

The class of source files:

Words intended for the parser:
record-checksum ( lines source-file -- )

record-definitions ( source-file -- )

Removing a source file from the database:
forget-source ( path -- )

Updating the database:
reset-checksums ( -- )

The pathname class implements the definition protocol by working with the corresponding source file; see Definitions.