I just uploaded the very first release of the Koopa Cobol Parser project on sourceforge. You can find the website for the project here.
If you're wondering "why?", then this project probably isn't for you. A short answer is that there exist no free, extensible, adaptable Cobol parsers which are able to handle real legacy Cobol code. Koopa tries to fill that gap.
While it is still very much an alpha release, there are some redeeming features:
- It makes extensive use of unit testing at the level of individual grammar rules. This helps with quick, detailed detection of problems.
- It includes an ANSI 85 testsuite, which it is able to process quite well. There are some failures, but these are quite reasonable.
- It has been run on over 1.5GB of industrial Cobol code, and again performs quite well.
So if you're looking for a no-strings-attached flexible Cobol parser, give Koopa a try!
PS. If you're wondering about the name, the thought process went something like: Cobol Parsing -> Co Pa -> Koopa...