python parser

Bengt Richter bokr at oz.net
Tue Jul 12 17:13:16 EDT 2005


On Tue, 12 Jul 2005 13:30:14 -0700, Robert Kern <rkern at 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



More information about the Python-list mailing list