I need to parse Delphi .pas files to work with classes with read/write ability. Adding/Modifying/Deleting fields, properties, methods etc. Any idea how to implement this? The implementation is not necessarily in Delphi, scripting languages are also allowed.
There is the Castalia Delphi Parser by Jacob Thurman currently hosted on GitHub.
CnWizards have built-in syntax highlighter so they use some parser too, but I do not remember which exactly. You can look into their sources at https://github.com/cnpack/cnwizards
PasParse is good for you ! Delphi port of the excellent (C#) DGrok.
Delphi 2007 level.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With