Re: Missing source code (was: New Cobol Releases (was FASTSRT



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.

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
--
StorageTek
INFORMATION made POWERFUL

----------------------------------------------------------------------
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
.



Relevant Pages

  • Re: Missing source code
    ... 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. ... 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. ...
    (bit.listserv.ibm-main)
  • Re: Understanding Error Messages
    ... The listing you can see my listing in: ... you fix mainframe compile problems by fixing the mainframe source code ... Finally, just like you are using a 15 year old compiler on the PC, you are also ...
    (comp.lang.cobol)
  • Re: LLNL Library
    ... busy recreating the source code of LLLPPP, ... So far, Roche has not posted his regenerated source listing, or the ... I'll call this the "CPMUG file". ... that the LLNL listing included the square root routine; ...
    (comp.os.cpm)
  • Re: Usage of Hook function in Common Dialog (OFN_ENABLEHOOK)
    ... Listing that part of your source code out would be more helpful. ... Does your hookproc exists in the same module you call the getopenfilename? ... callbacks for any kind of events in the FileDialog. ...
    (microsoft.public.win32.programmer.ui)
  • Re: WANTED: "BASIC Forum" References
    ... MITS offered the Basic Source Code for a mere $3,000 ... Far from being donated by Microsoft, the source listing in the Pusey ... by Gates' old tutor Harry Lewis. ... But, concludes Griffiths, "The implication ... ...
    (comp.os.cpm)