Software Secret Weapons™  
Large Scale Source Code Analysis With Abstract Syntax Tree Query Language posted by Pavel Simakov on 2006-05-15 13:28:22 under Code Linguine
view comments
 


About  •  Contact  •  Articles  •  Projects  •  My Links  •  My Bookshelf  •  Past And Present

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:

  1. open the sip file archive
  2. run linguine.exe
  3. 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
  4. select one of the queries on the "Queries" tab; click edit; at later time you can add more queries that better suit your needs
  5. close Options dialog
  6. go to File | Add Project
  7. select "Files" in the folders view; drag-drop some *.pas files into file list on the right-hand side
  8. 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)
  9. click Run button to start the process
  10. to view the results select "Hits" node in the folder view
 

Comment (1)

  • 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.


Leave a comment


  Copyright © 2004-2007 by Pavel Simakov SourceForge.net Logo