You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Started a small project last week with the intention to revisit Forth-land and token threading. This time around I wanted to build an interpreter/virtual machine that 1) used printable characters as token (abbreviated forth words), 2) code could be written directly without an outer interpreter (i.e. token compiler), 3) small enough to be added to Arduino sketches for scripting configuration and/or parts of the application.
The result is a strange marriage between some of the concepts from PostScript with the traditional Forth stack machine.
Completed the first round of this "natural" token thread interpreter. The latest update includes a unified address space for SRAM, EEPROM and PROGMEM (flash) so that scripts can be run from all address spaces. Script definitions are automatically saved to EEPROM. Together with an op-code to synchronize variables with EEPROM this allow persistent defined scripts and restart.
Completed the first round of this "natural" token thread interpreter. The
latest update includes a unified address space for SRAM, EEPROM and PROGMEM
(flash) so that scripts can be run from all address spaces. Script
definitions are automatically saved to EEPROM. Together with an op-code to
synchronize variables with EEPROM this allow persistent defined scripts and
restart.
—
Reply to this email directly or view it on GitHub #26 (comment).
Started a small project last week with the intention to revisit Forth-land and token threading. This time around I wanted to build an interpreter/virtual machine that 1) used printable characters as token (abbreviated forth words), 2) code could be written directly without an outer interpreter (i.e. token compiler), 3) small enough to be added to Arduino sketches for scripting configuration and/or parts of the application.
The result is a strange marriage between some of the concepts from PostScript with the traditional Forth stack machine.
For more details please see the repository.
The text was updated successfully, but these errors were encountered: