🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: net.lang.pascal
2 messages
2 total messages Started by Ian Ornstein PK03/2-28C DTN 223-... Tue, 15 Jan 1985 14:52
USENET Contribution
#139
Author: Ian Ornstein PK03/2-28C DTN 223-...
Date: Tue, 15 Jan 1985 14:52
20 lines
1498 bytes
[]
I do my "home projects" development using p-system and pascal.  The only
cross reference program I have is too complicated and fussy ( program must
be syntactically correct) for my use.

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. The annoying
problem is it prompts for all sorts of tree questions that would only
be used for programmers doing operating system type code.  My projects
are strictly applications.

				Thanks in advance,
				Ian Ornstein
				USmail 14 Brattle Terrace
				       Arlington, MA 02174
				work:  (617) 493-9145 
				home:  (617) 646-5420
Cross Reference Generator for Pascal
#137
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads