DMD front-end can be used as a library with Dub

Mathias Lang via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 19 01:55:55 PDT 2016


On Monday, 29 August 2016 at 10:42:23 UTC, Alexander Breckel 
wrote:
> Please note: This is "only" the dmd frontend (lexer, parser, 
> semantic passes, CTFE). Code generation will be more 
> complicated.
>

Interesting. Did you have inline ASM in your code ? From my 
experience it required the backend to work, and couldn't be 
mocked, because else some flow analysis would go wrong (e.g. it 
would complain about missing `return`).


More information about the Digitalmars-d mailing list