Skip to content
colomon edited this page Sep 13, 2010 · 11 revisions

colomon: ng: my $a = 3/2; say "$a ";
[11:08am] p6eval: ng 46e2ef: OUTPUT«Multiple Dispatch: No suitable candidate found for ‘concatenate’, with signature ‘PPP→P’␤current instr.: ‘_block14’ pc 29 (EVAL_1:0)␤»
colomon: ng: my $a = 3/2; say " $a";
[11:09am] p6eval: ng 46e2ef: OUTPUT« 1.5␤»
Fixed!

colomon: ng: my @a; @a.push: “a”;
[11:14am] p6eval: ng 46e2ef: OUTPUT«Null PMC access in get_integer()␤current instr.: ‘perl6;Seq;elems’ pc 268002 (src/gen/core.pir:24115)␤
Fixed!

mberends: ng: if “abcde” ~~ /b(.)d/ { say "ok " ~ $0 }
Unable to parse blockoid, couldn’t find final ‘}’ at line 1
Fixed!

colomon: ng: (1..10).grep({say $_; 1;}).eager
[12:31pm] p6eval: ng bb8057: OUTPUT«Mu()␤Mu()␤Mu()␤Mu()␤Mu()␤Mu()␤Mu()␤Mu()␤Mu()␤Mu()␤»
Fixed!

colomon: Lots of stupid little math tests are failing because we cannot define constants yet (as far as I know), so no pi, i, or e.
Now have pi and e, i is probably least important.

colomon: ng: my $a; say $a ~ “hello”
[11:13am] p6eval: ng 46e2ef: OUTPUT«Mu()hello␤»

colomon: sink context should be eager.