D to Javascript converter (a hacked up dmd)
Jacob Carlborg
doob at me.com
Sat Mar 3 04:29:25 PST 2012
On 2012-03-03 06:56, Nick Sabalausky wrote:
> "Adam D. Ruppe"<destructionator at gmail.com> wrote in message
> news:sazpaicrjwzchqcfwlql at forum.dlang.org...
>> On Friday, 2 March 2012 at 18:28:15 UTC, Nick Sabalausky wrote:
>>> Suggestion: Allow all D features even if it
>>> requires...inefficient-er...boilerplate, BUT then have a system [...]
>>
>> Eh. A problem there is those pragmas or whatever would be
>> unrecognized by the real dmd. A command line switch, maybe,
>> though.
>>
>
> I thought unrecognized pragmas were supposed to just be ignored? (Or maybe I
> have it backwards?)
>
>
No, they're not:
"Compilers must diagnose an error for unrecognized Pragmas, even if they
are vendor specific ones. This implies that vendor specific pragmas
should be wrapped in version statements".
http://dlang.org/pragma.html
--
/Jacob Carlborg
More information about the Digitalmars-d-announce
mailing list