<div class="gmail_quote"><div>Hello  Philippe</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>OK, doing a bit of thread necromancy here (3 weeks, still acceptable here?)</p>

</blockquote><div>You are more than welcome. I am still working on the stuff.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Puneet, I might have something for you. IIUC, you want to parse expressions that are</p>


<p>- an association of boolean expressions (&&, ||, !)<br>
- each boolean expression is an equation (=, <=, >, etc)<br>
- each equation lhs or rhs is an arithmetic expression (+, -, *, /)<br>
- atoms in an arithmetic expression can be numbers or variables</p>
<p>Is that it?</p></blockquote><div>That would be sufficient for a start. But later I would also like to parse simple D style if-else conditionals and foreach loops.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<p>You do realize that any parse tree will for these constructs will be quite deep, right? I mean, 10-levels deep or somesuch.</p></blockquote><div>10 levels would be good enough.</div><div><br></div><div>Regards</div><div>

- Puneet</div><div><br></div></div>