Hello,<div><br></div><div>This isn't much of a python question but a general algorithm question.</div><div><br></div><div>I plan to input the following string and I would like to generate something like this.</div><div>
<br></div><div>input: a->(b,c)->d</div><div>output:</div><div>parent a, child b c</div><div>parent b c child d</div><div><br></div><div>Are there any libraries or tools which will help me evaluate items like this better? I am mostly looking for syntax and sanity checking. </div>
<div><br></div><div>Any thoughts?</div><div><div><br></div></div><div><br></div><div><br></div><div><br clear="all"><br>-- <br>--- <span>Get your facts first, then you can distort them as you please.</span>--<br>
</div>