code generation

Rita rmorgan466 at gmail.com
Tue Aug 2 23:03:29 EDT 2011


Hello,

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
output:
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: <http://mail.python.org/pipermail/python-list/attachments/20110802/65f96784/attachment.html>


More information about the Python-list mailing list