On Fri, Mar 28, 2008 at 04:35:42PM +0100, Klaas-Jan Stol wrote:
> 
> attached an updated patch including some tests.

Patch applied in r26597.  I made a few modifications before
applying:

- Updated the precedence of postfix:++ and postfix:-- to match

- Fixed the relational ops to use e.g., infix:«>» instead of 'infix:>'
  (to preserve Perl 6 syntax in the grammar)

- Fixed the tests for relational ops to follow Perl 6 semantics.
  In particular, in Perl 6 the expression  1 < 2 == 1  will always
  evaluate to false because relational ops are chained and 2 is
  never equal to 1.  (For a couple of reasons NQP doesn't implement
  chained relational ops just yet so the above "appears" to work,
  but we should still restrict ourselves to Perl 6 semantics.
  Perhaps for now we should force the relational operators to be
  non-associative so people don't inadvertently expect them to
  associate the old-fashioned way.)

Thanks for the excellent patch!

Pm
      

Reply via email to