March 12, 2014 Re: Callout to DMD hackers | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | On 3/8/2014 8:25 AM, Andrej Mitrovic wrote:
> Recently Vladimir Panteleev has ported the DMD Source Guide from the old
> wiki to the new one[1], and updated it with up-to-date information. I've
> added a "DMD Hacking Tips & Tricks" section[2], which should help people
> new to the codebase to start hacking on DMD-FE. I've only added a few
> tips that I know of.
>
Wow, that page is hugely improved since last time I looked (quite a while ago, TBH). Cheers to all who contributed!
One thing I'm still unclear on though (maybe someone in-the-know could add this info?): Last I looked at DMD's semantic code, there was a lot of stuff about "deferred" semantics. What's all that stuff about? It sounds like some sort of inverse of what the Wiki describes about handling forward references, but I don't know anything about it.
|
March 12, 2014 Re: Callout to DMD hackers | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brad Anderson Attachments:
| On Wed, 2014-03-12 at 02:14 +0000, Brad Anderson wrote: […] > You can change the file encoding but the default is codepage 1252 for me (I assume it changes based on your locale but I don't know that for certain). It's definitely not UTF-16 encoded. I don't recall ever seeing Windows VS source code encoded with anything other than 1252/8859-1 or (rarely) UTF-8. I would have thought UTF-8 was the only sensible encoding of Unicode for general purposes. Windows is the reason for UTF-16LE and UTF-16BE because Microsoft implemented things differently to the rest of the planet, and what the standard said. So the standard got retrofitted. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
March 12, 2014 Re: Callout to DMD hackers | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic |
On 08.03.2014 23:20, Andrej Mitrovic wrote:
> On 3/8/14, Timon Gehr <timon.gehr@gmx.ch> wrote:
>> How many actual D source files are not UTF-8?
>
> No idea. Maybe some Windows tools use UTF-16, although I can't think
> of any. VS uses UTF-8 right?
>
Visual D sets the default encoding for D files to UTF8, otherwise they are Codepage 1252 "Western European" on my system, e.g. for C/C++ files.
|
Copyright © 1999-2021 by the D Language Foundation