[fpc-pascal] BNF grammar for fpc
Florian Klaempfl
florian at freepascal.org
Fri Oct 16 11:53:46 CEST 2009
Marco van de Voort schrieb:
> In our previous episode, J�rgen Hestermann said:
>>> There is not even a proper open one for Delphi. At least there wasn't till a
>>> while back.
>> That may be because it is no longer possible to write a BNF grammar for
>> these compilers due to the c-style extensions.
>
> Odd that there are grammers for C and C++ then, and they have no problem :-)
> Please don't grab any random other thread to make your point.
>
> The reason is probably more because Wirthian languages traditionally use
> recursive descent parsers.
gcc as well for several years simply because a recursive descent parser
is faster than one generated automatically from a BNF grammar.
More information about the fpc-pascal
mailing list