[fpc-devel] Alternative parsers

Michael Schnell mschnell at lumino.de
Wed Oct 20 12:12:17 CEST 2010


  On 10/20/2010 11:43 AM, Juha Manninen (gmail) wrote:
> However, C++ is a poor example because its syntax is a deep swamp.
>
> The frontend would need to ban lots of syntax, practically creating a new C++
Yep. That is why it would be essential to use the original GNU 
preprocessor to keep the "pseudo c++" frontent for FPC as small as 
possible. Macros can do some magic tricks and might help to translate 
real c++ to "pseudo c++" in some place. Of course there is lots of stuff 
that can't be ported (such as multiple inheritance).

-Michael



More information about the fpc-devel mailing list