You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Text format: named expressions instead of push/pop? #693
@sunfishcode It's a personal strawman experiment right up until it gets implemented in a browser. After that it's something more. I actually think it's fine to have an experimental text format (and other experimental stuff) in a browser too, but at that point I think it's also fair to say you can no longer avoid public discussion (including bikeshedding). :)
Having said that I like the format quite a bit. I agree with you that we don't want re-usable subtrees and, more generally, that the text format should explicitly mirror the wasm semantics and binary encoding. In other words no macro layers, and no reusable subtrees unless we get them in the semantics. There's only one tree, and push and pop are a way to express the structure of the tree. It's not the only possible way, but any other way should be isomorphic (e.g. having push and pop without the numbers would be fine if less readable; allowing them to have names instead of the numbers would be ok, but allowing re-use would mean that the instructions in the text would be different than what is executed or encoded in the binary).
@sunfishcode Sorry I raced with you. https://bugzilla.mozilla.org/show_bug.cgi?id=1274618 says that you're looking to get feedback from users. What forum would that feedback be in? I'm sympathetic to the idea that since this is an experiment we don't need to be having discussion here, but since Mozilla is implementing it I'd like there to be a bit more visibility than just discussion on your github. On the other hand, now that we've had all this noise, maybe that's sufficient if someone opens another discussion on some Moz forum or wherever and links to it here?
@dschuff I'd like to get our initial implementation up and running before we get too far into this, because I believe that with WebAssembly's unique nature, experiments in context on real code will inform the discussion better than just design docs and a few small examples.
In the meantime, any questions, concerns, suggestions, opinions, etc. are welcome on my repo's issue tracker.
Activity
sunfishcode commentedon May 23, 2016
That document is an experiment. Please file issues pertaning to it on the repo which contains it, rather than the WebAssembly repo.
qwertie commentedon May 23, 2016
@sunfishcode I assumed that since issues were disabled in your copy of the repo, that discussion should take place here. It made sense to me.
@JSStats the former.
push/pophas nothing to do with the binary format, so likewise forexpr.sunfishcode commentedon May 23, 2016
I didn't realize the issue tracker was not enabled. It is now. Please do keep in mind that this is an experiment.
dschuff commentedon May 23, 2016
@sunfishcode It's a personal strawman experiment right up until it gets implemented in a browser. After that it's something more. I actually think it's fine to have an experimental text format (and other experimental stuff) in a browser too, but at that point I think it's also fair to say you can no longer avoid public discussion (including bikeshedding). :)
Having said that I like the format quite a bit. I agree with you that we don't want re-usable subtrees and, more generally, that the text format should explicitly mirror the wasm semantics and binary encoding. In other words no macro layers, and no reusable subtrees unless we get them in the semantics. There's only one tree, and
pushandpopare a way to express the structure of the tree. It's not the only possible way, but any other way should be isomorphic (e.g. having push and pop without the numbers would be fine if less readable; allowing them to have names instead of the numbers would be ok, but allowing re-use would mean that the instructions in the text would be different than what is executed or encoded in the binary).dschuff commentedon May 23, 2016
@sunfishcode Sorry I raced with you. https://bugzilla.mozilla.org/show_bug.cgi?id=1274618 says that you're looking to get feedback from users. What forum would that feedback be in? I'm sympathetic to the idea that since this is an experiment we don't need to be having discussion here, but since Mozilla is implementing it I'd like there to be a bit more visibility than just discussion on your github. On the other hand, now that we've had all this noise, maybe that's sufficient if someone opens another discussion on some Moz forum or wherever and links to it here?
sunfishcode commentedon May 23, 2016
@dschuff I'd like to get our initial implementation up and running before we get too far into this, because I believe that with WebAssembly's unique nature, experiments in context on real code will inform the discussion better than just design docs and a few small examples.
In the meantime, any questions, concerns, suggestions, opinions, etc. are welcome on my repo's issue tracker.