Conversation
ml-proto/README.md
Outdated
There was a problem hiding this comment.
The proposed name in the design repo is br_if; if you don't like it, let's discuss this in the design repo, instead of having you just arbitrarily edit things according to your fancy.
There was a problem hiding this comment.
Relax, I was about to do that. But then saw your latest reply. ;)
|
Updated to match WebAssembly/design#427 more closely. |
ml-proto/spec/sugar.mli
Outdated
There was a problem hiding this comment.
For direct correspondence with AstSemantics.md, could you rename to br_if?
|
Generally lgtm with nits addressed. The ast.ml doesn't match what we'd probably want in the binary encoding (a table of indices), but that seems fine since that's already the case for many other nodes (we'll have to define "concrete" AST nodes when we get to binary encoding For Real) and the behavior seems to be equivalent to the table. |
|
Nits addressed, plus a few other internal naming inconsistencies. |
|
Thanks! I think README.md also needs updating of names. I'd wait to here what @sunfishcode thinks before merging though :) |
|
Closing; superseded by #163. |
Instead of RangeError. Fixes WebAssembly#153.
Bikeshedding:- Currently still namedswitch, but we can rename it to be super-explicit if preferred.- For consistency, new jumps are namedif_break,case_break,default_break, but we can change that to*_branchor something if we decide to rename the existingbreakoperator as well.