On Tuesday, 3 March 2015 at 01:17:33 UTC, Jamie wrote:
On Monday, 2 March 2015 at 21:54:05 UTC, Brian Schott wrote:
On Monday, 2 March 2015 at 21:50:46 UTC, Jamie wrote:
Hello all!
This is my first post on the forums. I'm interested in
possibly creating a refactoring tool for D for my MSc
dissertation (I notice there is currently no refactoring in
D?). I wanted to ask if this is possible with D's current
state?
More specifically:
- Can I easily access things such as the AST?
This should save you a lot of time:
https://github.com/Hackerpilot/libdparse
I've had a look around and it seems promising, however are
there any usage examples poking around somewhere I could look
at?
https://github.com/Hackerpilot/Dscanner uses it. Walking the AST
is done with the visitor pattern, so if you're familiar with that
it should make sense.