documentation anomalies

BCS ao at pathlink.com
Sun Mar 16 14:48:06 PDT 2008


I'm working on automating the extraction of the D grammar from the docs I 
have got it down to one sed script and about 6 calls to grep. However a good 
bit of the sed script is fixing typos. For example

A number of rules are missing the ':'

FunctionLiteral
Operands
AsmPrimaryExp
DotIdentifier
SuperInterfaces
TemplateParameterList
VersionSpecification
DebugSpecification
DeclarationBlock

A number of other rules have odd formatting:

(In attribute.html)
const
override
static
auto
scope

If these were fixed I think I can programmatically extract the grammar. I'll 
see if I can put together a patch for the sources in dsource/phobos




More information about the Digitalmars-d-bugs mailing list