[antlr-interest] .g vs .g4

Michael Bedward michael.bedward at gmail.com
Sun Nov 6 15:34:53 PST 2011


Yes please to .g4

Michael

On 7 November 2011 04:22, Terence Parr <parrt at cs.usfca.edu> wrote:
> Hi, Sam Harwell and I are talking about the file extension for new ANTLR 4. We think it makes good sense to use .g4 to distinguish the new grammars. They're mostly compatible except that there is no need for syntactic predicates and .g4 allows immediate left recursion. I think it will reduce confusion about what version of ANTLR is necessary to compile a grammar.
>
> Ter
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>


More information about the antlr-interest mailing list