stuart@bms-at.UUCP (Stuart D. Gathman) (09/09/87)
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 <stuart@bms-at.uucp> <..!{vrdxhq|dgis}!bms-at!stuart>
michael@stb.UUCP (Michael) (09/14/87)
Police may NOT be better. From your posting, police sounds like an automated way of taking a C source code and replacing long variable names with CRC based garbage. What I posted was a program specific way of getting meaningfull names WITHOUT colision. Also, does police work on #define constants? Most of hacks colisions are from those (yes, I have a terrible cpp.) Michael. -- : Michael Gersten seismo!scgvaxd!stb!michael : Copy protection? Just say "Off site backup"