aw / fiveforths

32-bit RISC-V Forth for microcontrollers
https://fiveforths.a1w.ca
MIT License
66 stars 3 forks source link
forth gd32vf103 gnu-assembly longan-nano microcontrollers risc-v

FiveForths: 32-bit RISC-V Forth for microcontrollers

GitHub Workflow Status GitHub release justforfunnoreally.dev badge

FiveForths is a tiny Forth written in hand-coded RISC-V assembly, initially designed to run on the 32-bit Longan Nano (GD32VF103) microcontroller.

fiveforths-terminal

FiveForths currently uses the indirect threading model and only has 19 built-in primitive words. It is 100% fully functional and can be extended by adding new primitives (in Assembly) or by defining new words (in Forth). This implementation is loosely inspired by sectorforth, jonesforth, and derzforth.

Development progress has been logged regularly in the devlogs.


  1. Quick start
  2. Documentation
  3. Todo
  4. Contributing
  5. Changelog
  6. License

Quick start

The quickest way to get started is to download and flash one of the firmware binaries listed below:.

See the TUTORIALS for detailed download and flashing information.

Documentation

TODO

Contributing

Please create a pull-request or open an issue on GitHub.

Changelog

0.5 (2023-05-29)

0.4 (2023-01-23)

0.3 (2023-01-19)

0.2 (2023-01-10)

0.1 2023-01-09 - First release

License

MIT License

Copyright (c) 2021~ Alexander Williams