grammatica-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Grammatica-users] How to build a grammar at runtime?


From: Per Cederberg
Subject: Re: [Grammatica-users] How to build a grammar at runtime?
Date: Wed, 01 Dec 2004 09:29:00 +0100

The easiest way to understand how the runtime parser creation
API works is to check out some source code generated by
Gramatica (ie a parser for some simple grammar). As Grammatica
always generates the parser in runtime (which is what the
generated source code does) this gives an good idea on how to
use the API.

You probably want to checkout the API docs too. The classes of
interest there are TokenPattern och ProductionPattern (and some
related classes you'll find from there).

Good luck!

/Per

On wed, 2004-12-01 at 00:26 -0500, Topcat Knows wrote:
> Hello - 
> 
> I am trying to build a grammar at runtime, but am uncertain as to how
> I should proceed.
> 
> Thanks!
> 
> 
> _______________________________________________
> Grammatica-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/grammatica-users
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]