[antlr-interest] Enhance ANTLR to support comments?
    atripp54321 
    atripp at comcast.net
       
    Thu Jul 17 10:36:55 PDT 2003
    
    
  
I'd like to propose enhancing ANTLR to explicitly
support comments.
The proposal is here:
http://jazillian.com/antlr/antlrComments.html
I realize that theoretically, a "compiler-compiler"
shouldn't deal with comments. But it just seems like it's
a big enough real-world issue (witness the countless
"How do I handle comments" posts) that it should be dealt with.
It seems like a couple of small changes to ANTLR could
be made to have ANTLR-generated lexers attach comments to
Tokens, without breaking any existing ANTLR-based apps.
Let me know what you think of the idea, even if you think
"Blasphemy!"
Andy
 
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
    
    
More information about the antlr-interest
mailing list