forth-in-rust icon indicating copy to clipboard operation
forth-in-rust copied to clipboard

an implementation of forth in the rust programming language

Forth In Rust

An implementation of the forth programming language written in rust.

The opcodes are documented

The forth compiler I wrote in erlang from a previous project. All the compiled code is provided, you don't need erlang to test the vm.

You can compile the vm with cargo like this:

$ cargo build --release

There are a couple examples of compiled forth code with suffix ".bytes"

Try running one like this:

./target/release/vm examples/euler001.bytes