[Tutor] regular expressions

jfouhy@paradise.net.nz jfouhy at paradise.net.nz
Fri Jul 15 00:15:30 CEST 2005

Quoting Servando Garcia <servando at mac.com>:

> Hello List
> 	I am working on creating a Domain Specific Language that will solve 
> partial differential equations. The user will enter a equation in 
> pseudo code format. I will need to parse the equation. Here is the BNF 
> for the equation

There are a few parser generators out there in Python.  One, which I have used
successfully before, is SimpleParse (google for it).  These will allow you to
build a parser directly from the grammar with little effort :-)


More information about the Tutor mailing list