Let's stop parser Hell
Roman D. Boiko
rb at d-coding.com
Tue Jul 10 13:33:12 PDT 2012
On Tuesday, 10 July 2012 at 20:25:12 UTC, Jonathan M Davis wrote:
> On Tuesday, July 10, 2012 21:25:52 Timon Gehr wrote:
>> FWIW, this is what most HTML parsers are doing.
>
> Which is horrible. You pretty much have to with HTML because of
> the horrid
> decision that it should be parsed so laxly by browsers, but
> pretty much
> nothing else should do that. Either it's correct or it's not.
> Having the
> compiler "fix" your code would cause far more problems that it
> would ever fix.
Not having control over parser or source code causes problems.
Ability to deliver useful functionality (see my post above) is a
different use case.
More information about the Digitalmars-d
mailing list