Parrot 2.0 will come out in less than a week, and I'd like to make sure that
Rakudo #25 will work well with it. What's the current status, and are there
any bugs or errors that need addressing before the release?
-- c
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev
Rakudo doesn't build on parrot HEAD since the CallSignature +
CallContext merge (or whatever it was called), so it's kinda hard to
figure out if there are any parrot bugs affecting Rakudo.
Cheers,
Moritz
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev
Try this patch. It should work.
--
Bacek
Thanks. I'll test it.
Moritz
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev
I've tested it, in Rakudo's "ng" branch:
Test Summary Report
-------------------
t/spec/S02-literals/sub-calls.t (Wstat: 0
Tests: 20 Failed: 3)
Failed tests: 17, 19-20
t/spec/S02-names/identifier.rakudo (Wstat: 0
Tests: 15 Failed: 1)
Failed test: 8
t/spec/S02-names_and_variables/list_array_perl.rakudo (Wstat: 256
Tests: 19 Failed: 13)
Failed tests: 1-12, 19
Non-zero exit status: 1
Parse errors: No plan found in TAP output
t/spec/S02-whitespace_and_comments/sub-block-parsing.rakudo (Wstat: 0
Tests: 4 Failed: 0)
TODO passed: 3
t/spec/S03-operators/subscript-vs-lt.rakudo (Wstat: 0
Tests: 4 Failed: 2)
Failed tests: 1-2
TODO passed: 3-4
t/spec/S04-phasers/end.rakudo (Wstat: 0
Tests: 3 Failed: 1)
Failed test: 1
t/spec/S06-advanced_subroutine_features/lexical-subs.rakudo (Wstat: 256
Tests: 6 Failed: 0)
Non-zero exit status: 1
Parse errors: Bad plan. You planned 9 tests but ran 6.
t/spec/S06-signature/positional-placeholders.rakudo (Wstat: 0
Tests: 6 Failed: 0)
TODO passed: 6
t/spec/S06-signature/optional.rakudo (Wstat: 0
Tests: 14 Failed: 0)
TODO passed: 11, 14
t/spec/S12-class/declaration-order.t (Wstat: 0
Tests: 2 Failed: 1)
Failed test: 1
t/spec/S12-class/basic.rakudo (Wstat: 0
Tests: 33 Failed: 1)
Failed test: 30
t/spec/S12-class/instantiate.rakudo (Wstat: 0
Tests: 6 Failed: 1)
Failed test: 4
t/spec/S32-num/abs.rakudo (Wstat: 0
Tests: 60 Failed: 0)
TODO passed: 9-10, 14-15, 29-30, 34-35
t/spec/S32-num/int.rakudo (Wstat: 0
Tests: 70 Failed: 8)
Failed tests: 2-9
t/spec/S32-num/rat.rakudo (Wstat: 256
Tests: 7 Failed: 1)
Failed test: 7
Non-zero exit status: 1
Parse errors: No plan found in TAP output
Files=86, Tests=2093, 65 wallclock secs ( 0.93 usr 0.20 sys + 104.11
cusr 13.62 csys = 118.86 CPU)
Result: FAIL
Of course other parrot errors might be involved.
Oookey. It least this patch is required. But there is still some
problems with returning values from "eval". I'm trying to fix it.
bacek@icering:~/src/rakudo$ git diff src/cheats/perl6-compiler.pir
diff --git a/src/cheats/perl6-compiler.pir b/src/cheats/perl6-compiler.pir
index fb81655..03bf0e8 100644
--- a/src/cheats/perl6-compiler.pir
+++ b/src/cheats/perl6-compiler.pir
@@ -8,7 +8,7 @@
context_loop:
if null context goto context_done
- lexpad = context['lex_pad']
+ lexpad = getattribute context, 'lex_pad'
lexpad_it = iter lexpad
lexpad_loop:
unless lexpad_it goto lexpad_done
@@ -19,7 +19,7 @@
lexinfo[$S0] = $P0
goto lexpad_loop
lexpad_done:
- context = context['outer_ctx']
+ context = getattribute context, 'outer_ctx'
goto context_loop
context_done:
.return (lexinfo)
--
Bacek
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev