On Sun, 12 Feb 2012 11:18:26 +0100, Alex_Dovhal <[email protected]> wrote:

"Martin Nowak" <[email protected]> wrote:
Just wanted to point you to my working D lexer (needs a CTFE bugfix
http://d.puremagic.com/issues/show_bug.cgi?id=6815).

https://gist.github.com/1262321 D part
https://gist.github.com/1255439 Generic part

Hi, how it should be compiled? I tried with DMD 2.057:
dmd dlexer.d
and got
c:\Programs\Programming\Lang\dmd2\windows\bin\..\..\src\phobos\std\conv.d(94):
Error: template instance
std.format.formatValue!(Appender!(string),defineToken,char) recursive
expansion


I don't know about that one, it doesn't happen with 2.057 for me.
The code triggers a lot of compiler bugs and it won't compile unless some CTFE bugs are fixed.

Reply via email to