Re: parser using perl
- From: sharan.basappa@xxxxxxxxx (Sharan Basappa)
- Date: Mon, 31 Mar 2008 20:35:19 +0530
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 <chas.owens@xxxxxxxxx> wrote:
On Mon, Mar 31, 2008 at 10:51 AM, Sharan Basappa.
<sharan.basappa@xxxxxxxxx> 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.
- Follow-Ups:
- Re: parser using perl
- From: Chas. Owens
- Re: parser using perl
- References:
- parser using perl
- From: Sharan Basappa
- Re: parser using perl
- From: Chas. Owens
- Re: parser using perl
- From: Sharan Basappa
- Re: parser using perl
- From: Chas. Owens
- parser using perl
- Prev by Date: Re: parser using perl
- Next by Date: Re: Inappropriate ioctl for device
- Previous by thread: Re: parser using perl
- Next by thread: Re: parser using perl
- Index(es):
Relevant Pages
|