Monday, May 10, 2010

Arising from Slumber

Sorry for falling off the world of Iron Man; life has been busy.

Seeing the new proto web page got me thinking I should try to bring Vector and ABC forward into the world of the current Rakudo. Okay, make clean and make work fine for Vector. make test fails every test.

So I started in with 01-basics.t. It seems to be having trouble with the custom Unicode operators. Then I remembered seeing something on #perl6 about using our with custom operators. So I added it to both the dot product operators (one of them the Texas version, "dot"). And got the following error:

error:imcc:syntax error, unexpected '\n'
in file 'EVAL_5' line -1061556260

Perl 6 experts, help?

32 comments:

  1. The only case I can remember that leads to such an error is a declaration


    has ($.a, $.b);

    That is with a list of attributes to a single 'has'; not sure if this is related.

    ReplyDelete
  2. I should never try these things when I'm so tired. It turns out I was conflating two different errors last night.

    The unexpected '\n' error occurs when I try to define a custom circumfix operator.

    However, it appears that "our" or not, the customer operator "dot" doesn't work / export from its .pm file properly. At least, I get a parsing error when I use it.

    ReplyDelete
  3. pleasure to find such a good artical! please keep update!! ........................................

    ReplyDelete
  4. 發表,是一種抒發:好的心情可以一再的回味發酵;壞的心情就讓它留在文字裡吧!加油!........................................

    ReplyDelete
  5. nice to know you, and glad to find such a good artical!.........................

    ReplyDelete
  6. 當一個人內心能容納兩樣相互衝突的東西,這個人便開始變得有價值了。............................................................

    ReplyDelete
  7. 一棵樹除非在春天開了花,否則難望在秋天結果。..................................................

    ReplyDelete
  8. 馬丁路德:「即使知道明天世界即將毀滅,我仍願在今天種下一棵小樹。」............................................................

    ReplyDelete
  9. 愛,拆開來是心和受兩個字。用心去接受對方的一切,用心去愛對方的所有。......................................................................

    ReplyDelete
  10. 讓好心情回味發酵;壞心情留在文字裡隨時間消逝吧!............................................................

    ReplyDelete
  11. 成功多屬於那些很快做出決定,卻又不輕易變更的人。而失敗也經常屬於那些很難做出決定,卻又經常變更的人.................................................... ............

    ReplyDelete
  12. 一個人的際遇在第一次總是最深刻的,有時候甚至會讓人的心變成永遠的絕緣。......................................................................

    ReplyDelete