Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upexpanding comments proposal #717
Comments
This was referenced Oct 20, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
ljharb
Oct 20, 2016
Member
You're forgetting the third, HTML comments:
<!-- this is a comment
--> so is thisAlso, please note that this repo is not the place for proposals - see https://github.com/tc39/ecma262/blob/master/CONTRIBUTING.md
|
You're forgetting the third, HTML comments: <!-- this is a comment
--> so is thisAlso, please note that this repo is not the place for proposals - see https://github.com/tc39/ecma262/blob/master/CONTRIBUTING.md |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
gertcuykens
Oct 20, 2016
Ok thanks, you are right forgot about <!-- --> going to try to make a proposal.
gertcuykens
commented
Oct 20, 2016
|
Ok thanks, you are right forgot about |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
Closing per CONTRIBUTING.md. |
domenic
closed this
Oct 20, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gertcuykens commentedOct 20, 2016
•
edited
Currently there are two ways to make comments
//and/**/I think if ecma262 has a broader way of implementing comments it can open up the door for third party type checkers and leave the burden onto others without the need for transpiling.I am looking into how close ES20XX syntax for example compares to typescript syntax. A js compiler doesn't need to look at the typings at all, just be smart enough to ignore typings. Is the ECMA262 community willing to look at a few syntax notations that a js parser should ignore?
If there is no objection at first look I am going to put in the effort to try to cover a complete syntax that extends
//and/**/so others can use that to implement for example a type checker? Notice that I am not asking for type checking itself, just expanding//and/**/that makes it possible for others to do for example type checking and maintain a clean syntax look of their code.EDIT: We can
"use strict comments";to prevent web breakageExample ES2015 code
Example typescript code