On 2/2/06, <b class="gmail_sendername">John Meacham</b> &lt;<a href="mailto:john@repetae.net">john@repetae.net</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Feb 02, 2006 at 02:31:32AM +0100, Josef Svenningsson wrote:<br>&gt; I still think there is an inconsistency here. And it has to do with maximal<br>&gt; munch lexing. Maximal munch is what we normally expect from a lexer for a
<br>&gt; programming language. But the way comments work at the moment breaks maximal<br>&gt; munch. The longest possible read is to read the whole line as a comment and<br>&gt; not interpret for instance --^ as an operator. It breaks any programmers'
<br>&gt; intuition not only beginners'. I still get it wrong from time to time.<br><br>huh? this is exactly the opposite. maximal munch means that it would<br>consume everything and then interpret it as an operator. having it the
<br>other way would be a special case because you would have to stop<br>consuming input after the first --.</blockquote><div><br>I new this response were coming.... It basically comes down to how one interprets the maximal munch. I know there are plenty of people who agree with you. But there are those that agree with my standpoint as well. I'm not going to propose that we start arguing about this. I suppose we'll have to use other arguments to persuade each other about the comment syntax.
<br><br></div>/Josef</div>