Mecrisp is an implementation of a standalone native code Forth for MSP430 microcontroller chips. At the moment, it runs out of the box on MSP430F2274, MSP430G2553 and MSP430G2955, MSP430G2855, MSP430G2755 micros. You can choose to compile to flash or to ram, and it generates native code with folding, inlining of short words and it opcodes common instructions. Note that it doesn't need to save any pointers, so info flash keeps untouched. Hopefully it should be completely interrupt-save and you can hook your Forth definitions to interrupt vectors. Of course, you should not hook create to a timer interrupt, unless you want all your memory to be filled with random creatures :-) Altought it is in spirit of ANS, there are some differences: Be careful !
An assembler, disassembler and Ready-to-Fly hex files are included. It fits tightly into 9kb of Flash and runs with 512 Bytes of Ram. Communication is via serial 9600 baud 8N1 over portpins: MSP430F2274, MSP430G2955, MSP430G2855, MSP430G2755 (TX on P3.4, RX on P3.5) MSP430G2553 (TX on P1.2, RX on P1.1)
I am looking forward to find out how Mecrisp can serve you best. Examples are going to come, implementations for other chips of the MSP430 family shouldn't be too far away. Do you have a particular one in mind ? Do you have great code snipplets that show the abilities of Mecrisp well ? Write an E-Mail and you will be in touch !
You can get Mecrisp on its download page.
Mecrisp-Stellaris is the younger sister of Mecrisp and mastered the jump to the ARM Cortex M architecture. Currently, this is still experimental code, but it is going to reach stable soon for M3 and M4. If you feel adventurous, you can be among the first to get your hands on an implementation for ARM Cortex M0.
At the moment, it runs out of the box on TI Stellaris Launchpad with LM4F120H5QR, STM32F4 Discovery with STM32F407VGT6 and -the most recent addition- Freescale Freedom FRDM-KL25Z with KL25Z128VLK4.