A compact Forth interpreter and compiler. #Forth interpreter #Forth compiler #AVR ATmega microcontroller #Amforth #Forth #Interpreter
amforth is an open source and compact Forth compiler and interpreter implemented in assembly language and Forth itself.
Flash structure:
+------------------ 0000 --------------+ | Interrupt vectors | | | +------------------ 0026 --------------+ | initialization code | | interrupt routines | | "colon" dictionary | | | |LATEST: | |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| +------------- nrww section -----------+ | inner interpreter (docol, next) | | "primitive" dictionary | | Link to "colon" dictionary | +----------- flashend -----------------+
RAM:
+--------------- 0000 -----------------+ | 0-31: register set | |31-59: io space | +--------------------------------------+ |60-84: usart buffer | |84.. : TIB, PAD, HLD buffers | | HEAP: start of variable space | | | | ^ | | | | | data stack, growing downward | +---------- ramsize - $80 -------------| | ^ | | | | | return stack, growing downward | +---------- ram size ------------------+
What's new in amforth 5.9:
- lib: for and next. The i and j can be used as well.
- core(AVR8): clear all RAM at cold.
- core(MSP430): DEFER and VALUE were missing in release 5.8. pause and turnkey using them (RAM based, save-able to info flash).
- core(All): ' uses the recognizer stack.
amforth 5.9
add to watchlist add to download basket send us an update REPORT- runs on:
- Linux
- main category:
- Utilities
- developer:
- visit homepage