| |
|
| Create environment-wordlist wordlist drop |
Create environment-wordlist wordlist drop |
| |
|
| : environment? ( c-addr u -- false / ... true ) |
: environment? ( c-addr u -- false / ... true ) \ core environment-query |
| environment-wordlist search-wordlist if |
environment-wordlist search-wordlist if |
| execute true |
execute true |
| else |
else |
| |
|
| 0 1 2constant gforth \ minor major version |
0 1 2constant gforth \ minor major version |
| |
|
| \ !! RETURN-STACK-CELLS |
: return-stack-cells ( -- n ) |
| \ !! STACK-CELLS |
[ forthstart 6 cells + ] literal @ cell / ; |
| \ !! floating-stack |
|
| |
: stack-cells ( -- n ) |
| |
[ forthstart 4 cells + ] literal @ cell / ; |
| |
|
| |
: floating-stack ( -- n ) |
| |
[ forthstart 5 cells + ] literal @ float / ; |
| |
|
| \ !! max-float |
\ !! max-float |
| 15 constant #locals \ 1000 64 / |
15 constant #locals \ 1000 64 / |
| \ One local can take up to 64 bytes, the size of locals-buffer is 1000 |
\ One local can take up to 64 bytes, the size of locals-buffer is 1000 |