Code Linguine Pascal parser was used in the past for a large scale reengineering of Delphi applications. You can download binary executables
of Abstract Syntax Tree querying application built on top of Code Linguine parser. The source code for this application is not in public domain however.
This is how to run it:
- open the sip file archive
- run linguine.exe
- go to Tools|Options, choose correct path for temp folder; delete all AST processing packages on the "Packages" tab and add all packages (*.llp) back in from the place where you unzipped the package
- select one of the queries on the "Queries" tab; click edit; at later time you can add more queries that better suit your needs
- close Options dialog
- go to File | Add Project
- select "Files" in the folders view; drag-drop some *.pas files into file list on the right-hand side
- select project node in the folders view ("Untitled"); select "Borland Delphi 5 Object Pascal" for the package (you can also process DFM files, just pick different package here)
- click Run button to start the process
- to view the results select "Hits" node in the folder view
Comment by Albert van de Horst — December 10, 2008 @ 5:13 am
Your characters are defined in pixel size. On a sufficient high quality monitor, your site is unreadable. Learn how to use tehe web properly.