[dmd-internals] named character entities, the spec, and dmd

Jonathan M Davis jmdavisProg at gmx.com
Mon Jul 30 23:02:21 PDT 2012


On Monday, July 30, 2012 22:51:58 Jonathan M Davis wrote:
> Thoughts? I'm perfectly willing to go and create whatever pull requests are
> necessary for dmd and d-programming-language.org to fix this, but we need a
> decision of some kind on how we want to proceed.

By the way, it does look like some named entities in HTML 5 are two code 
points in length rather than just one, and dmd does not support those (and I 
don't know how it could given that a named entity can be used in a character 
literal as well as a string literal), so we'll need to say that we don't 
support those regardless. But that's easy enough to do if we went with the 
approach of saying in the D spec that we followed the HTML 5 spec - you just 
say that we support the HTML 5 list of named character entities which are a 
single code point. But it _does_ mean that we have to say more than that we 
follow the HTML 5 spec for named character entities.

- Jonathan M Davis


More information about the dmd-internals mailing list