Skip to content
This repository has been archived by the owner. It is now read-only.
Level9 interpreter to javascript (with emscripten)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
snowball.html
snowball.js

README.md

em-snowball

Level9 interpreter to javascript (with emscripten)

Test to port Level 9 interpreter to javascript (through Emscripten)

Done

  • Simple transpiled the C code to javascript with emcc
  • Modified C to load SNOWBALL.DAT as default (embeded .DAT, .HRC and .CGA)

Notes

  • «Works» only on Firefox (tested on FF50.1.0)
  • Type command and enter, then cancel, to make it work (main loop related?)
  • On Chromium/e it doesn't show the text. Input shoud work.
  • On web-app text uotput is shown in console
  • If cancel is pressed twice it enters into an infinite loop "What now? / Nothing happens"

To Do

  • Modify main loop
  • Create a proper UI
  • Check if graphics works / are implemented
  • Check if save / restore works
You can’t perform that action at this time.