[antlr-interest] simple question

lloyd_from_far ld at galador.net
Tue Oct 28 20:06:40 PST 2003

given this (or change this tokens as you see fit):
NAME: options { testLiterals=true; }:
	( 'a' .. 'z' );
SPACE: (' ') +;

how would you cut the following string:
"SELECT a field name with plenty of space FROM aTable"

into the 4 following Tokens:
'a field name with plenty of space'


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 

More information about the antlr-interest mailing list