Re: C-preprocessor for COBOL?
From: Bernard Giroud (bgiroud2_at__nospam_free.fr)
Date: 07/07/04
- Previous message: Bernard Giroud: "Re: Cobol Copybook Parsing"
- In reply to: Herwig Huener: "Re: C-preprocessor for COBOL?"
- Next in thread: Bernard Giroud: "Re: C-preprocessor for COBOL?"
- Reply: Bernard Giroud: "Re: C-preprocessor for COBOL?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 07 Jul 2004 06:54:06 +0200
Herwig Huener a écrit :
> 2004-07-06 11:55:55 MESZ
>
> "Richard" <riplin@Azonic.co.nz> schrieb:
>
> > ...
>
> >
> > Maybe, but it isn't hard to write a preprocessor that can more easily
> > handle Cobol source, I have written a few.
>
> So did I - preprocessor for natural language, I mean.
> Everybody should write a few preprocessors in a
> lifetime - it's great fun - and after having played
> with it a while, one finds out that emacs can do
> the job just as well.
>
> fun aside: If one writes a preprocessor for purposes
> of conditional compilation for a language that has
> not (yet) such a thing, one must also invent a suitable
> notation - a mini-programming language, so to say.
>
Conditional compilation is fine with the C preprocessor:
I used it to control the generation of a Postscript driver.
But as you said, conditional is already in COBOL,
and I agree with Richard for areas like commenting
and mostly way of "calling" preprocessing functions.
BTW, yes TC is still alive, although some of us can't
spend too much time on it. Life is hard these days !
Too many mergers, and too many programmers on
the market...
>
> OK - everybody should invent a new programming-language,
> now and then, in a life time - it's great fun.
>
> Herwig
-- Bernard Giroud Open Source COBOL Tools Developer
- Previous message: Bernard Giroud: "Re: Cobol Copybook Parsing"
- In reply to: Herwig Huener: "Re: C-preprocessor for COBOL?"
- Next in thread: Bernard Giroud: "Re: C-preprocessor for COBOL?"
- Reply: Bernard Giroud: "Re: C-preprocessor for COBOL?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|