[fpc-pascal] BNF grammar for fpc

Marco van de Voort marcov at stack.nl
Fri Oct 16 10:34:47 CEST 2009


In our previous episode, leledumbo said:
> 
> > is a complete grammar for fpc written in some variant of BNF available
> > somewhere?
> > 
> > I searched the website and the wiki, to no avail.
> 
> AFAIK, there's none. The developers adding language features by directly
> modifying the code. Even there's a bounty for it. See:
> http://wiki.lazarus.freepascal.org/Bounties#FPC_grammar

There is not even a proper open one for Delphi. At least there wasn't till a
while back.

IIRC there was a discussion about this in comp.lang.pascal.delphi.misc
somewhere in the summer, and some new sources were mentioned. Have a look.



More information about the fpc-pascal mailing list