Questions about dmd source
Anton Fediushin via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Jul 29 23:34:04 PDT 2017
On Sunday, 30 July 2017 at 06:18:16 UTC, Francis Nixon wrote:
> I have two completely unrelated questions about the dmd source
> code.
> 2. I've noticed there are some rather long methods in the dmd
> source, involving more than one goto; parse.d is particularly
> bad. Is there a reason for this/is it being fixed?
It is impossible to write short parser, and goto operators are
quite useful in such code.
Also, there is no need to rewrite anything unless it is slow or
buggy, and parse.d probably isn't.
More information about the Digitalmars-d-learn
mailing list