> > > I seem to remember reading somewhere that Falcon uses a grammar based > approach as well to parsing AS3. I'm wondering how they're pulling it off > then... > > Falcon currently uses an ANTLR 2 grammar to parse ActionScript. We've been > improving the grammar that was previously used for code intelligence in > Flash Builder. We expect to move to ANTLR 3 at some point. > > We handle semicolons by calling a Java method we wrote, > matchOptionalSemicolon(), in the actions of various productions. We don't > try to represent the optional semicolons in the productions of the grammar > itself. > > - Gordon Smith, Falcon team, Adobe >
Al right, thanks for clearing that up Gordon! cheers, Roland