An ARM port of X86 JonesForth by Richard W.M. Jones [email protected] at http://annexia.org/forth.
Jonesforth-ARM is a Forth interpreter developed for ARM.
The algorithm for our unsigned DIVMOD instruction is extracted from 'ARM Software Development Toolkit User Guide v2.50' published by ARM in 1997-1998
Compared to the original interpreter:
-
We did not keep the jonesforth.f section allowing to compile assembly from the Forth interpreter because it was X86 specific.
-
We pass all the original JonesForth's tests on ARM (except one which depends on the above X86 assembly compilation).
-
We added a native signed DIVMOD instruction (S/MOD)
Another project porting Jonesforth on ARM is ongoing at https://github.com/phf/forth
If you are building on the ARM target, just type,
$ make
to build the forth interpreter.
After building, we recommend that you run the test-suite by executing,
$ make test
To launch the forth interpreter, type
$ cat jonesforth.f - | ./jonesforth
ABECASSIS Felix, BISPO VIEIRA Ricardo, BLANC Benjamin, BORDESSOULES Arthur, BOUDJEMAI Yassine, BRICAGE Marie, ETSCHMANN Marc, GAYE Ndeye Aram, GONCALVES Thomas, GOUGEAUD Sebastien, HAINE Christopher, OLIVEIRA Pablo, PLAZA ONATE Florian, POPOV Mihail