2024-11-03 13:27:31 -08:00
2023-05-26 12:14:31 -07:00
2024-11-03 13:27:31 -08:00
2024-04-20 15:59:20 -07:00
2024-05-05 09:42:41 -07:00
2024-03-03 00:49:24 -08:00
2024-04-20 02:10:42 -07:00
2024-08-23 15:15:41 -07:00
2024-05-09 18:57:02 -07:00
2024-01-01 16:34:02 -08:00
2023-12-08 19:28:49 -08:00
2024-10-26 12:15:00 -07:00
2024-04-20 02:10:42 -07:00
2021-06-28 22:23:21 -07:00

µEforth / ESP32forth

This EForth inspired implementation of Forth is bootstraped from a minimalist C kernel.

Building from Source

To build from source:

sudo apt install ninja-build gcc-arm-none-eabi
git clone https://github.com/flagxor/ueforth
cd ueforth
./configure.py
ninja

The resulting output will have this structure:

  • out/deploy - A copy of the eforth.appspot.com / esp32forth.appspot.com ready to deploy.
  • out/esp32 - A source build for ESP32.
  • out/esp32-sim - A POSIX build approximating ESP32 for testing.
  • out/pico-ice - A build for pico-ice.
  • out/pico-ice-sim - A POSIX build approximating pico-ice for testing.
  • out/gen - Intermediate / generated files.
  • out/posix - A build for Linux / POSIX.
  • out/resources - Intermediate / generated resources.
  • out/web - A build for Web.
  • out/windows - A build for Windows.

Individual platforms can be built as follows:

ninja posix
ninja esp32
ninja pico-ice
ninja win32
ninja win64
ninja web

A build that excludes the slower components can be configured with:

./configure.py -f

To install to /usr/bin on Linux / POSIX do:

ninja install

ESP32 boards can be compiled and flashed with:

ninja esp32-flash
ninja esp32s2-flash
ninja esp32s3-flash
ninja esp32c3-flash
ninja esp32cam-flash

Set PORT=com3 etc. to select board.

Description
A fork of https://github.com/flagxor/ueforth - an implementation of the forth programming language for ESP32 microprocessors.
Readme 2.1 MiB
Languages
Forth 53.1%
C 17.8%
HTML 13.2%
Python 4.7%
JavaScript 4.2%
Other 7%