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. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal