1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-24 14:28:06 +11:00

doc improvement

This commit is contained in:
Virgil Dupras 2020-04-11 13:16:04 -04:00
parent af3db1c3cf
commit 0c6cabfd33
2 changed files with 3 additions and 11 deletions

View File

@ -40,7 +40,7 @@ COMPILE x -- Meta compiles. Kind of blows the mind. See below.
CONSTANT x n -- Creates cell x that when called pushes its value
DELW a -- Delete wordref at a. If it shadows another
definition, that definition is unshadowed.
DOES> -- See description at top of file
DOES> -- See description in usage.txt
IMMED? a -- f Checks whether wordref at a is immediate.
IMMEDIATE -- Flag the latest defined word as immediate.
LITA n -- Write address n as a literal.

View File

@ -5,16 +5,8 @@
This stage is tricky due to the fact that references in
Forth are all absolute, except for prev word refs. This
means that there are severe limitations to the kind of code
you can put here.
You shouldn't define any word with reference to other words.
This means no regular definition. You can, however, execute
any word from our high level Forth, as long as it doesn't
spit word references.
These restrictions are temporary, I'll figure something out
so that we can end up fully bootstrap Forth from within
itself.
you can put here. Those limitations are the same as those
described in icore.fs.
Oh, also: KEY and EMIT are not defined here. There're
expected to be defined in platform-specific code.