true, I have the grammar in the form of BNF. But I am not interested in converting the BNF to parser rules, when I know that these productions are not useful to me. I am planning to write 8-10 rules and rules for pertaining tokens only. Of course, I might have to write additional rules to catch comments etc.
Regards, On Mon, Mar 31, 2008 at 8:30 PM, Chas. Owens <[EMAIL PROTECTED]> wrote: > On Mon, Mar 31, 2008 at 10:51 AM, Sharan Basappa > > <[EMAIL PROTECTED]> wrote: > > > I am not a compler expert, but if I all I am interested in few > > productions out of > > many productions, I can setup by scanner to generate tokens pertaining to > > interesting productions and ignore the rest. As I said, I am not a > > compiler expert. > > So, I could be understating the problem .. > > > > I will have a look at the parser library. Thanks ... > > > > Regards > snip > > That assumes you have a grammar already, in which case generating a > full parser is easy. The problem comes from incomplete grammars. > > -- > > > Chas. Owens > wonkden.net > The most important skill a programmer can have is the ability to read. > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/