Related articles |
---|
Pre-processor for VMS COBOL i900021@munnari.oz.au (1992-05-19) |
Re: Pre-processor for VMS COBOL grimlok@hubcap.clemson.edu (1992-05-20) |
Newsgroups: | comp.compilers,alt.cobol |
From: | grimlok@hubcap.clemson.edu (Mike Percy) |
Keywords: | Cobol |
Organization: | Clemson University |
References: | 92-05-115 |
Date: | Wed, 20 May 1992 14:01:41 GMT |
i900021@munnari.oz.au (david nicol) writes:
> I am currently engaged in a project that must have been done many
>times over...yes, another pre-processor for VAX COBOL! I have been led to
>understand that VAX COBOL conditional compiling requires the "column mode"
>coding, which at our installation is not in use.
Damn, I'd better go back and change all our code that's been compiled
with VAX COBOL....
Check again, there is a compiler switch (/[NO]ANSI_FORMAT I think) that
controls whether or not the source must be in 1-6,7-72 format.
> The syntax is not a problem, (I have written a context free
>grammar), nor is the output, (COBOL code of course),...its that sticky bit
>in between. If you have any information about Translator Writing Systems,
>or building pre-processors on the VAX VMS platform, or indeed if you have
>been fortunate enough to have experienced this joy yourself, please
>contact me at i900021@ironbark.bcae.oz.au.
For other purposes, I've been working on yacc/lexing COBOL. If you had
success - SHARE! It's certainly a non-trivial grammar.
Mike Percy | grimlok@hubcap.clemson.edu
Sr. Systems Analyst | mspercy@clemson.clemson.edu
Info. Sys. Development | mspercy@clemson.BITNET
Clemson University | (803) 656-3780
[David Cohen <iccsap020@spacm1.Spac.Spc.Com> also noted that the compiler
should be able to handle either format. There have been many requests in
the past for a yacc/lex parser for Cobol. The only available one I know of
is the one that comes with Abraxas pcyacc. -John]
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.