DMD as a library package can now run through all semantic phases
H. S. Teoh
hsteoh at quickfur.ath.cx
Tue Jan 30 02:04:30 UTC 2018
On Tue, Jan 30, 2018 at 01:20:02AM +0000, Bastiaan Veelo via Digitalmars-d wrote:
> On Tuesday, 30 January 2018 at 00:21:09 UTC, Amorphorious wrote:
> > Just curious what the point is and what box it opens.
>
> Better tooling is what comes to my mind. Imagine your editor to
> understand your code as good as the compiler itself. I assume this is
> the primary motivation.
Being able to compile D code in your program (i.e., have an embedded D
compiler) is also nice for JIT applications. E.g., fill in a code
template with runtime-determined parameters, compile it, and run it at
native execution speed.
T
--
Music critic: "That's an imitation fugue!"
More information about the Digitalmars-d
mailing list