On Wednesday, 4 March 2015 at 07:43:44 UTC, Russel Winder wrote:
On Tue, 2015-03-03 at 23:03 +0000, Brian Schott via
Digitalmars-d-announce wrote:
[…]
dfmt works by re-using my existing lexer and parser. The
parser is run on the code first so that the formatting step
knows a few things like the difference between the binary and
unary forms of "*". Line splitting is figured out using a
badly mangled version of A*.
Does this mean dfmt uses the same parser as the D D compiler?
No. https://github.com/Hackerpilot/libdparse