Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tetsuo-cpp/onward
A C++ implementation of the Forth programming language
https://github.com/tetsuo-cpp/onward
Last synced: 3 days ago
JSON representation
A C++ implementation of the Forth programming language
- Host: GitHub
- URL: https://github.com/tetsuo-cpp/onward
- Owner: tetsuo-cpp
- License: mit
- Created: 2021-12-18T11:14:52.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-26T01:49:19.000Z (about 3 years ago)
- Last Synced: 2024-12-19T06:42:44.118Z (28 days ago)
- Language: C++
- Size: 7.81 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# onward
A C++ implementation of the Forth programming language
## Build
```sh
# Clone repository
git clone https://github.com/tetsuo-cpp/onward.git
cd onward/# Configure CMake
cmake -B build/ -S .# Build
cmake --build build/ -j# Run interpreter in interactive mode
./build/tools/onward# Run interpreter on FORTH script
./build/tools/onward [file]
```## Features
```forth
ONWARD> 1 2
ONWARD> +
ONWARD> .
3
ONWARD> : add-five 5 + ;
ONWARD> 10
ONWARD> add-five
ONWARD> .s
[15]
```