Re: Parsing newbie -- recursion question (probably simple)

"Nicola Musatti" <nicola.musatti@gmail.com>
15 Nov 2005 23:28:46 -0500

          From comp.compilers

Related articles
Parsing newbie -- recursion question (probably simple) sonicsmooth@gmail.com (2005-11-12)
Re: Parsing newbie -- recursion question (probably simple) wyrmwif@tsoft.org (SM Ryan) (2005-11-13)
Re: Parsing newbie -- recursion question (probably simple) DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2005-11-13)
Re: Parsing newbie -- recursion question (probably simple) desw@sussex.ac.uk (Des Watson) (2005-11-13)
Re: Parsing newbie -- recursion question (probably simple) 63q2o4i02@sneakemail.com (2005-11-15)
Re: Parsing newbie -- recursion question (probably simple) cfc@shell01.TheWorld.com (Chris F Clark) (2005-11-15)
Re: Parsing newbie -- recursion question (probably simple) nicola.musatti@gmail.com (Nicola Musatti) (2005-11-15)
| List of all articles for this month |

From: "Nicola Musatti" <nicola.musatti@gmail.com>
Newsgroups: comp.compilers
Date: 15 Nov 2005 23:28:46 -0500
Organization: http://groups.google.com
References: 05-11-059
Keywords: parse
Posted-Date: 15 Nov 2005 23:28:46 EST

sonicsmooth@gmail.com wrote:
> Hi, I'm trying to write a parser for SPICE files. In short, a SPICE
> file "deck" describes a circuit, with each line "card" adding a
> circuit element or describing something to the simulator. I wrote a
> grammar for it because I didn't find any online. I'm implementing
> this is Python and am not using any lex/yacc/gnu tool.


Is there any specific reason for not using one? If I were you I'd
consider PLY - Lex & Yacc in Python: http://www.dabeaz.com/ply/


Cheers,
Nicola Musatti



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.