Skip to content

Improved vocabulary configuration, bugfix HERE in NVM mode, reduced code size

Compare
Choose a tag to compare
@TG9541 TG9541 released this 09 Sep 12:52
· 690 commits to master since this release

BINARY REMOVED DUE TO ISSUE #69

Please use binary v2.2.16 instead!

Improved vocabulary configuration

Thanks to the header macros HEADER and HEADFLG vocabulary linking can now be configured word-by-word. This was used for implementing general unlinking ( @RigTig 's use case), and for removing the conditional assembly for vocabulary options like WORDS_LINKINTER. Refer to issues #53, #52 and #27.

Bugfix HERE

The CP address returned by HERE depended in memory mode NVM returned a pointer to the CP in RAM when it was used in the interpreter mode. This made writing words that use , or C, impossible (e.g. the tree traversal example). Please refer to the details in technical background of Compile to Flash.

Reduced code size:

  • several words were recoded, including ^h (also see #50, thanks to @larsbrinkhoff)
  • some words like EXIT and NUF were removed
  • improved vocabulary selection
  • FILE and HAND are now removed by default (please e4thcom)

The code size for MINDEV is now 4783 bytes, about 200 bytes less than before.