Reputation: 930
Does anyone of you know if the BNF or EBNF of Turbo Pascal is available somewhere (LEGALLY!!)?
Upvotes: 2
Views: 984
Reputation: 95334
The DMS Software Reengineering Toolkit is a commercial platform for building program analysis and transformation tools. It is configured by providing it with an explicit BNF grammar for the langauge to be processed.
DMS can be obtained with a Delphi 6 front end. This has been used to implement AOP for Delphi.
Building other dialects is straightforward.
EDIT: (respond to comment by OP on another answer): DMS would be a very convenient platform on which to build a compiler.
Upvotes: 2