duskos

dusk os fork
git clone git://git.alexwennerberg.com/duskos
Log | Files | Refs | README | LICENSE

commit ddd1c942532bb6bb73e4da7433853a3d98d606c7
parent c020600131c8400cac2bb523cde2025817111586
Author: binarycat <binarycat@envs.net>
Date:   Fri,  1 Jul 2022 13:03:24 -0400

add documentation for loading files

Diffstat:
Afs/doc/loading.txt | 20++++++++++++++++++++
1 file changed, 20 insertions(+), 0 deletions(-)

diff --git a/fs/doc/loading.txt b/fs/doc/loading.txt @@ -0,0 +1,20 @@ +# loading files +most of these words are defined in lib/file.fs and boot.fs + +## parsing words +these words all parse a filename from the input stream. + +* unconditionally load file: f<< +* load file if not already loaded: ?f<< +* throw error if file is not loaded: require + +## string words +these all accept a filename as a string + +* unconditionally load file: fload +* test if a file is loaded: floaded? + +## other + +* print a list of all loaded files: .floaded +