Hi David,

I agree with you on the way of support EBNF in PLY (maybe a tool that
convert the Python source file with EBNF to an file with BNF). Because
EBNF is a lot easier to read and write than BNF, I guess there must
exists such a requirement :)

I am new to compiler front end (as a hardware engineer), maybe I can
take it as an exercise :)

Best regards,
Davy

On Aug 20, 11:49 pm, David Beazley <[EMAIL PROTECTED]> wrote:
> I'm not aware of any tool like this off the top of my head.    
> However, in terms of support EBNF in PLY, I have a feeling that it  
> would be easier to support EBNF using some kind of tool or wrapper  
> that creates a standard BNF for PLY to work with.   Modifying the  
> table generation code in PLY to use an EBNF directly would likely  
> fall somewhere in the middle of the "hairy" category of projects.  Of  
> course, I could be wrong, but that's just my gut feeling about it.
>
> Cheers,
> Dave
>
> On Aug 20, 2008, at 9:36 AM, Davy wrote:
>
>
>
>
>
> > Hi,
>
> > I am using PLY these days and found BNF hard to write. Is there any
> > EBNF support in PLY? Or Is there any tool to convert EBNF to BNF for
> > Yacc?
>
> > Best regards,
> > Davy- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ply-hack" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/ply-hack?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to