www.parrotcode.org | Last Release: 0.7.0 "Severe Macaw"
Set by moderator on 28 August 2008.
00:02 zostay joined
Tene I thought I saw some list traffic recently about the n_* ops? 00:22
00:23 Limbic_Region joined
Tene It's nice having someone else work on cardinal with me. 00:43
dmknopp++
dalek r30675 | tene++ | trunk:
: [cardinal]
: * Fix puts to print a newline before every item
: * Fix the test harness
: * Array::each_with_index
: * Array::include?
: * not
: dmknopp++
diff: www.parrotvm.org/svn/parrot/revision?rev=30675
dmknopp :-) 00:44
00:50 bacek joined 01:01 megamic joined 01:27 davidfetter joined 01:53 Zaba joined
dalek r30676 | tene++ | trunk: 02:15
: [cardinal]
: * First draft of 'require' and 'load'
diff: www.parrotvm.org/svn/parrot/revision?rev=30676
02:15 bacek joined 03:02 bacek_ joined
dalek r30677 | tene++ | trunk: 03:09
: MANIFEST fixes for new cardinal files.
diff: www.parrotvm.org/svn/parrot/revision?rev=30677
r30678 | tene++ | trunk: 03:22
: [cardinal]
: * Fix a problem with globals.
diff: www.parrotvm.org/svn/parrot/revision?rev=30678
r30679 | tene++ | trunk:
: [cardinal]
: * test library
: * test library tests
: * convert one test file to use the new test library
diff: www.parrotvm.org/svn/parrot/revision?rev=30679
03:24 spinclad joined
dalek r30680 | tene++ | trunk: 03:25
: MANIFEST and metadata fixes for new cardinal files
diff: www.parrotvm.org/svn/parrot/revision?rev=30680
03:36 Zaba joined 04:34 bacek joined 04:41 Ademan joined 05:20 Psyche^ joined 05:23 Ademan joined 06:12 uniejo joined 07:02 Orchygirl joined 07:11 iblechbot joined 07:21 cosimo joined 07:30 Orchygirl left
Tene I'm running into some weird problems when trying to use a precompiled test.rb in cardinal. Making a note here to discuss it later. 07:39
Got a lot done in cardinal. dmknopp++ for motivating me.
moritz does ruby have a reusable test suite? 07:41
07:43 barney joined 08:39 viklund joined 11:27 Zaba_ joined 11:55 Zaba joined 12:00 Zaba_ joined 12:25 rba joined 12:40 Debolaz joined 13:38 slavorg joined 13:46 tetragon_ joined 14:08 paco joined 14:15 Whiteknight joined 14:22 dmknopp joined 14:42 masak joined 14:45 iblechbot joined 15:42 tetragon joined
japhb moritz: The twigils lesson says 'seld-declared positional parameter'. Typo in first word there. 15:44
moritz: and keep up the good work, these are very well done. 15:45
15:48 Zaba joined
moritz japhb: thank, will correct real soon 15:48
japhb moritz: hmmm, and the next example doesn't have the twigils in the interpolating string 15:49
moritz: and it looks like there are a few places later where you say 'sigil' but mean 'twigil'. 15:50
Did I catch you mid-edit? :-)
And 'specical' in the second paragraph of MOTIVATION 15:51
OK, all done 15:52
japhb goes back to hacking ...
moritz japhb++ 15:56
fixed now
15:56 Whiteknight joined 16:16 iblechbot joined 16:24 Zaba joined 16:46 stupidbot joined
dalek r30681 | tene++ | trunk: 16:50
: [cardinal]
: * Support default arguments to functions
: * Add a test and convert another test file to use the test library
diff: www.parrotvm.org/svn/parrot/revision?rev=30681
r30682 | tene++ | trunk:
: [cardinal]
: * String + String
diff: www.parrotvm.org/svn/parrot/revision?rev=30682
r30683 | tene++ | trunk: 16:51
: [cardinal]
: * More functions in test.rb
diff: www.parrotvm.org/svn/parrot/revision?rev=30683
r30684 | tene++ | trunk:
: [cardinal]
: * typo fix
: * die
diff: www.parrotvm.org/svn/parrot/revision?rev=30684
jonathan is back from vacation
Tene HIJONATHAN! 16:52
moritz hi jonathan ;)
jonathan :-) 16:55
moritz the bug tracker welcomes you with >150 new/open tickets in the perl6 queue ;) 16:56
dalek r30685 | tene++ | trunk: 17:00
: [cardinal]
: * Array + Array
: * Array::collect
diff: www.parrotvm.org/svn/parrot/revision?rev=30685
r30686 | tene++ | trunk:
: [cardinal]
: * Array::sort
: * Array::uniq
: * Array == Array
: * Generic !=
: * infix::&
: * Update a few test files
: * Only one test failure left
diff: www.parrotvm.org/svn/parrot/revision?rev=30686
r30687 | tene++ | trunk: 17:01
: MANIFEST and metadata changes for new cardinal file.
diff: www.parrotvm.org/svn/parrot/revision?rev=30687
jonathan 150?! :-O 17:06
moritz no, just 146 17:07
I exaggerated a bit
Tene Mmm... only one test failure left on cardinal. I need to harass dmknopp into writing more tests for me. 17:08
moritz can you reuse some of the original ruby tests? 17:09
Tene Official ruby has no tests.
cotto_home you're serious?
Tene There's ruby-spec.org, but I need some weird meta stuff before I can run those, I think.
moritz it has something that is run when you say "make test"
but I guess they partly rely on assertions
Tene I also don't like the ruby-spec.org tests because they use a silly pretend DSL. 17:10
Silly, I know. 17:11
moritz can't judge that
Tene Eh, lemme see what I'd actually need.
moritz in PIR, how can I let a match of a (Perl 6) regex start from a specific position? 17:14
17:17 gmansi joined
moritz just wrote 30 lines of PIR code without a single syntax error 17:23
record for me
Tene yay! 17:24
moritz it doesn't work, of course :/ 17:25
and of course it doesn't work, it calls the wrong multi :/ 17:26
so the code I wrote is never executed 17:27
17:41 stupidbot joined
dalek r30688 | moritz++ | trunk: 17:46
: [rakudo] add recursion tests to spectest_regression.data
diff: www.parrotvm.org/svn/parrot/revision?rev=30688
17:48 tetragon joined 17:58 particle1 joined 18:09 gmansi joined 18:10 jan joined 18:11 stupidbot joined 18:13 jhorwitz joined 18:31 sjansen joined
Tene Okay, all tests pass now. Need more. 18:40
dalek r30689 | tene++ | trunk:
: [cardinal]
: * %w[like perl's qw]
: * all tests pass
diff: www.parrotvm.org/svn/parrot/revision?rev=30689
18:40 tetragon joined
eternaleye moritz: I figured out why I was getting that build failure: it occurs on make -j3 but not make -j1 18:46
moritz eternaleye: that's bad 18:48
eternaleye nopasting build output now
moritz eternaleye: I use parallel builds all the time (on a dual core machine), but not 'make installable'
eternaleye Hm. It seems that 'make reallyinstall' only installs the languages/* directories, and not their contents, whether 'make world' or 'make installable' is used 19:05
make -j1 installable output: rafb.net/p/OEFoNw78.html . make -j3 installable output: rafb.net/p/ryFiej50.html 19:11
dmknopp h3llz yeah stephen! you killed those tests 19:21
dalek r30690 | allison++ | pdd27mmd: 19:22
: [pdd27mmd] Convert all the 'infix' opcodes to use the new multi_dispatch call.
diff: www.parrotvm.org/svn/parrot/revision?rev=30690
cognominal what is the PIR way to call a VTABLE_set_attr_str in a pmc? 19:37
jonathan setattribute the_pmc, "name", value 19:38
cognominal strange, I could not ack at that...
and the Perl 6 way ? 19:39
moritz cognominal: what does it do (high level)?
jonathan $!name = value; 19:40
cognominal suppose I want to get (not set here) the id attribute of task. How?
> say Task.new().id 19:41
Null PMC access in get_string()
ho, that's because it is private
but what Taks.new().id returns anyway?
jonathan If it's private, there shouldn't be a method... 19:42
cognominal that's my point 19:43
jonathan Curious. How's it declared?
has $!foo ?
cognominal I don't know.
btw, I usbmitted a parrot bug that did not show up. 19:47
Type at the rakudo prompt : class A { has $a; }; my $a = A.new()
repeat two more times and you crash parrot.
And the stack trace is strange too, I don't think rakudo (?) does the right thing. 19:48
jonathan Doing it two times and crashing Parrot isn't right. :-) 19:49
cognominal with the first time, that makes three times 19:50
you must hit three times to kill the parrot
jonathan Third time lucky! 19:51
cognominal interestingly enoug doing the same thing with only class A { has $a; } gets a cleaner kill
compilers/imcc/pbc.c:993: failed assertion 'PObj_is_string_TEST(lex_name)' 19:52
Backtrace - Obtained 32 stack frames (max trace depth is 32).
Parrot_confess...
or messier depending on the point of view.
jonathan Ugh. 19:53
Thing is, that should work...
cognominal Sorry for throwing that on your lap :)
on Mac OS X and Cygwin, so that should be on many platform 19:55
what is strange is that getting an error in the rakudo prompt seems to give you a new runloop so things stacks up. 19:57
19:57 tetragon joined
cognominal This one seems a rakudo problem. 19:57
And that in return triggers a bug in parrot.
doing a dod_register within a dod_register is probably very healthy 19:59
dod_register_pmc I mean. 20:00
dalek r30691 | cotto++ | trunk:
: [pmc] PIRified and added documentation to t/pmc/resizablepmcarray.t
diff: www.parrotvm.org/svn/parrot/revision?rev=30691
jonathan Seems Rakudo problem, but maybe also Parrot one.
cognominal bugs like to live in groups :) 20:01
cotto_home is there any reason it'd be a bad idea to move the fp equivalence macros into their own file somewhere under runtime/parrot? 20:17
currently they're generated from a static string in lib/Parrot/Test.pmc 20:18
s/pmc/pm/
20:18 tetragon joined
dalek r30692 | cotto++ | trunk: 20:30
: [pmc] comment and whitespace fix
diff: www.parrotvm.org/svn/parrot/revision?rev=30692
20:50 Zaba joined 20:53 Theory joined 20:57 tetragon joined
Tene So, I copied the 'use' stuff from rakudo for cardinal's 'require' 21:08
So theoretically it should support precompiled pir. 21:09
However, stuff breaks badly when I try to use it.
But then it works fine if I add a :load to the main sub in the generated pir.
I don't see a :load in rakudo's generated pir, though, so that can't be the problem. 21:10
21:16 megamic joined 21:27 tetragon joined 21:39 tetragon joined 22:02 tetragon joined
dalek r30693 | tene++ | trunk: 22:24
: [cardinal]
: * few more tests
: * Boolean class
: dmknopp++
diff: www.parrotvm.org/svn/parrot/revision?rev=30693
22:30 TiMBuS joined 22:35 Zaba_ joined 22:54 Whiteknight joined 22:55 AndyA joined 22:57 gmansi joined
cognominal It seems that parrot has a major competitor : blogoscoped.com/google-chrome/ 23:17
it is based on webkit for the rendering and v8 a virtual machine.
23:18 Whiteknight joined
cognominal blogoscoped.com/archive/2008-09-01-n47.html 23:22
Whiteknight You'd think they could just release an extension to firefox 23:29
cognominal webkit is acid while firefox is not. 23:31
but what worries me is that they use v8 that has the same agenda as parrot, running many languages. 23:32
diakopter reading the Chrome comic book.. IE8 already has per-tab processes.
23:35 Ademan joined
diakopter cognominal: how is Chrome a competitor to parrot? 23:40
cognominal because they use their own vm
open source
purl well, open source is another term for "Free Software" that doesn't scare the suits, or see www.opensource.org or just another way to say "Buy my own beer!" or a club for dispossessed teens or not another term for "Free Software"
cognominal and they have an application on top of it. Parrot has not any. 23:41
TiMBuS maybe if parrot had its own comic
:D 23:42
diakopter cognominal: are you saying Chrome is a parrot competitor, or v8 is a parrot competitor? 23:43
cognominal both
diakopter Chrome seems like just another browser. 23:44
Whiteknight cognominal, where would one go to learn more about v8?
diakopter I don't see anything new, as it's described in the comic
Whiteknight it's wikipedia entry is empty
cognominal what is a vm without appliations that uses it.
Whiteknight, google will release everything tomorrow 23:45
Whiteknight ok
cognominal it seems that the comic release happened one day too early.
If you follow links there are many 404.
ironically it seems that their webkit base chrome does not run yet on macosx. 23:48
s/base/based/
dalek r30694 | cotto++ | trunk: 23:50
: [pmc] PIRified t/pmc/pmcproxy.t
diff: www.parrotvm.org/svn/parrot/revision?rev=30694
diakopter cognominal: what makes you think v8 wants to run more than javascript/ecmascript? 23:54
cognominal may be I misread. 23:55
Whiteknight it doesnt matter if it does. If we work to be the best VM, it doesn't matter what competition we have
cognominal and if their vm api is similar enough we could plug our vm in chromes 23:56
Whiteknight I would love to get libparrot into a browser
imagine the cool scripting possibilities in webpages with that! 23:57
cognominal that's my wet dream
need a security model though
sure enough this is linked to android 23:59