[antlr-interest] Pick a ECMAScript grammar - virtual semi colon

Martin Van Aken martin.vanaken at 8thcolor.com
Tue Jun 5 23:44:51 PDT 2012


Hello all,
First of all thanks to Terence Parr and all contributors for antlr & the
impressive grammar list. It's becoming a major asset for our startup. My
question relates to ECMAScript grammars. I've seen than multiple exists,
and one of the more dreaded aspect of (ECMA|Java)Script parsing is the
"virtual semi colon" problem. I've made my first test with the one
"highlighted", from Chris Lambrou, and I am now looking at the one from
Patrick Hulsmeijer (http://research.xebic.com/es3/) that seems to manage
the "virtual semi colon" problems. My first tests with the "Lambrou"
grammar shown some problems related to whether or not I have the semi
colons.

Does anyone on this list has experience with parsing ECMAScript using antlr
(I did some search on the archives, but most posts on this topics are 2+
years old) ? If yes, with which grammar ?

Thanks,

Martin
-- 
Company website : www.8thcolor.com
Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
Follow me on Twitter : @martinvanaken <http://twitter.com/martinvanaken>


More information about the antlr-interest mailing list