<div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

How different is what you want to do from CTFE?<br><a href="http://dlang.org/function.html" target="_blank">http://dlang.org/function.html</a></blockquote><div><br></div><div>I do not want to evaluate the expression in the string at compile time. I want to parse it at compile time and later at run time, I am required to process the parse tree and evaluate it in a different fashion (using binary decision diagrams).</div>

<div><br></div><div>In summary, I need CTFE to parse the expression and create a parse tree from it. I think this requires a string mixin that takes the expression string as input and outputs code that builds the corresponding parse tree.</div>

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