Re: python parser
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: python parser

From: Bengt Richter <bokr@oz.net>
Date: Tue Jul 12 2005 - 23:13:16 CEST

On Tue, 12 Jul 2005 13:30:14 -0700, Robert Kern <rkern@ucsd.edu> wrote:

>tuxlover wrote:
>> Hello everyone
>>
>> I have to write a verilog parser in python for a class project. I was
>> wondering if all you folks could advise me on choosing the right python
>> parser module. I am not comfortable with lex/yacc and as a result find
>> myself strugging with any module which use lex/yacc syntax/philosophy.
>> pyparser looks good to me, but before I dive into it, I would really
>> appreciate feedback from members of this group
>
>A Verilog parser has been written using pyparsing at least once before,
>so I imagine that it shouldn't be too difficult to do so again. Of
>course, if you just need *a* Verilog parser, not necessarily one written
>by you, you could just email the guy who wrote it and ask him for a
>copy. Grep
>
> http://pyparsing.sourceforge.net/
>
>for "Verilog".
>
or google for
    verilog site:sourceforge.net

BTW googling for
    verilog site:pyparsing.sourceforge.net
will only get one hit (maybe less if I typoed again ;-)

Regards,
Bengt Richter
Received on Thu Sep 29 16:54:56 2005