ballercat / walt

:zap: Walt is a JavaScript-like syntax for WebAssembly text format :zap:
https://ballercat.github.io/walt/
MIT License
4.64k stars 122 forks source link

fix memory & table exports #131

Closed ballercat closed 6 years ago

ballercat commented 6 years ago

Resolves #130

Also fixes Table exports.

poeticAndroid commented 6 years ago

I just upgraded walt-compiler to 0.8.1.. I still can't seem to get it to work.. same error.. Even if I reduce the code to just the memory declaration, it doesn't work..

https://github.com/FantasyInternet/examples/blob/master/walt/boot.walt

ballercat commented 6 years ago

Oh! So sorry about that, I did not re-build the dist for npm before publishing. I really need to fix that publish script to pre-build the dist version of the library.

Sorry for the inconvenience, probably should have finished my morning coffee before publishing 😅

Should be all set now, I was able to reproduce from the repo you linked and that was resolved (not sure how to instantiate it properly but the negative global index is resolved).

poeticAndroid commented 6 years ago

yay! it works now! :D