The Castalia Delphi Parser is a high speed hand-written lexer and predictive recursive-descent parser for Delphi source code. This is the same parser used in the Castalia product.
The Castalia Delphi Parser is a fork of Martin Waldenburg's original mwPasLex and mwPasPar. Waldenburg's project was abandoned several years ago. This project is a resurrection of the original, and has been updated for more recent versions of Delphi.
To download a working copy with Git, use this command:
git clone git://github.com/jacobthurman/Castalia-Delphi-Parser.git
Otherwise, you may browse and download the source here.