5 ms·
It makes me sad to see the AST go. I was thinking of writing my own WASM compiler just for fun, purely as an AST transformer. Its funny how most of the WASM to
by aspirin 10y ago
It makes me sad to see the AST go. I was thinking of writing my own WASM compiler just for fun, purely as an AST transformer.
Its funny how most of the WASM tools still use s-experssions as the text format. How does that even work, now that the AST is history?
- azakai 10y agoYes, the s-expression format has become awkward. There are differences between the s-expression format in the test suite, what browsers will show, and what tools support. You can think of the old s-expression format as a language that compiles into wasm, a language that is an AST and that happens to have the same types and operations etc. as wasm.