Florian Klaempfl schrieb:

So you are suggesting a preprocessor that reads C and outputs Pascal? :-)
No, this were what ToPas does. Instead I suggest to skip the
intermediate Pascal code, and to compile the given source code immediately.

So you want a hybrid pascal/C compiler? Or at which point do you want to
do macro expansion and translation of the resulting C?

All that is done in the compiler front-end, AKA parser.

BTW, where do you see any C constructs that would require to extend the FPC compiler?

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to