4 ms·
>Think native TypeScript parsing in a browser today! If only... Or better yet, a bytecode format that is easy to target for scripting languages like typescrip
by thayne 7y ago
>Think native TypeScript parsing in a browser today!
If only...
Or better yet, a bytecode format that is easy to target for scripting languages like typescript, clojurescript, scalajs, coffeescript, dart, and even plain JavaScript. Webasm is too low level (at least currently) since it doesn't have a GC, direct DOM access, etc. Most js engines have an intermediate bytecode representation anyway, it would be cool if you could target that instead of textual js.