Rhys Weatherley (via RT) wrote:

# New Ticket Created by Rhys Weatherley # Please include the string: [perl #18034]
# in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=18034 >

The attached patch adds some missing expression node types to the
imcc syntax.  In particular, for the Parrot instructions bxor, bnot,
lsr, and, or.

Thank you. Applied, except the bxor change, which breaks a perl6 test (t/compiler/1_5.p6).


There is some ongoing discussions how the binary ops in perl6 will
look like finally, but using '~' as bxor is the current state.


'^=' is perl6's hyper assign operation for arrays, which will or will not sometimes be handled inside parrot, so I don't like to use '^' currently.

Additionally you can spit out an explicit

bxor $I1, $I2, $I3

to be independed from not yet finished operator changes.


Rhys Weatherley.

leo


Reply via email to