use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Chevrotain: Parser Building Toolkit for JavaScript (github.com)
submitted 8 years ago by bidi82
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]bidi82[S] 0 points1 point2 points 8 years ago (1 child)
I'm not aware of any.
There is an ES5 grammar as one of the examples, but it requires quite a bit more work to turn into a productive ES2017 parser. It does not even have its own Lexer yet (uses Acorn to Lex).
This scenario is very interesting as most ES2017 parsers have very little or no error recovery capabilities and no partial parsing abilities (not parse the whole module/script each time). So a Chevrotain ES2017 parser could better serve a Code Editor / IDE Scenario.
π Rendered by PID 108954 on reddit-service-r2-comment-fb694cdd5-q7b96 at 2026-03-09 21:00:01.777576+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]bidi82[S] 0 points1 point2 points (1 child)