Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ekoeppen/nemesis
A Forth compiler written in OCaml
https://github.com/ekoeppen/nemesis
cortex-m0 forth msp430 ocaml
Last synced: 26 days ago
JSON representation
A Forth compiler written in OCaml
- Host: GitHub
- URL: https://github.com/ekoeppen/nemesis
- Owner: ekoeppen
- Created: 2019-09-11T18:06:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-30T14:04:08.000Z (about 2 years ago)
- Last Synced: 2024-10-28T05:20:10.436Z (2 months ago)
- Topics: cortex-m0, forth, msp430, ocaml
- Language: Forth
- Homepage:
- Size: 50.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nemesis
Nemesis is a simplistic Forth single pass compiler written in OCaml using Menhir.
As a compiler, it does not process immediate words, these are handled explicitly in OCaml
code. This requires a slightly more complex grammar to prevent executing immediate words
when they are defined.## Forths
Nemesis comes with an STC Forth for Cortex M0 chips, and a DTC Forth for MSP430 chips.
## Usage
See `nemesis --help` on how to use the compiler. The compiler produces a raw binary file
which can be flashed using e.g `stm32flash` for STM32 chips.