For Programmers: Free Programming Magazines  


Home > Archive > Compilers > February 2008 > Re: py -Perl Yacc









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: py -Perl Yacc
Casiano Rodriguez-Leon

2008-02-10, 7:23 pm

Hello,

>BTW, besides your tool, there are other modules for parser construction
>in Perl: Parse::Yapp (written by Francois Desarmien) and
>Parse::RecDescent (written by Damian Conway).


I have written Parse::Eyapp (available at
http://search.cpan.org/perldoc?Parse::Eyapp).
Parse::Eyapp extends yacc/Parse::Yapp syntax with functionalities like

- Named attributes,
- EBNF-like expressions
- Modifiable default action
- Automatic Abstract Syntax Tree building
- Automatic Directed Acyclic Graph building
- Translation schemes
- A language for tree transformations
- Tools for scope analysis support,

and a few more. I have used in a Compiler Construction Course for several years.
Consider it if you intend to do parsing or compiler construction in Perl.


Regards

Casiano

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com