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

Reply via email to