Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!ucsd!ucbvax!GARGOYLE.UCHICAGO.EDU!goer%sophist From: goer%sophist@GARGOYLE.UCHICAGO.EDU (Richard Goerwitz) Newsgroups: comp.lang.icon Subject: icon #comments Message-ID: <9009261821.AA10891@sophist> Date: 26 Sep 90 18:21:45 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 7 Has anyone worked up an algorithm for stripping comments out of Icon source files without having to parse every expression? It appears that the # shouldn't occur except in strings or csets, or as the com- ment delineator. If this is correct, it shouldn't be too hard to strip them. Is this correct? -Richard