Re: C-preprocessor for COBOL?

From: Warren Simmons (wsimmons5_at_optonline.net)
Date: 07/05/04


Date: Mon, 05 Jul 2004 15:19:50 GMT

Herwig Huener wrote:
> 2004-07-05 12:00:00 MEST
>
> This is not supposed to be a joke.
>
> The C-preprocessor which can be used quite
> independent of C, at least in the Unix-Environment,
> can be used for other languages than C - it can
> even be used for poetry and such.
>
> Now, in the old days, when COBOL did not have
> conditional compilation, you could, for instance,
> "misuse" the C-preprocessor to have conditional
> compilation. Also, at least some of the other
> capabilities of the C-preprocessor could also be
> used, if one dares to do so.
>
> Does anyone know, whether there are/were serious
> projects where this was regulary done?
>
> Herwig
>
>
Herwig,

I would contact the Tiny COBOL project. Their
'85 compiler is built on C, and they have
first hand experiences that might help.

Warren Simmons