Ticket #575 (closed bug: fixed)
Parrot lexicals won't accept unicode identifiers
|Reported by:||pmichaud||Owned by:||coke|
Lexicals in Parrot don't seem to be able to accept unicode identifiers. Here's a test program:
$ cat x.pir .sub main :main $P0 = box 'hello world' .lex unicode:"$\u03b2\u03bf\u03bf", $P0 $P1 = find_lex unicode:"$\u03b2\u03bf\u03bf" say $P1 .end $ ./parrot x.pir error:imcc:syntax error, unexpected USTRINGC, expecting STRINGC ('unicode:"$\u03b2\u03bf\u03bf"') in file 'x.pir' line 3 $
It's possible that all that is needed is to update imcc to accept USTRINGC for lexical names instead of simply STRINGC.
This fix is needed for Rakudo -- see RT #64878 .