Path: utzoo!attcan!uunet!cs.utexas.edu!samsung!munnari.oz.au!uniwa!vaxa.cc.uwa.oz.au!d_volaric From: d_volaric@vaxa.cc.uwa.oz.au Newsgroups: comp.sys.mac.programmer Subject: Re: Format of Think Pascal source files. Message-ID: <1990Aug29.133538.2101@vaxa.cc.uwa.oz.au> Date: 29 Aug 90 05:35:36 GMT References: <1990Aug25.020749.2091@vaxa.cc.uwa.oz.au> <4007@husc6.harvard.edu> Organization: University of Western Australia Lines: 38 In article <4007@husc6.harvard.edu>, siegel@endor.uucp (Rich Siegel) writes: > > The internals of the Entire Document and project file are proprietary. Is there an address (paper mail type) I can write Symantec at? I'm quite willing to sign non-disclosure agreements, stick to certain contitions, etc. > > It would actually make your task simpler to cross-reference pure > text source files, particularly because the code would be portable to other > systems, and also because text is much simpler to scan and parse. > Well, yes and no. I'm thinking of doing a version for Turbo Pascal on the PC (boo, hiss) and I'll end up writing a scanner and lexical analyser anyway, but I had this dream of running a cross referencing tool under multifinder (i.e. who defines ; calls ; is called by ; etc, where is a unit, object, type var or const. Very handy for large projects and/or code you didn't write.) which updates every now and then. Saving as text is slow on large files and having to explicitly save each file in the project as text would be very time consuming. Looking at the wonderful auto-formatter in Think Pascal, it seems to do the scanning and lexing (and even some parsing) already. I'm assuming this is saved in the document. This greatly reduces the workload for me. It means I only have to do some simple parsing (searching for identifiers, procedure/function headings, and with statments (the yuk bit) and counting begins and ends). Having the file formats would be nice, but it's not worth hacking them. > R. > > > Rich Siegel Software Engineer Symantec Languages Group > Internet: siegel@endor.harvard.edu UUCP: ..harvard!endor!siegel Darko Volaric, Dvorak Computer.