Quoting Servando Garcia <[EMAIL PROTECTED]>:

> 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 :-)

-- 
John.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to