David:

Crazy idea... CTFE is basically done with a D interpreter isn't it?
Can't this be used as library to implement a REPL?

In a REPL you want persistent state too. CTFE deletes its state once it's done.

And in a past request of mine I've seen that Walter is against the idea of "compiler as a library" (as in C#).

Bye,
bearophile

Reply via email to