libdparse icon indicating copy to clipboard operation
libdparse copied to clipboard

Better documentation and examples

Open LiamM32 opened this issue 11 months ago • 1 comments

The documentation is currently really lacking in anything that can teach someone how to use this library to process D code. Some inspiration can be taken from the Phobos documentation to improve this, but more examples would be the first step.

LiamM32 avatar Mar 25 '24 22:03 LiamM32

for (larger) examples you can right now look at code from

  • https://github.com/dlang-community/dfmt (mostly token processing)
  • https://github.com/dlang-community/D-Scanner (lots of simple static AST scanners which will typically be what you write with this library)
  • https://github.com/dlang-community/DCD (more advanced indexing and semantic analysis + library "dsymbol" to do it, for symbol resolving)

WebFreak001 avatar Mar 26 '24 03:03 WebFreak001