[antlr-interest] Updated ECMAScript 3 grammar

David Holroyd dave at badgers-in-foil.co.uk
Tue Apr 15 07:51:24 PDT 2008


On Tue, Apr 15, 2008 at 04:39:06PM +0200, Patrick Hulsmeijer wrote:

> I've updated the grammar uploaded under "A complete ECMAScript 3
> grammar". The direct link is: http://research.xebic.com/es3.
> 
> A license statement was added and 2 reported bugs were fixed.
> 
>  
> 
> Still looking forward to reactions on this list.

For a similar grammar[1], I did the In/NoIn stuff using scopes rather
than duplicate rules.

I wonder if you found particular reasons not to do things that way?
Maybe the performance is better?  (Maybe I've actually implemented my
grammar incorrectly?)


ta,
dave


[1] http://svn.badgers-in-foil.co.uk/metaas/trunk/src/main/antlr/org/asdt/core/internal/antlr/AS3.g3

-- 
http://david.holroyd.me.uk/


More information about the antlr-interest mailing list