So You Want To Write Your Own Language

Walter Bright via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sat Dec 26 15:55:05 PST 2015


On 12/26/2015 4:05 AM, Jacob Carlborg wrote:
> There's a lot of stuff that Java doesn't have ;). In theory, all the lowerings
> that the compiler already does could be implemented with AST macros. "scope" is
> lowered to try-catch-finally, "foreach" is lowered to a "for" loop and so on.


Many of the lowerings require semantic information that is not available from ASTs.


More information about the Digitalmars-d-announce mailing list