Initial commit: WAFER (WebAssembly Forth Engine in Rust)

Optimizing Forth 2012 compiler targeting WebAssembly with IR-based
compilation pipeline, multi-typed stack inference, subroutine threading,
and JIT/consolidation modes. Rust kernel with ~35 primitives and Forth
standard library for core/core-ext word sets.
This commit is contained in:
2026-03-29 22:14:53 +02:00
commit 7d9937d0d8
33 changed files with 5084 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.package]
version = "0.1.0"
edition = "2024"
license = "MIT OR Apache-2.0"
repository = "https://github.com/nickvonkaenel/wafer"
[workspace.dependencies]
wasm-encoder = "0.228"
wasmparser = "0.228"
wasmtime = "31"
wasmtime-wasi = "31"
anyhow = "1"
thiserror = "2"
proptest = "1"
insta = "1"