Closed
Bug 1277063
Opened 8 years ago
Closed 8 years ago
[wasm] Update WebAssembly pilot format to support semicolons and parens
Categories
(Core :: JavaScript Engine: JIT, defect)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: yury, Assigned: yury)
References
Details
Attachments
(1 file)
Based on new update to the grammar (see [1]) few items needs to be changed:
- Add semicolons (after each drop value statement?).
- Add parenthesis for every operation that is not expressed as ASCII-art operator.
- Change load and store operations to be array-like.
[1] https://github.com/sunfishcode/design/commit/0141d6420bba8b47ac15943a9d670f0516ec85fc#diff-fd84284c66f9d51232ae21604e3e4d4b
Assignee | ||
Comment 1•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/56788/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/56788/
Attachment #8758514 -
Flags: review?(sunfish)
Assignee | ||
Comment 2•8 years ago
|
||
(Also includes fixes for indenture, missing parens, and test for operator precedence)
Comment 3•8 years ago
|
||
Comment on attachment 8758514 [details]
Bug 1277063 - Update WebAssembly pilot format to support semicolons and parens.
https://reviewboard.mozilla.org/r/56788/#review53688
Looks good.
One additional tweak request: Could you add a space after the ":" in PrintSignature and PrintFunction when they're printing arguments and locals? It's not syntactically significant, but it is the prevalent style in TypeScript, which the current type syntax is trying to resemble somewhat. Eg. "x: i32" rather than "x:i32".
Attachment #8758514 -
Flags: review?(sunfish) → review+
Assignee | ||
Comment 4•8 years ago
|
||
Comment on attachment 8758514 [details]
Bug 1277063 - Update WebAssembly pilot format to support semicolons and parens.
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/56788/diff/1-2/
Assignee | ||
Comment 5•8 years ago
|
||
Comment on attachment 8758514 [details]
Bug 1277063 - Update WebAssembly pilot format to support semicolons and parens.
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/56788/diff/2-3/
Comment 6•8 years ago
|
||
The updates look good to me. We might also want a space after the "," now, but I'm ok addressing that in a followup if you prefer.
Assignee | ||
Comment 7•8 years ago
|
||
Comment on attachment 8758514 [details]
Bug 1277063 - Update WebAssembly pilot format to support semicolons and parens.
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/56788/diff/3-4/
Attachment #8758514 -
Attachment description: MozReview Request: Bug 1277063 - Update WebAssembly pilot format to support semicolons and parens. r?sunfish → Bug 1277063 - Update WebAssembly pilot format to support semicolons and parens.
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/71530f6566b9
Update WebAssembly pilot format to support semicolons and parens. r=sunfish
Keywords: checkin-needed
Comment 9•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in
before you can comment on or make changes to this bug.
Description
•