On Mon, Mar 31, 2008 at 11:05 AM, Sharan Basappa
<[EMAIL PROTECTED]> wrote:
> 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.
snip

You will most likely find that those "additional rules to catch
comments etc." wind up being the rest of the grammar.  Without them
there will be edge cases that end up bitting you.

-- 
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/


Reply via email to