dcodeIO
dcodeIO
Not sure, since it neither knows the types nor what exactly a name is referencing after serializing into the AST. The real deal would be a proper checker that does...
Since this PR has been mentioned a couple times recently, perhaps a few notes on why I think it isn't feasible yet. The information it provides currently is "vars bound...
Keeping this PR open as part of [2020 vacuum](https://github.com/AssemblyScript/assemblyscript/issues/1277). Even though it will most likely not make it in its current form, it might still be a base for a...
The issue with this is that the evaluation happens too early, when not all the information closures depend on is available yet (all we know is abstract scopes). The worst...
We don't know the values used in static checks without "compiling" the code, i.e. we can precompute partial expressions. Compiling in this sense means generating Binaryen IR, not necessarily Wasm,...
If there is a need for it, perhaps we can add it. Maybe something along the lines of `--transform path/to/transform?arg1=1&arg2=2`?
Absolutely, async/await is something that we'd like to support eventually. One missing building block at this point seems to be closure support, because promises and timeouts usually involve functions that...
Thanks for the hint (and for making it possible in the first place ofc)! There are multiple things that I think can make use of the bysyncify pass, like *...
Nice, that would be super useful! In the meantime we can start thinking about Promises over here I guess :)
Maybe we could hijack [Object.prototype.valueOf](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/valueOf), but make it generic? Something like ```ts class MyClass { valueOf(): T { // statically evaluate `T` and convert `this` -> `T` return converted; }...