On Tuesday, 17 June 2014 at 15:45:55 UTC, Bruno Medeiros wrote:
Dunno about DScanner, but if it's being used in DCD, I'd guess
it can handle the whole language, or be fairly close to it.
Similarly, there is also DParser2 from MonoD and the DDT parser
(for the tool I'm working on)
HAHAHAHAHAHA ! (The author of these actual tools will tell you
* Semantic analysis is needed. Otherwise as soon as someone
templates or mixins the tool won't properly work
I think there would be a lot of modifications that one can do
without semantic analysis (or limited analysis). But that's why
I asked for examples of dfix scenarios.
Until you hit a static if. Which is always.
Adding "final" to every method in certain classes could be done
without semantic analysis. Reworking certain constructs to
different constructs possibly as well (for example change
foreach_reverse to just foreach usage)