Hans-Peter Diettrich schrieb: > Marco van de Voort schrieb: > >>>>> How does a C front-end affect the Pascal front-end? >>>> If it doesn't affect it, it has no use or what would you do with macros >>>> in headers? If they aren't supported in the pascal front end, it makes >>>> no sense to read them with a C frontend. >>> [ ] You understand what's a preprocessor >> >> 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? -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
