My branch runs all the examples now, though test.pystone "fails" reporting really weird results. Will have to further investigate.
In the progress of porting, I found a few bugs in the main branch (which don't error because it's run in non-strict mode, so pretty much anything goes). One example is that STORE_SUBSCR uses the wrong order of stack items [1][2][3]. In non strict mode, `7[[1,2,3]] = 4` is "valid" in Javascript, since the es6 code I write runs in strict mode, that errors (as it should!).
I'm trying to find a good way to test this whole thing to find more subtle bugs like that.
If anyone wants to hack on this, here's how to get it set up:
1. check out my branch (see previous msg)
2. run `npm install`
3. run `gulp build`
4. You now have a file batavia/batavia.js. To use it in a browser, you have to load batavia/lib/polyfill.js (or polyfill.min.js) first.
You should usually not edit the files batavia/batavia.js, batavia/batavia.map or batavia/batavia.min.js, those are generated files. Instead hack the stuff in batavia/src/* and run `gulp build`. You can use `gulp watch` to build on file changes. `gulp jshint` can be used to run static analysis (which reports some issues right now because of unimplemented stuff).
Jonas