What would a minimal subset of D look like?

jmh530 john.michael.hall at gmail.com
Mon Jun 24 17:16:04 UTC 2019


On Monday, 24 June 2019 at 13:47:06 UTC, Araq wrote:
>
>
> **Disclaimer**: I invented Nim.
>
> The AST is "close to" the parse-tree but that's not a problem, 
> the usual things that a macro system is capable of can all be 
> done (async, serialization, lazy evaluation, control flow 
> abstractions, currying, DSLs), and reasonably easy too.
>
> It's certainly ugly in some ways but that is not because it is 
> "close to" the parse-tree (hey, it works for Lisp too!) but 
> because it was a research project that escaped the lab. Almost 
> no effort was spent on API design. But we're getting there.

Is there anything you would have done differently if you started 
over?


More information about the Digitalmars-d mailing list