Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ekoeppen/janus
Janus is a generic Forth metacompiler
https://github.com/ekoeppen/janus
cortex-m cross-compiler forth meta meta-compiler msp430
Last synced: 8 days ago
JSON representation
Janus is a generic Forth metacompiler
- Host: GitHub
- URL: https://github.com/ekoeppen/janus
- Owner: ekoeppen
- License: mit
- Created: 2021-02-11T08:01:43.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-19T09:13:16.000Z (about 2 years ago)
- Last Synced: 2024-10-28T05:20:11.842Z (about 2 months ago)
- Topics: cortex-m, cross-compiler, forth, meta, meta-compiler, msp430
- Language: Forth
- Homepage:
- Size: 126 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Janus Forth Cross Compiler
This is a simple Forth cross compiler inspired by
[embed](https://github.com/howerj/embed) and
[J1](https://github.com/jamesbowman/j1).[CoreForth-0](https://github.com/ekoeppen/CoreForth-0) is one of the initial
Forths, with Cortex-M0/3 and MSP430 as the targets, and included as a Git
submodule.Janus uses [gforth](https://gforth.org) as the host compiler. The following
command line switches are defined:-f FILE: This file will be included as the target Forth
--stc: Passed on to the target Forth for subroutine threaded Forth
--dtc: Passed on to the target Forth for direct threaded Forth
--itc: Passed on to the target Forth for indirect threaded ForthDTC CoreForth-0 for the Nucleo-F072RB board is for example compiled with
gforth janus.ft -f CoreForth-0/boards/nucleo-f072rb --dtc
Janus' [documentation](docs/janus.ft.md) is created from the source code
via `make docs`.