Source files
Factor handbook > The implementation

Prev:Vocabularies
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:
source-files


The class of source files:
source-file


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.