https://github.com/tetsuo-cpp/onward
A C++ implementation of the Forth programming language
https://github.com/tetsuo-cpp/onward
Last synced: 4 months 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 (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-26T01:49:19.000Z (over 3 years ago)
- Last Synced: 2025-02-05T17:18:09.745Z (5 months 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]
```