- cross-posted to:
- programming@lemmy.ml
- cross-posted to:
- programming@lemmy.ml
cross-posted from: https://lemmy.ml/post/23785552
After nearly 2 years of work, I’m excited to release the first version of bjForth, featuring partial JONESFORTH compatibility and initial Java interop.
Grab it and start hacking: https://github.com/bahmanm/bjforth/releases/tag/v0.0.2
PS: bjForth is a Forth (indirect threaded) written entirely in Java and its execution model is influenced by that of JONESFORTH.
You start with a working Forth and then bootstrap, sort of like writing a C compiler in C. There is an additional trick that Forth calls metacompilation (note, that term has a different meaning outside of the Forth world). See: https://www.bradrodriguez.com/papers/moving4.htm
That’s definitely an interesting idea. Thanks for sharing.
Though it means that someone down the line must have written a bootstrap programme with C/Assembler to run the host forth.
In case of jbForth, I decided to write the bootstrap too.
Check this out, it is amazing: https://github.com/nineties/planckforth