Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #1677

Re: antlr

From ruben safir <ruben@mrbrklyn.com>
Newsgroups comp.compilers
Subject Re: antlr
Date 2016-03-22 23:54 -0400
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <16-03-005@comp.compilers> (permalink)
References <16-03-001@comp.compilers> <16-03-004@comp.compilers>

Show all headers | View raw


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

Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

antlr ruben safir <ruben@mrbrklyn.com> - 2016-03-13 05:01 -0400
  Re: antlr George Neuner <gneuner2@comcast.net> - 2016-03-15 10:53 -0400
    Re: antlr ruben safir <ruben@mrbrklyn.com> - 2016-03-22 23:54 -0400
      Re: antlr George Neuner <gneuner2@comcast.net> - 2016-03-23 02:56 -0400

csiph-web