Although it is quite difficult to find compiler resources for Delphi there are meanwhile some, which allow to create lexical scanners and/or parsers in Object Pascal. For the Delphi Compiler Generator I used the Lex and Yacc translation for Turbo Pascal and Delphi from Albert Graef, which exists already in several different versions. DCG is an independent branch of this development and offers some additonal features (mainly related to the GUI) that other implementation do not have.
Due to my limited time to work on DCG there is still not much more than a first beta available, which can nonetheless already be used for generating lexers and parsers. Don't expect too much however. I know there is still a lot to change and improve.
DCG is released as freeware for non-commercial use. Please read the Readme.txt file in the archive for conditions of use.
| Download link: | Delphi Compiler Generator (DCG) |
| Description: | The main package containg the sources of DCG. |
| Version: | n/a |
| Last change: | 03. Feb 2007 |
| Download count: | 53438 |
| Package size: | 1,039 KB |
| Author: | Mike Lischke (www.soft-gems.net) |
| Platform: | Delphi 4 - 5 |
| Type of download: | Delphi project |
For collaborative development I use Google Code since a while. At the time being only Virtual Treeview is hosted there.
If you want to register in the Soft Gems forums please do so but additionally send me an e-mail, so I can activate your account. This countermeasure is necessary to fight spammers.
The VIP code to use for registration is 33209.