On 02/26/2012 01:00 PM, d coder wrote:
Operator precedence parsers are simple to implement:
http://effbot.org/zone/simple-__top-down-parsing.htm
<http://effbot.org/zone/simple-top-down-parsing.htm>
Timon
I want to do all this parsing at compile time in D (using mixins). I
have just started working on this. I am not sure if CTFE allows so much
flexibility. I believe I will have to use functional style as in the
link provided by Kenji. Let me know if I am missing something.
Regards
- Puneet
I know. CTFE is flexible enough and implementing this would be quite
simple. However, if ctpg serves your needs well, just use that.