Release 0.0.4
Things work more often, thanks to many bug fixes and a new Interpreter.
New Interpreter
Does not use LBBV (Lazy Basic Block Versioning).
Work will resume on a new JIT to go along with it soon.
Removed Old Options
Most options relating to TB are removed for the time being until a TB JIT is reimplemented.
Graphics API.
DOM style graphics with tables as the focus.
See test/app/gui.lua for examples of how to use it.
See test/app/snake.lua for a simple game using gui.lua.
New Web Port
The included minivm-web.zip is a complete MiniVM runtime with graphics included.
Unzip minivm-web.zip to a folder.
Host it with your favorite web serve.
Visit index.html in your browser.
In the URL you can set the app parameter ?app=snake, ?app=maze, ?app=dig (WIP), ?app=draw (WIP).
Using the builtin Python web server
- Unzip
minivm-web.ziptominivm-web. - Run
python3 -m http.server --directory minivm-webin a terminal from where minivm-web is
2.1. On Windows runpy -3 -m http.server --directory minivm-web - Open in the browser `localhost:8000/index.html?app=snake
- Try snake and the other
apps