code generation

Rita rmorgan466 at
Wed Aug 3 05:03:29 CEST 2011


This isn't much of a python question but a general algorithm question.

I plan to input the following string and I would like to generate something
like this.

input: a->(b,c)->d
parent a, child b c
parent b c child d

Are there any libraries or tools which will help me evaluate items like this
better? I am mostly looking for syntax and sanity checking.

Any thoughts?

--- Get your facts first, then you can distort them as you please.--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list