Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Cobol Misc > Re: New Cobol c...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 13 Topic 91 of 183
Post > Topic >>

Re: New Cobol compiler written in Cobol

by "steve.t" <sthompson@[EMAIL PROTECTED] > Jan 29, 2005 at 09:44 PM

Paul:

The code generator, in my opinion, would have to be architecture
specific. It is possible to generate an object deck/file with COBOL now
(I know, I've done similar work).

I am currently working on a compiler based on COBOL (the source
language). However, I intend to have different code generators
depending on whether I want to generate an object or new source (a
migration tool).

COBOL is an interesting language in that you must do different things
depending on the environment you are in (perhaps I should have said
DIVISION?). The keywords change meanings! (But you must have already
known that).

I wish I could say that I would be interested in what you are doing --
from the viewpoint of being able to test it. However, due to probable
changes taking place in my life, I may not be able to continue the
development I'm currently doing.

The IDE and other things are not really needed in my opinion. Assuming
that one is using the Windoze environment, a DOS window can be used to
run the compiler, and Notepad can be used to view the listing/source
files. I happen to prefer an "SPF" product for source work.

Doing things without a runtime means having to generate a lot of code
from/with the code generator.

File handling will also get to be pretty labor intensive. You will have
to write all the code for handling the file and error processing, etc.

Might I suggest that you first tackle the first level of COBOL sup****t
(Mr. Klein can give you the levels) and then add to that. Be prepared
for the source processor to be rather large and possibly have to be
written in separate subprograms.

Again, the code generator is what concerns me. How and who would write
the generator for each environment?

Lastly, I would love to have an '85 COBOL compiler for Linux. I could
move my whole development environment off to Linux and get rid of
Windoze.

Regards,
Steve.T
 




 13 Posts in Topic:
New Cobol compiler written in Cobol
Paul Robinson <paul@[E  2005-01-28 14:54:40 
Re: New Cobol compiler written in Cobol
Donald Tees <donald_te  2005-01-28 10:16:35 
Re: New Cobol compiler written in Cobol
"JerryMouse" &l  2005-01-28 11:11:05 
Re: New Cobol compiler written in Cobol
Paul Robinson <paul@[E  2005-01-28 17:38:41 
Re: New Cobol compiler written in Cobol
"Chuck Stevens"  2005-01-28 12:01:17 
Re: New Cobol compiler written in Cobol
"William M. Klein&qu  2005-01-28 20:53:33 
Re: New Cobol compiler written in Cobol
"William M. Klein&qu  2005-01-28 21:13:30 
Re: New Cobol compiler written in Cobol
Joe Zitzelberger <joe_  2005-01-28 18:04:31 
Re: New Cobol compiler written in Cobol
"steve.t" <s  2005-01-29 21:44:50 
Re: New Cobol compiler written in Cobol
"JerryMouse" &l  2005-02-01 19:39:37 
Re: New Cobol compiler written in Cobol
David Flick <df@[EMAIL  2005-01-31 12:46:04 
Re: New Cobol compiler written in Cobol
"Richard" <r  2005-01-31 11:01:03 
Re: New Cobol compiler written in Cobol
"Richard" <r  2005-02-01 17:50:54 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 20:14:47 CDT 2008.