A stack based, virtual machine language written in Rust
Stackyy is a stack based, virtual machine language inspired by Forth and Porth.
- Download the repo
- Run
cargo run -- --help
for a list of all commands
To use the standard optimizations run cargo build --release
.
If the binary size is unsatifying run cargo build --profile=release-opt
- Parsing completed
- Basic language features
- Type checking
- Control flow (e.g. if while etc.) (Implemented via conditional functions])
- Functions
- Reflection (creating function handles from scratch)
- Included libraries (e.g. processes, io etc.)
- Speed up parsing
- Compiling to byte code and running
- Compile to ELF
- Self-hosted
To create your own Stackyy program you need:
- A working Stackyy binary (see Building for release)
- A path to put your projects into
- To run
./stacky new --name [your project name] --path [your project path]
For example programs look in the examples directory