🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.pascal
Article #137

Cross Reference Generator for Pascal

#137
From: Ian Kaplan
Date: Wed, 16 Jan 1985 23:52
30 lines
2043 bytes
> 
> Does anyone have a public domain "vanilla" xref program?  Features I'm
> looking for are just an alphabetical listing of variable names and the
> line numbers where they are referenced. A similar listing for procedures
> and functions is also a need.  The biggest problem with the existing
> program is it cannot handle unbalanced Begin End; blocks. 

  
  A pretty good cross reference generator is available from the UCSD Pascal
  User's Group software library.  This software is not quite in the public
  domain, since you have to join the User's Group to get access to the
  library.  I am not involved in the UCSD Pascal community any more, so I
  am unsure of the current address.  

  I once wrote a cross reference generator for UCSD Pascal.  Because Pascal
  has nested variables, it is difficult to get a cross reference generator to
  work unless it follows variable scope.  This can not be achived if BEGINs
  and ENDs are not properly matched.  If the cross reference generator does 
  not follow scope it is difficult to tell whether a variable reference is 
  to a local variable or a function.

  If you want a really simple cross reference generator, which simply does
  identifier names and does not classify them, look in Wirth's book
  Algorithms + Data Structures = Programs.

				  Ian Kaplan
				  Loral Data Flow Group
				  Loral Instrumentation
				  ucbvax!sdcsvax!sdcc6!loral!ian
				  sdcc6!loral!ian@UCSD
Technical Details
Message-ID: <754@loral.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!zehntel!hplabs!sdcrdcf!sdcsvax!sdcc6!loral!ian
References: <225@decwrl.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site loral.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!zehntel!hplabs!sdcrdcf!sdcsvax!sdcc6!loral!ian
From: ian@loral.UUCP (Ian Kaplan)
Newsgroups: net.lang.pascal
Subject: Cross Reference Generator for Pascal
Message-ID: <754@loral.UUCP>
Date: Wed, 16-Jan-85 18:52:31 EST
Article-I.D.: loral.754
Posted: Wed Jan 16 18:52:31 1985
Date-Received: Mon, 21-Jan-85 04:20:00 EST
References: <225@decwrl.UUCP>
Organization: Loral Instrumentation, San Diego
Lines: 30