lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Couldn't the lexer recognize any instance of two string-enclosing  
> sequences around a concatenation operator? (This would also result in the  
> ability to avoid constant folding by putting parentheses around a string.)

This was discussed last time as well. This solution requires unbounded
lookahead (and is a parser task, not a lexical task). Consider
	a= ("hello".."world".."from".."Lua")
versus
	a= ("hello".."world".."from".._VERSION)