Re: Missing source code
- From: Steve Comstock <steve@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 30 Aug 2005 17:50:10 -0600
Paul Gilmartin wrote:
In a recent note, Bill Klein said:
Date: Tue, 30 Aug 2005 14:29:58 -0500
<[log in to unmask]> wrote in message news:<[log in to unmask]>...
As the missing source code problem is popping up now and then, I'm
thinking that maybe it would be a good idea to include the source code (compressed) in the load module, like you could do when compiling REXX programs. This would guarantee that you always have a source code matching the running programs.
What a concept! Such information would, of course, be invaluable to a source language interactive debugger.
It would also be invaluable to someone who wants to steal code [then perhaps modify it]. Ease of use (UNIX attitude) versus intellectual property + control of distribution (z/OS attitude) classic collision.
Kind regards,
-Steve Comstock
And, long ago, I had the thought that translator output listings ought to be acceptable to the same translator as input. Many programmers use their favorite editor as a listing viewer. Why not, then be able to correct the typo in the same edit session and resubmit that only viewable file to the translator? This would require mostly that information added by the translator be so delimited that the translator would ignore it; not even echo it to the listing on the following iteration.
That reminds me of "Point and Shoot" editing. Place the cursor on a translator message in the displayed listing; press a PF key, and an edit session opens with the indicated line in the source file centered and highlighted. HLASM provides sufficient information in the listing to do this (unless the source is in HFS); has anyone implemented it? Other mainframe languages? I did it once for a truly odd couple: Mainsail and XEDIT under VM/CMS.
BASIC and LightSpeed Pascal took the complementary approach: they save nothing but the object code; the editable source is generated by decompilation.
-- gil
---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html .
- References:
- Re: Missing source code (was: New Cobol Releases (was FASTSRT
- From: Paul Gilmartin
- Re: Missing source code (was: New Cobol Releases (was FASTSRT
- Prev by Date: Re: COBOL callable services?
- Next by Date: Re: Future ISPF directions
- Previous by thread: Re: Missing source code (was: New Cobol Releases (was FASTSRT
- Next by thread: Re: Missing source code (was: New Cobol Releases (was FASTSRT
- Index(es):
Relevant Pages
|