33 ms·
This is a nice Forth-style bytecode interpreter, that is easy to generate code for. Close to WASM, but much simpler. The thing that attracts me most is that th
by childintime 5y ago
This is a nice Forth-style bytecode interpreter, that is easy to generate code for. Close to WASM, but much simpler.
The thing that attracts me most is that the bytecode format can be easily translated to a more compact format, allowing it serve as an intermediate format for _many_ homegrown instruction sets.
So a GCC or LLVM backend needs to be on the roadmap. Code generation is a blast. Only the number of registers should be user-configurable to make this useful.