ian@loral.UUCP (Ian Kaplan) (01/17/85)
> > 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
grunwald@uiucdcsb.UUCP (01/23/85)
re: pascal cross reference check net.sources for "pascref.p" and "pascref.1"