Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!ut-sally!im4u!rutgers!ames!amdcad!sun!pitstop!sundc!rlgvax!vrdxhq!bms-at!stuart From: stuart@bms-at.UUCP (Stuart D. Gathman) Newsgroups: comp.sources.d Subject: Re: Getting hack to work on 7 character systems Message-ID: <475@bms-at.UUCP> Date: Wed, 9-Sep-87 15:31:56 EDT Article-I.D.: bms-at.475 Posted: Wed Sep 9 15:31:56 1987 Date-Received: Sat, 12-Sep-87 03:15:16 EDT References: <79@stb.UUCP> Organization: Business Management Systems, Inc., Fairfax, VA Lines: 14 Summary: Police a better fix A program called 'police' was posted to the net a while back. It is a much cleaner way of handling long names on a short name system. It lexes the 'C' source replacing long identifiers with (almost always) unique short versions based on a 32bit CRC of the original. (I encounterd no collisions compiling GNU CC or HACK). It works best as a special option for 'cc' if you can make such. Otherwise, some 'make' rules will do the job. There were some minor bugs in 'police' such that it couldn't process its own source. The lexer didn't know about hex constants. This was easy to fix. -- Stuart D. Gathman <..!{vrdxhq|dgis}!bms-at!stuart>