Closed Connoropolous closed 5 years ago
I'll look into those, thanks!!
@MaxGraey What is the reason for the fork of assemblyscript?
https://github.com/AssemblyScript/assemblyscript/compare/master...lrettig:ewasm
Just to get a couple extra exports that you use here? https://github.com/etherts/ewasm-as/blob/master/assembly/src/transform.js#L14-L21
Yeah, only for extra exports of AST entities, so if you need making some extra public entities you could also fork AS and making PR to main repo after you stabilize things which you required
Cool, yes. Just got a PR in this repo open with exactly the approach you made mention of. I don't want to make any assumptions about your available time @MaxGraey, but it could be very valuable to have an experienced set of eyes give it a quick look over. Very appreciative of your comments so far.
Sure, I will keep my eyes on your PR
You could do some early code generation (example for decorators) by using
--transform
arg via cli orafterParse
method via code. See for detailsThe same approach using in
ewasm
for ABI auto-generation