🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #4746

Re: Wang VS Cobol to C translator

#4746
From: chris
Date: Mon, 15 Jun 1987 06:37
22 lines
1418 bytes
In article <902@rtech.UUCP> brent@rtech.UUCP (Brent Williams) writes:
>The main problem [with COBOL-to-C in general] is the use of packed
>decimal versus floating point.  It's not part of standard C to support
>use of packed decimal numerics.

So write a run-time library.

>Other problems exist, ....

Sounds like an understatement. :-)

>[Many other hard things]

As long as the languages are Turing-equivalent, you can simulate
anything in anything else.  Having done some translation myself,
though, I would say that the best results are accomplished by
rewriting the original program largely from scratch, borrowing only
key algorithms and/or data structures.  Such `translations' are
expensive, of course.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690)
Domain:	chris@mimsy.umd.edu	Path:	seismo!mimsy!chris
Technical Details
Message-ID: <7055@mimsy.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!gargoyle!oddjob!mimsy!chris
References: <600@attvcr.UUCP> <902@rtech.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!gargoyle!oddjob!mimsy!chris
From: chris@mimsy.UUCP
Newsgroups: comp.lang.misc
Subject: Re: Wang VS Cobol to C translator
Message-ID: <7055@mimsy.UUCP>
Date: Mon, 15-Jun-87 02:37:53 EDT
Article-I.D.: mimsy.7055
Posted: Mon Jun 15 02:37:53 1987
Date-Received: Tue, 16-Jun-87 01:54:05 EDT
References: <600@attvcr.UUCP> <902@rtech.UUCP>
Distribution: na
Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742
Lines: 22