Ivo Woltring TheDolphin at
Wed Oct 27 00:26:36 CEST 2004

Take a look at LEX ant YACC like python ports
I have had some luck with those tools
lex for lexical definitions
YACC (Yet Another Compiler Compiler) for grammar definitions


"Balaji" <balaji at> wrote in message
news:494182a9.0410261410.43cd5226 at
> Hello Everyone....
> I have created a simple GUI using wx python. Its an simple editor...
> Now what I want to do is pass the contents of this editor and receive
> solution from python.
> Suppose in the editor if I say x=2 and y=3 and then x+y I should get
> back the solution.
> In general i want to build an simple interpretor..
> Any ideas....
> Balaji

More information about the Python-list mailing list