Stasis is a highly experimental virtual machine project, inspired by CIL and Forth languages.
It was designed embeddable and easily extensible, though not really meant for scripting atm.
❗ There are no documentation provided yet, so some reverse-engineering skills is crucial ❗
- 2bytecode-based extensible instruction set with most x86 operations (including FPU) covered.
- Lightweight (~100Kb) interpeter with basic string and OS microlibraries included.
- Forth-esque assembly language compiler with some ideas burrowed from Rebol.
- Common structured programming toolset (loops, if/else/then, switch) provided.
- Minimalistic snapshot binary format with import/export tables support.
- Extensive binary data embedding (including external files) directives.
- Direct memory management and IO access.
- Basic compile-time calculations support.
- Forward subroutine referencing support.
- Classical case-insensetive syntax.
- Extensive namespace support.
Stasis was developed as OS-independent PureBasic v4.40 project, though compatible with 5.7x (LTS).
Compile StasisVM.pb
or StasisForth.pb
to assemble snapshot intepreter and compiler respectively.