Spotandjake

Results 147 comments of Spotandjake

I have a branch with jsoo upgraded here https://github.com/spotandjake/grain/blob/spotandjake-ocaml-5/compiler/esy.json I'm just waiting on a binaryen.ml release with the jsoo upgrade and ocaml 5 support in libbinaryen.

> @spotandjake, any update on this ? Still waiting on a `binaryen.ml` release for this.

I think given the changes being made in #2104 this issue should probably also look into addressing the exception module the same way. Beyond flags I don't quite know what...

I am pretty sure this was unblocked with #2104 as we no longer lose the debug information when linking.

It looks like the pass list can be found here: https://github.com/WebAssembly/binaryen/blob/878ddbabc49278cbfda4e5762c3aeb2c8f9f73b1/src/passes/pass.cpp#L92

I feel like the syntax examples here all have problems: * `~` seems a little random as we don't have precedent in grain. * `num2=` seems like it could cause...

I think it would make sense todo this as part of #2104 given we are changing how linking works entirely.

It would be nice if this was able to warn about dead code surrounding, `fail` and `throw` as well. Also would be nice if it could warn about after `sys.process.exit()`...

> Most high-level programming languages have a mechanism for interpolating data into strings as an alternative for manual concatenation to aid in readability, and it would seem to be a...