Greetings<div><br></div><div>I need to parse simple D expressions at compile time. I was wondering if somebody on the list has some example code that could be of help to me.</div><div><br></div><div>I am working on an opensource constraint solver  and expressions that I need to parse can be reasonably complex such as "x + y*n < 32 && x > 4". I want to code a string mixin that parses such expressions and writes out code that creates a parse tree for the given expression.</div>

<div><br></div><div>Thanks and Regards</div><div>- Puneet</div><div><br></div>