Shi
Loading...
Searching...
No Matches
Implementation

Although Forth systems are usually rather simple to develop there are still topics which should be covered in some detail. This applies above all to things that are not enforced by the standard such as

  • The implementation of data-, control- and return-stack
  • Dictionary entry layouts and word flags
  • Relationship between code- and data space
  • Action on an ambiguous condition

and of course to non-standard additions such as

  • Compilation to flash by offering two different data-spaces (data/text == ram/flash)
  • Optimizations such as inlining and constant folding
Page Content
Stacks Handling of data-, control-flow- and return-stack
Variables Internally used variables
Dictionary Layout of words, core- and user dictionary
Extensions Extensions
Wordlist Wordlist
Ambiguous conditions Ambiguous conditions
Interpret loop Interpretation loop in detail
Control structures Control structures
TODO TODO list