On 2009-11-09, Tony Arcieri <tony / medioh.com> wrote:
> That's a can of worms I've been trying to avoid, as there are lexing/parsing
> ambiguities surrounding the combination of both.  How do you parse a+++b vs
> a++++b vs a+++++b?

Maximal munch.  Those are, in order:
	a++ + b
	a++ ++b (a syntax error)
	a++ ++ +b (also a syntax error)

But I think the more difficult issue is the semantics.

-s
-- 
Copyright 2009, all wrongs reversed.  Peter Seebach / usenet-nospam / seebs.net
http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures
http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!