https://github.com/bnoordhuis/fth
a not-quite-Forth-to-LLVM-bitcode compiler
https://github.com/bnoordhuis/fth
forth llvm
Last synced: about 1 year ago
JSON representation
a not-quite-Forth-to-LLVM-bitcode compiler
- Host: GitHub
- URL: https://github.com/bnoordhuis/fth
- Owner: bnoordhuis
- License: isc
- Created: 2020-02-21T13:09:54.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-21T13:53:15.000Z (about 6 years ago)
- Last Synced: 2025-01-26T07:26:59.558Z (about 1 year ago)
- Topics: forth, llvm
- Language: Python
- Size: 5.86 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
fth
===
A not-quite-Forth-to-LLVM-bitcode compiler. It's mostly to experiment with how
how well LLVM optimizes stack-based languages. (Surprisingly good, it seems!)
Reasons it's not quite Forth:
* no return stack, i.e., no `>R` or `R>`
* very minimal runtime (okay, maybe that _is_ rather Forth-like :-))