[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Grammatica-users] Generating "subparsers" form one grammar.
From: |
Per Cederberg |
Subject: |
Re: [Grammatica-users] Generating "subparsers" form one grammar. |
Date: |
Fri, 16 Jan 2009 13:30:27 +0100 |
Not right now, no. But you could of course comment the Number
production in the grammar file...
Cheers,
/Per
On Fri, Jan 16, 2009 at 1:29 PM, Petr Sezemsky <address@hidden> wrote:
>
>
>
> Is there any way to generate "subparsers" in the same step as main parser? I
> mean the case when Number.grammar contains for example
>
> INT = <<-?[0-9]+>>
> ...
> Number = Int | Real; // root node
> ...
> Int = INT;
> ...
>
> and the result should be NumberParser.java and IntParser.java also.
>
> Thanks
>
>
> _______________________________________________
> Grammatica-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/grammatica-users
>