On Sunday, 6 September 2015 at 20:22:23 UTC, Zoadian wrote:
On Sunday, 6 September 2015 at 19:32:58 UTC, Prudence wrote:
template X(Y)
{
        string X = Y.stringof;
}

[...]


as you'd have to write a parser for other languages why not just use strings? you can already do this:

template X(string Y)
{
        enum X = Y;
}

auto s = X!q{int 3;};

obviously X has to be a compiletime js->d compiler.

Seriously? Is that all you got?

Reply via email to