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 CONSTANT x n -- Creates cell x that when called pushes its value
DELW a -- Delete wordref at a. If it shadows another DELW a -- Delete wordref at a. If it shadows another
definition, that definition is unshadowed. 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. IMMED? a -- f Checks whether wordref at a is immediate.
IMMEDIATE -- Flag the latest defined word as immediate. IMMEDIATE -- Flag the latest defined word as immediate.
LITA n -- Write address n as a literal. 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 This stage is tricky due to the fact that references in
Forth are all absolute, except for prev word refs. This Forth are all absolute, except for prev word refs. This
means that there are severe limitations to the kind of code means that there are severe limitations to the kind of code
you can put here. you can put here. Those limitations are the same as those
described in icore.fs.
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.
Oh, also: KEY and EMIT are not defined here. There're Oh, also: KEY and EMIT are not defined here. There're
expected to be defined in platform-specific code. expected to be defined in platform-specific code.