This is a simple Forth cross compiler inspired by embed and J1.
CoreForth-0 is one of the initial Forths, with Cortex-M0/3, AVR, p3216 and MSP430 as the targets.
Janus uses gforth as the host compiler. The following command line switches are defined:
-f FILE: This file will be included as the target Forth --stc: Passed on to the target Forth for subroutine threaded Forth --dtc: Passed on to the target Forth for direct threaded Forth --itc: Passed on to the target Forth for indirect threaded Forth
DTC CoreForth-0 for the Nucleo-F072RB board is for example compiled with
gforth janus.ft -f CoreForth-0/boards/nucleo-f072rb --dtc