home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,366 of 2,753   
   ruben safir to George Neuner   
   Re: antlr   
   22 Mar 16 23:54:19   
   
   From: ruben@mrbrklyn.com   
      
   On Tue, 15 Mar 2016 10:53:25 -0400, George Neuner wrote:   
      
   > Antlr now is supported mainly on Stackoverflow.com and via a Google   
   > group.  see http://www.antlr.org/support.html   
      
   Lets try usenet   
      
   I have two grammars, one with white space   
      
   WS	 : [ \n\t\r]+ ->skip;   
      
      
   and one, or two actually,  for comments   
   COMMENT: '#' .*? '\n' -> channel(HIDDEN);   
   COMMENT2: '/*' .*? '*/' -> channel(HIDDEN); //This pulls through   
                                               //linefeeds?   
      
   What is the practical difference between the channel(HIDDEN) and the skip   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca