Adriaan van Os wrote:
I will be pleased to discuss CodeWarrior Pascal, it's EBNF is at the bottom of this message.
As I don't have the time to work through the grammar now, I'll wait for you (or others) to tell me about the features missing (compared to what GPC has, not compared to the standard only).
(7) Filter out a handful of compiler features that would really assist GPC development on Mac OS X (and porting from CodeWarrior). On this list wil be UNIV parameters, I guess, but this is premature.
No idea what they are ...
CodeWarrior Pascal built on a long tradition of Macintosh Pascal compilers: TML Pascal, Think Pascal, MetroWerks Pascal and MPW Pascal. The base for the language is Apple's implementation of UCSD Pascal for the Apple II, way back in 1980. It has many extensions, some of them typical for Macintosh development, e.g. UNIV parameters and facilities to interface with Mac OS system software. Other extensions come from Borland/Turbo Pascal, e.g. CONST parameters and "typed constants".
And GPC has them as well.
Frank