...
However we could squeeze for 16 bits, without logically affecting the model.
code field: one byte, an offset to a code area of 256 bytes.
data field: 16 bit pointer
name filed: 4 byte, 3 first and last char. Only 7 bits,
8th bit counts are flags
flag field: hidden in the name
link field: 256 bit offset, d.e. are at most 256 byte long.
The total of 8 bytes will put even the original fig model to shame.
However we could squeeze for 16 bits, without logically affecting the model.
...name filed: 4 byte, 3 first and last char. Only 7 bits,
8th bit counts are flags
Don't know who was first but Fig-forth's variable length names is something >that Forth Inc and pretty much everyone adopted. Moore attempted to defend >'3 chars plus count' but to no avail. That ship had sailed.
dxf <dxforth@gmail.com> writes:
...name filed: 4 byte, 3 first and last char. Only 7 bits,
8th bit counts are flags
Don't know who was first but Fig-forth's variable length names is something >>that Forth Inc and pretty much everyone adopted. Moore attempted to defend >>'3 chars plus count' but to no avail. That ship had sailed.
Looking at the traditional length+3 chars and
albert@spenarnc.xs4all.nl's 3 first and last, at least one pair of
words in Forth-94 conflicts on both systems, and WORDS could show them
as REA?????? and REA*E, respectively. It would be interesting to
determine (say, by checking the words from an existing Forth system),
which scheme produces more conflicts.
- anton
albert@spenarnc.xs4all.nl writes:
However we could squeeze for 16 bits, without logically affecting the model.
These days for such a constrained target, it's probably best to tether
from a bigger machine.
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,113 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 492334:15:29 |
| Calls: | 14,238 |
| Files: | 186,312 |
| D/L today: |
3,197 files (1,045M bytes) |
| Messages: | 2,514,806 |