try/catch idiom in std.datetime

Ary Borenszweig ary at esperanto.org.ar
Wed Nov 20 07:14:51 PST 2013


On 11/20/13 11:51 AM, Dicebot wrote:
> On Wednesday, 20 November 2013 at 14:15:17 UTC, Ary Borenszweig wrote:
>> One day you should all stop doing what you are doing and focus on
>> bootstrapping the compiler.
>
> You'll be surprised - https://github.com/yebblies/magicport2 ;)
> ( https://github.com/D-Programming-Language/dmd/pull/1980 )
>
> It won't fix the lexer/parser issue on its own as current DMD code that
> does it does not seem to be easily usable as a library. Though it will
> allow to switch compiler to imaginary std.d.lexer/std.d.parser to
> guarantee consistency.

Awesome :-)

Yes, now I remember DMD is not built as a library but as a program (lots 
of global variables).


More information about the Digitalmars-d mailing list