Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
99
rated 0 times [  101] [ 2]  / answers: 1 / hits: 15264  / 15 Years ago, mon, november 23, 2009, 12:00:00

I'm trying to find a good EBNF description of ECMAScript, but so far I've not found anything complete.



Any ideas?


More From » bnf

 Answers
36

How about the ECMAScript standard?
Complete by definition :-}



EDIT: If you want an existing grammar, try one of the grammar generator tools sites.
For ANTLR, here's the
ECMAScript grammar.
I know nothing of its quality but the ANTLR can produce good parsers if the grammer is constructed with care. You'll probably find the grammar also interwoven with bunch of ANTLR stuff, so it may suffer from some of the same problem as the standard from your point of view. At least you can delete all that stuff out.


[#98244] Thursday, November 19, 2009, 15 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jameson

Total Points: 534
Total Questions: 103
Total Answers: 102

Location: Lithuania
Member since Fri, Sep 4, 2020
4 Years ago
jameson questions
;