www.parrotcode.org | Last Release: 0.7.0 "Severe Macaw"
Set by moderator on 3 September 2008.
00:02 GeJ joined 00:03 mberends joined 00:05 mberends joined 00:09 AndyA joined
wknight8111 I've looked at Mastering Algorithms with Perl too 00:10
00:10 japhb joined
wknight8111 and The Art of Agile Development (don't tell chromatic!) 00:10
00:11 slavorg joined
pmichaud I sold most of my library when I moved out of Corpus Christi... :-| 00:13
particle it'll probably be very wet soon anyway 00:14
pmichaud indeed.
it took me two trips to the used book store to get rid of them all.
oh well. It did help pare down the library a bit. Now I need to get more books, but I'm having trouble finding any that I really like (programming or otherwise) 00:15
wknight8111 pmichaud, you have any good recommendations? 00:16
particle referenced "programming the perl dbi" today 00:17
i do really like "perl testing: a developer's notebook"
wknight8111 i've never even heard of that
particle ian and chromatic did a good job with that 00:18
wknight8111 i need to get me a job at O'Reilly and write books all the time. That would be awesome 00:19
particle they're looking for technical authors 00:20
talk to c
wknight8111 yeah, i'm sure he's not tired yet of getting emails from me :)
particle ok, i've gotta go ride my bike. it's way to nice out 00:25
GeJ I got Perl Testing almost as soon it was published. Good book, although it wasn't really what I was expecting.
I was more looking for testing methodology, and Perl Testing is focusing on the CPAN modules available in the Test namespace. 00:26
So I got TDD from Kent Beck to get the theory, and regularly use Perl Testing for the tools. 00:27
is there still a Learning Perl 6 in the works? 00:31
wknight8111 I haven't heard anything abou tit 00:32
I'm actually getting ready to start writing my own Perl 6 book
cotto_work Will it be ready by Christmas? 00:33
GeJ brian_d_foy and Schwern. source was available via svn.
But it looks like allison's server doesn't respond to checkout requests anymore.
00:34 tetragon joined
Hinrik does anyone know the people behind this one? www.amazon.com/Beginning-Perl-Novic...amp;sr=8-1 00:34
anyone in here, that is 00:35
GeJ Richard Dice is the president of TPF, isn't he? 00:36
pmichaud my wife is asking what book I'll do. It should probably be parrot compiler tools and/or compiler design (using PCT and Rakudo as a model), but I doubt they'd be big sellers 00:37
maybe I'll write the book on Perl 6 regular expressions, though :-)
GeJ well, I'd buy it
scratch that, "them". 00:38
pmichaud Perl 6 regular expressions would be a good book to write
that one would do well, especially if it covered parsing strategies and led into writing compilers
Hinrik or just add the PCT to p6pe and improve the regex coverage? :P
pmichaud p6pe is really out of date. :-) 00:39
but yes, pct would make for a good new section of p6pe
actually, p6pe should probably just become "Parrot Essentials and the Parrot Compiler Toolkit", leaving the p6 stuff to other books
Hinrik exactly, that would make it less out of date
pmichaud so, it would cover NQP (which would be simple to cover) and PCT 00:40
and it wouldn't have to have a bunch of Perl 6 stuff in it
wknight8111 if you need an editor, I have a lot of spare time
Hinrik it wouldn't be hard to separate, as the perl6/parrot stuff is each given a half of the book as it is
wknight8111 and a decent vocabulary
pmichaud maybe I'll just write up NQP, PCT, and basic compiler construction, and then we can see if it's worth its own book or if it should just be a part of a Parrot book (or maybe both) 00:41
00:41 bacek joined
pmichaud I would think that NQP and PCT would be a book at least the size of "Perl Testing", and roughly in the same genre/category (here's how to use some existing modules) 00:41
wknight8111 Have you seen the Parrot book I've been writing? it has some decent PCT/NQP sections 00:42
Hinrik separating p6pe into two more detailed books sounds pretty reasonable
wknight8111 "decent", if I may toot my own horn :) 00:44
00:44 wolverian joined
Hinrik wknight8111: is your work available somehwere? 00:44
00:45 dalek joined
wknight8111 en.wikibooks.org/wiki/Parrot 00:46
dalek r31007 | chromatic++ | trunk:
: [PMC] Skipped forced recycling of context in RetContinuation PMC. This seems
Hinrik nice
dalek : to work against exception handling, where invoking a RetContinuation to return
: the point of throw *shouldn't* get rid of an active context. See RT #58772
: (Moritz Lenz) for one symptom -- an infinite loop in context marking when
: reusing the freshly recycled context and setting its caller to itself. Oops.
diff: www.parrotvm.org/svn/parrot/revision?rev=31007
cotto_work alright! The punchline. 00:47
pmichaud bookmarks for later reading
00:53 grim_fandango joined
dalek r31008 | chromatic++ | trunk: 01:01
: [PMC] Made PMCProxy's does() initialize newly-created PMCs before trying to
: call their vtable entries -- without this, you get segfaults in PMCs such as
: Class which expect that their instance data actually exists (reported by Clark
: Cooper in RT #53156).
diff: www.parrotvm.org/svn/parrot/revision?rev=31008
pmichaud time for soccer, bbl 01:03
02:01 grim_fandango joined
Tene 'kay, let's see if I screw things up here. 02:34
Committing a merge of master into lazyrakudo.
s/master/trunk/
Git didn't mention any conflicts, so I'm pretty sure it went okay. 02:35
Still committing... 02:39
Huh, it's stuck on t/pmc/fixedintegerarray.t 02:42
02:42 dmknopp joined
Tene hi dmknopp 02:42
dmknopp hello
purl hi, dmknopp.
dmknopp hello all
purl It's a crazy world, but hello to you too!
Tene cancels the commit, tries again
dmknopp: you mail your CLA yet? 02:43
dmknopp it is a crazy world and its been a crazy day!
i havent had time, i am going to send it tomorrow
work has been hectic this week.
so I compiled the gen_*.pir files down to .pbc files and had cardinal.pir load_bytecode on the .pbc files. I had hoped this would help speed up run time, but the difference was negligible 02:48
:-/
dalek r31009 | tene++ | lazyrakudo: 02:49
: Merge branch 'master' into branch 'lazyrakudo'
diff: www.parrotvm.org/svn/parrot/revision?rev=31009
Tene Yeah, that's automatically done when cardinal.pbc is compiled from cardinal.pir
So it wouldn't make a difference
02:49 clunker9_ joined
dmknopp ahh no wonder 02:49
Tene jonathan: check out r31009 for sanity
The speed issue is dominated by parsing time. 02:51
The grammar is just very complex, and PGE hasn't had any speed optimization at all. 02:52
dmknopp do you know of any ideas to speed it up?
*nod
Tene A few ideas. Simplify the grammar.
dmknopp hehe
is that an option?
Tene If you can make things fail early, or prevent backtracking, it can speed it up
That's not so easy 02:53
dmknopp well i have about ~15 new tests, mostly for strings and most of them are working
Tene Nice. 02:54
dmknopp I definitly want to get it checked in by next release... next tuesday I think
Tene Yeah.
dmknopp i was looking into the Range
Tene If you can give me a patch, I'll commit them right now.
dmknopp i m having trouble getting the grammar to parse , right now it just does an addition op code on the range 02:55
ohh yeah ill get you a patch
one sec
s1n particle: i was having trouble setting up an auth.perl.org account, pmichaud told me to talk to you 03:02
Tene Hmm... I still haven't seen that commit hit the list. Has anyone else? 03:20
dalek r31010 | tene++ | trunk: 03:39
: [cardinal]
: * Many new tests from dmknopp++ (many of them passing).
: * Many assorted fixes from dmknopp++.
diff: www.parrotvm.org/svn/parrot/revision?rev=31010
03:46 tetragon joined 05:27 mberends joined
cotto_home Is Igor hanging out here? 06:18
aka Rafael Sanchez
dalek r31011 | tene++ | trunk: 06:26
: Update MANIFEST and svn metadata for new test files for Cardinal.
diff: www.parrotvm.org/svn/parrot/revision?rev=31011
06:29 uniejo joined
cotto_home Is newbie guidance best kept off-list? 06:53
moritz @tell wknight8111 in that wikibook you use capitalized paths (./Parrot languaages/Perl6/...) that won't work on linux
purl, msg wknight8111 in that wikibook you use capitalized paths (./Parrot languaages/Perl6/...) that won't work on linux
purl Message for wknight8111 stored.
cotto_home I hope the answer is no. 06:57
moritz cotto_home: don't think so
purl, msg cjfields I'd say go ahead and commit the tests, and include some comments and a link to the RT and the p6l thread 07:01
purl Message for cjfields stored.
itegebo while learning how to add new languages, I'm stuck on getting more info about NQP 07:02
I see compilers/nqp/README.pod 07:03
dalek r31012 | rurban++ | trunk: 07:04
: [pdd] merge r30995 for install draft: added long-term goals and competing layout variants
diff: www.parrotvm.org/svn/parrot/revision?rev=31012
r31013 | moritz++ | trunk:
: [cage] fixed codetest failures in cardinal
diff: www.parrotvm.org/svn/parrot/revision?rev=31013
moritz itegebo: try en.wikibooks.org/wiki/Parrot
itegebo: also it's a subset of Perl 6, so some Perl 6 resources might help you
itegebo moritz: thanks a lot - got too stuck in the distro files 07:05
that wikibook was exactly what i was looking for
moritz only found it today too ;) 07:06
cotto_home msg kid51 rt.perl.org/rt3/Ticket/Display.html?id=44041 would be another good ticket for one of the new contributors. 07:07
purl Message for kid51 stored.
07:21 iblechbot joined 07:45 tetragon joined 07:54 mberends joined 08:03 masak joined 08:11 Ademan joined
dalek r31014 | tene++ | trunk: 08:31
: [cardinal]
: * Clean up infix:==(Bool,Bool)
: * Remove some duplicate code
diff: www.parrotvm.org/svn/parrot/revision?rev=31014
r31015 | tene++ | trunk:
: [cardinal]
: * Fix chomp, chop, chomp!, chop!, and the test for these.
diff: www.parrotvm.org/svn/parrot/revision?rev=31015
08:32 Infinoid joined
masak Tene: how feature-complete is cardinal? 08:34
...in terms of the smallest important thing that can't be done yet :) 08:35
09:03 barney joined 09:40 tetragon joined
dalek r31016 | allison++ | pdd27mmd: 10:07
: [pdd27mmd] Eliminate morphing in BigInt's 'add'.
diff: www.parrotvm.org/svn/parrot/revision?rev=31016
10:13 bacek joined
bacek g'localtime 10:13
10:19 bacek joined
dalek r31017 | allison++ | pdd27mmd: 10:39
: [pdd27mmd] Add an extra check whether CPointer's pointer has been set, before
: deciding whether to mark it.
diff: www.parrotvm.org/svn/parrot/revision?rev=31017
moritz uhm, is anbody trying to fix the broken svn? 11:04
dalek r31018 | moritz++ | trunk: 11:05
: [rakudo] added tests for literals with underscores to spectest_regression
diff: www.parrotvm.org/svn/parrot/revision?rev=31018
r31019 | bernhard++ | trunk: 11:19
: [codingstd] Satisfy pdd_format.t.
diff: www.parrotvm.org/svn/parrot/revision?rev=31019
11:20 dmknopp left 11:22 bacek joined
Tene moritz: svn is broken? 11:25
masak: cardinal parsing is very slow
masak but that's more of a compile-time problem, right?
Tene masak: all of the builtin methods on the 'Array' class are complete, afaik.
String is closer. Hash is not very complete. 11:26
dalek r31020 | bernhard++ | trunk:
: [codingstd] Eliminate a POD error and some warnings.
diff: www.parrotvm.org/svn/parrot/revision?rev=31020
moritz Tene: every time I svn ci I get an error "200 OK"
Tene: the commit does make it to the server, though
barney moritz: same here
Tene In terms of syntax... we don't handle symbols (I don't know what they are, really), multiple assignment, splat...
masak: passing blocks to functions needs to be reworked a bit before I can add support for 'yield' 11:27
I need to complete the issues around blocks, procs, lambdas, etc.
masak sounds promising, anyway 11:28
Tene masak: mostly, look in languages/cardinal/t. Very little beyond what's there will work.
masak oki
as it should be :) 11:29
Tene The biggest thing that needs doing is adding methods to the standard classes.
And getting tests.
I should try to work towards running the rubyspec tests.
masak mm
11:30 kid51 joined
Tene masak: Also, cardinal supports loading external and precompiled libraries. 11:32
masak useful.
11:32 tetragon joined
Tene I think that only cardinal and rakudo do right now. 11:33
I think I can get t/assignment and t/yield passing tomorrow afternoon 11:37
moritz so the two might be good candidates for cross HLL interoperation 11:38
Tene Yes. 11:40
I'm going to try working towards HLL support in PCT on Sunday. 11:41
maybe saturday
masak would be cool to see some Ruby/Perl6 hybrid code :) 11:44
rubycamels! 11:45
Tene Hmm. I have an implementation of gather/take. 11:52
But it's 6AM.
masak show us! :) 11:53
nopaste "tene" at 166.70.38.237 pasted "gather/take in pir for masak" (50 lines) at nopaste.snit.ch/14031 11:54
masak cool. 11:55
11:55 tetragon joined
masak if I read it correctly, it already uses continuations 11:56
Tene To actually add that to rakudo, I really should set up an exception type specifically for take
Yeah.
masak right now, to have gather/take in _any_ form would be sort of a wet dream
Tene Yeah? 11:57
Lemme see what I can do.
masak yes.
\\o/
Tene++
Tene If I fall asleep at work tomorrow, I'm blaming you. 11:59
masak if so, it was for a good cause :) 12:03
Tene Okay, let's see what happens... 12:04
kid51 goes to $job 12:10
Tene Hmm. I need to figure out how to pass the block itself as an argument to 'gather' instead of whatever it returns. Reading the PAST docs...
12:13 rurban joined
Tene masak: give me an example to test. 12:15
It looks like this works.
masak Tene: what do you need, apart from what's in t/ ?
Tene fine, I'll look through t/ for something.
Jerk
Making me do all the hard work.
masak sorry :)
I'm busy... 12:16
Tene You're fine. I'm just teasing.
masak I know
you've done it before :)
Tene There doesn't seem to be a test for gather/take in t/spec
masak that's probably true
since there has been no need to move it there 12:17
Tene lemme look in pugs' t/
masak alright, an example: my @a = gather { say "2"; take 3 }; say "1"; say @a[0]
Tene Or maybe I just haven't run spectest_regression in too long. 12:18
t/spec/S04-statements/gather.t
masak ah, there we go.
Tene Yeah, most of gather.t passes 12:24
Is there a make target to run the spectests and tell me how many unexpected successes there are? 12:25
masak not a make target, but some script, I believe
masak goes looking
Tene I bet moritz knows. He's not here, though.
masak perl tools/test_summary.pl 12:26
Tene Thanks.
masak though over here it produces quite chaotic output right now 12:27
many new "uninitialized value" warnings and a few Null PMC Access errors
Tene S04-statements/gather.rakudo.......................... 12 16 7 4 0 5 12:28
12:28 braceta joined
masak I don't know what that means offhand :) 12:29
better peruse source
Tene 160 test files 4816 4887 3314 10 286 1277 12:30
Looks like it doesn't pass completely because of array stringification issues and because it's not lazy. 12:31
masak still VERY good news, by me
Tene++
nopaste "tene" at 166.70.38.237 pasted "gather/take patch for rakudo. needs review" (102 lines) at nopaste.snit.ch/14032 12:32
Tene I don't quite feel comfortable committing it without review from pmichaud. 12:33
masak 's ok. cool, a gather/take implementation! 12:36
masak is all giddy
Tene Yeah, it is pretty cool. 12:42
Maybe I should add it to cardinal before adding it to rakudo. ;)
anyway, sleep now. srsly.
masak well, by patching early, I can use it right away. that's all that matters :) 12:43
Tene: sleep well.
Tene msg pmichaud please review the patch at nopaste.snit.ch/14032 12:44
purl Message for pmichaud stored.
Tene purl++
dalek r31021 | allison++ | pdd27mmd: 12:56
: [pdd27mmd] Refactor out common code for inserting multi in global MULTI
: namespace.
purl somebody said : namespace was now one word, not two.
dalek diff: www.parrotvm.org/svn/parrot/revision?rev=31021
r31022 | rurban++ | cygwin070patches: 13:02
: [pdd] merge from trunk, fix perlcritic.t
diff: www.parrotvm.org/svn/parrot/revision?rev=31022
13:08 iblechbot joined
dalek r31023 | rurban++ | trunk: 13:19
: [pdd] make all pdds pass t/codingstd/perlcritic.t and pdd_format.t: trailing whitespace, Missing properly located perl coda, Hard tabs, line length
diff: www.parrotvm.org/svn/parrot/revision?rev=31023
r31024 | rurban++ | cygwin070patches: 13:24
: [pdd] merge from trunk, fix more perlcritic.t and pdd_format.t
diff: www.parrotvm.org/svn/parrot/revision?rev=31024
13:32 pako joined, pako left
rurban Anyone knows why languages/eclectus/lib/Parrot/Test/Eclectus.pm was removed? 13:41
I see in the main log. barney "Remove unused Perl 5 module Parrot::Test::Eclectus" 13:42
NotFound rurban: Maybe because is unused? 13:49
barney Yes, it wasn't used. Parrot::Test::Harness does the job with the 'exec' option 13:50
rurban Just found out how to find such svn rm actions in the svn logs. svn log languages/eclectus told it.
I'm in the state of merging cygwin070patches to trunk. well, the other way round first. 13:51
13:51 gryphon joined
dalek r31025 | julianalbo++ | trunk: 14:06
: fix for Parrot_add_library_path
diff: www.parrotvm.org/svn/parrot/revision?rev=31025
14:16 grim_fandango joined
rurban NotFound: see my fix wrong Parrot_locate_runtime_file documentation 14:41
dalek r31026 | rurban++ | trunk:
: fix wrong Parrot_locate_runtime_file documentation
diff: www.parrotvm.org/svn/parrot/revision?rev=31026
14:49 Ademan joined
dalek r31027 | rurban++ | trunk: 14:52
: [perl6] fix perl6doc usage message
diff: www.parrotvm.org/svn/parrot/revision?rev=31027
r31028 | rurban++ | trunk: 14:56
: [pipp] do not load config.pbc twice
diff: www.parrotvm.org/svn/parrot/revision?rev=31028
rurban NotFound: strange HEADERIZER error with your Parrot_add_library_path: 15:15
nopaste "rurban" at 212.183.84.235 pasted "src/library.c:511: error: conflicting types for 'Parrot_add_library_path" (24 lines) at nopaste.snit.ch/14034 15:16
rurban Il retry now with a make clean. 15:17
still the same. gcc-3.4.4 15:18
I'm lost now. 15:21
Oops, forgot to svn up for r31025. thanks. 15:37
dalek r31029 | rurban++ | trunk:
: RT#48260: add get_search_paths docs
diff: www.parrotvm.org/svn/parrot/revision?rev=31029
15:39 Theory joined
rurban My next todo is make test with an already installed libparrot. This is a big one... 15:44
Requires a ticket probably.
NotFound rurban: I don't have that problem. Maybe an svn failure, try to update. 15:45
rurban I forgot to svn up in include only in src, that's why 15:46
It's fixed for me now.
NotFound Ok
rurban I just added a short doc patch to yours
NotFound rurban: I dislike the black magic approch of those functions, but is better to have it documented, of course. 15:54
rurban Ah, trailing whitspace in src/library.c 518 15:55
dalek r31030 | rurban++ | trunk: 15:57
: [core] trailing space in library.c
diff: www.parrotvm.org/svn/parrot/revision?rev=31030
rurban kid51: set P0["configuration_steps"], "ARRAY(0x17faa70)" doesn't seem right to me 16:00
NotFound rurban: there is a problem with load_bytecode, by the way. If I follow your suggestion of using 'Xlib' instead of 'Xlib.pbc', and the .pbc is present, parrot try to use the .pbc as source. 16:01
16:02 peepsalot joined
rurban bad. this should make a ticket 16:02
NotFound The reason is that the logic is: if it has no ".pbc" at the end, then is source.
rurban load_bytecode may load pir and pasm source, but on a .pbc extension it should detect the bytecode 16:03
NotFound But it checks the extension *before* of searching for the file.
rurban At least that is my opinion, and it would make life uch easier. 16:04
#ps or ticket?
I have to fix a pmc/object.pmc error in my tree first and then I can write a patch. 16:05
NotFound IMO load_bytecode must be bytecode, by simple logic of the name. No change of search paths just because of file extension.
What to do when not found, must be chooser later.
If the main parrot executable wants to use another search logic, must do it by himself. 16:06
particle parrot should not rely on file extension to determine filetype
NotFound particle: actually, it does. 16:07
particle i know it does
it should not
NotFound But the problem I see now is not file type, but search path choosed.
particle this part of parrot is still in the prototype phase
rurban The detection by extension is IMHO not so bad as the not-checking at all. 16:08
NotFound It choose search path depending of the filename extension.
load_bytecode actually select what it wants to do, by his name.
The name of the opcode, I mean. 16:09
rurban pmc/object.pmc error found and fixed. All good, but nci. So over to the next library problem... 16:16
One memory concern: Do we really need the huge generated src/nci.c? statically provide methods for all sigs seems to be a huge heap overkill tome. Normally one does generate the nci call on the fly (FFI) 16:26
particle that's what compilers/ncigen/ does
src/nci.c is due to be deprecated
tewk needs to better document ncigen
so people like notfound can start to use it instead 16:27
rurban ncigen does it dynamically? I thought is is till stazic, but just C parsing sugar
C => PIR 16:28
particle yes, it's dynamic 16:29
rurban I see. It generated an ffi from c sources, and does the dlfunc calls dynamically. good
particle you no longer need call_list.txt
rurban did someone tested ncigen against nci? memory vs speed would be interesting 16:30
(uh, my english gets worse and worse)
particle no, that hasn't been tested yet 16:31
i agree, it would be interesting
rurban I assume it will be a little slower (5%), but need about 30% less memory 16:32
NotFound: But the library.c docs say it shoudl work like discussed. "start guessing now. this version tries to find the lowest form of the code, starting with bytecode and working up to PIR" 16:35
And the series of extensions it tries is correct. First .pbc then pasm past pir 16:36
dalek r31031 | rurban++ | trunk: 16:41
: [core] improve try_bytecode_extensions docs
diff: www.parrotvm.org/svn/parrot/revision?rev=31031
particle rurban: what's a .past file? there is no such thing 16:49
rurban I really have no idea. leo around? 16:50
particle whatever it was, it's no more
rurban Do you want a ticket? I dont want to write it because I respect the great past 16:51
:)
particle sure. i've been around with parrot since 2002, so i know it's not been used for a *long* time 16:52
rurban Ok. I'll add a ticket and patch to remove it.
mberends all: Pod6Parser at nopaste.snit.ch/14035 and Pod6_to_man at nopaste.snit.ch/14036 16:54
cotto_work oooooh. new shiny! 16:56
mberends Pod6_to_xhtml coming tomorrow. Tested only on Debian sid. 16:58
nopaste "rurban" at 212.183.84.235 pasted "perlcritic problem with c-file-style: "parrot" on library.c" (20 lines) at nopaste.snit.ch/14037 17:00
rurban Can I ignore that? It should be fixed imho. It is awful long to wait for a full make test. 17:01
mberends perl6doc script included inside Pod6_to_man.pm - make separate file to run 17:02
17:09 davidfetter joined 17:14 rurban_ joined 17:15 Ademan joined
dalek r31032 | jonathan++ | trunk: 17:16
: [rakudo] Re-enable setting block signature on subs; seems to cause no issues.
diff: www.parrotvm.org/svn/parrot/revision?rev=31032
r31033 | jonathan++ | trunk: 17:18
: [rakudo] Implementation of =<> that may work. Not completely sure it works, since we never manage to parse this operator yet. Checking it in now, so I don't do it as part of another commit of something else by accident at some point in the future; it'll work once parsing stuff is fixed up.
diff: www.parrotvm.org/svn/parrot/revision?rev=31033
rurban All tests pass for rt.perl.org/rt3/Ticket/Display.html?id=58794 May I apply the patch? 17:19
t/native_pbc/header..skipped: ongoing PBC format changes. This should really be settled now. 17:24
17:25 tewk joined
tewk Remind me how do I tell tweety and piper no to bother me when I join? 17:42
nopaste "rurban" at 212.183.53.22 pasted "t/native_pbc/header.t" (32 lines) at nopaste.snit.ch/14038 17:44
cotto_work tewk, on xchat you can go to Window->Ignore List and add Piper!*@*
not sure about other clients
dalek r31034 | jonathan++ | trunk:
: [rakudo] As we aren't smart enough in the compiler yet to sort between class/role types and subset types, do it upon construction of signature objects. This gets signature objects in shape for the multi-dispatcher.
diff: www.parrotvm.org/svn/parrot/revision?rev=31034
tewk irssi user 17:45
cotto_work In that case I can't help you more than you can help yourself. ;)
tewk I thought there was a command you could privmsg to the log bots but I don't remeber what it is. 17:46
nopaste "rurban" at 212.183.53.22 pasted "src/packfile.c" (13 lines) at nopaste.snit.ch/14039 17:50
17:50 Zaba joined
dalek r31035 | coke++ | trunk: 17:51
: [rakudo] fix a doc typo.
diff: www.parrotvm.org/svn/parrot/revision?rev=31035
nopaste "rurban" at 212.183.53.22 pasted "native_pbc_header.patch #2 (strill failing) minor <> major mixed up?" (81 lines) at nopaste.snit.ch/14040 18:01
dalek r31036 | jonathan++ | trunk: 18:02
: [rakudo] Trailing whitespace fix.
diff: www.parrotvm.org/svn/parrot/revision?rev=31036
r31037 | jonathan++ | trunk:
: [rakudo] Subs with no signature still need to get a Signature object.
diff: www.parrotvm.org/svn/parrot/revision?rev=31037
nopaste "rurban" at 212.183.53.22 pasted "native_pbc_header.patch #3 this is it finally. looks correct and passes." (58 lines) at nopaste.snit.ch/14041 18:05
"rurban" at 212.183.53.22 pasted "fix make test with already installed libparrot.so|dll" (25 lines) at nopaste.snit.ch/14042 18:10
rurban I have to go now, bye.
particle rurban: perlcritic should *not* test .c files 18:12
rurban I know. But it would be useful for a quick&dirty selftest with single file arg to perlcritic.t 18:14
particle perlcritic.t used to have that option iirc
rurban I'm just bringing my cygwin070paqtches branch up to the trunk level. All tests still pass.
particle but probably instead you should call perlcritic directly and point to the conf file and file you want to test 18:15
rurban make test with already installed libparrot shared is also almost ready, just a few tests fail. (nopasted) I'll continue on the weekend on that
From monday on I'm a full month in Germany without my fast machine, just my laptop, so I want to finish most stuff now. 18:16
particle somebody please give mberends a pugs commit bit next time he surfaces 18:17
have him commit these scripts there, rather than nopasting here. i don't know what to do with them.
dalek r31038 | rurban++ | cygwin070patches: 18:20
: merge with trunk r31020
diff: www.parrotvm.org/svn/parrot/revision?rev=31038
rurban The svn server seems to be fixed now. 18:23
18:33 sjansen joined
dalek r31039 | chromatic++ | trunk: 18:44
: [Rakudo] Fixed POD in misc builtins file.
diff: www.parrotvm.org/svn/parrot/revision?rev=31039
18:46 Debolaz joined
cotto_work rurban, ping 18:50
19:01 sjansen joined
itegebo I'm starting to work through the Squaak_Tutorial, as well as reading perl6/doc/design/syn/S05.html - would anyone have any recommendations for learning the NQP rules a la parrot/examples/tutorial/*.pir? If not, perhaps that is what I'll work on. 19:33
19:37 sjansen joined
dalek r31040 | allison++ | pdd27mmd: 19:38
: [pdd27mmd] Underscores are no longer part of the multi name, and multis no
: longer magically adapt the signature of a multi vtable function to take a
: different number of arguments.
diff: www.parrotvm.org/svn/parrot/revision?rev=31040
r31041 | allison++ | pdd27mmd: 19:42
: [pdd27mmd] Multis also get added to the namespace/class so they can be invoked
: as subs and methods.
diff: www.parrotvm.org/svn/parrot/revision?rev=31041
19:53 pako joined
jonathan itegebo: I'm not sure there is a good NQP tutorial yet. 20:16
It's a subset of Perl 6, though I think the NQP docs mostly say what bits of Perl 6, and rely on you knowing what they mean syntactically. 20:17
If you're interested in working on an NQP tutorial, I'd guess that will be welcomed. :-)
20:22 cognominal joined
Tene itegebo: mostly the tutorial is compilers/nqp/t/ 20:28
itegebo Tene: I don't see any tests related to rules in there, so perhaps I could add those - but it at least gives me an example of how to play with NQP (thanks) 20:42
jonathan: how might I go about getting review once I've got something I think is helpful? 20:43
should I just follow project/committer_guide.pod?
particle itegebo: yes. 20:45
jonathan itegebo: Ask folks who write quite a bit of NQP what they think. :-) There are various on this channel. 20:46
particle and docs/submissions.pod
jonathan But of course, sending it to the list is good too. :-)
The channel often depends on who is around.
jonathan was planning to write lots of code tonight, then went out for a big curry... 20:47
Tene jonathan: I wrote nopaste.snit.ch/14032 last night, waiting for pmichaud to come around ot harass him to review it. 20:48
jonathan (harassing pmichaud)++ ;-) 20:49
+ MISC_TAKE 20:50
I'm not completely sure we should be adding language-specific stuff to core Parrot.
But if more than one langauge is going to use it that you know of, then fine.
eh = 0 # work around the workaround 20:51
Scary?!
+ elsif $sym eq 'gather' { 20:52
Tene Yeah, I don't know what the best thing to do about the exception type is.
jonathan The very long line after this one, would be nicer split over a few, like many other places in actions.pm
Though that's a style point rather than a functionality one.
And very, very happy to see: 20:53
+S04-statements/gather.t
I don't see anything immediately wrong with it, other than my concern about what to do about the type.
Tene Is creating a new PAST::Block(:blocktype('declaration')) the right thing to do there? 20:54
jonathan erm
Actually, I suspect $past is already a PAST::Block
So you just want to do 20:55
$past.blocktype('declaration')
;
On the line before.
Tene It isn't always. 20:56
jonathan Ah, you're right
For gather I think we always want to end up with a block, though.
You could check if we have a block and form one if not.
if $past.isa(PAST::Block) 20:57
That would likely be best
I do similar for "where" stuff.
21:24 bacek joined
cotto_work has anyone built a recent parrot with msvc? 21:24
jonathan cotto_work: Yes. 21:26
I regularly build with this.
I svn up'd and built with it today.
Tene jonathan: how's the lazyrakudo branch?
I never saw the commit from my merge make it to the list 21:27
cotto_work do you know enough about it to guess why I'm getting complaints about an unresolved external symbol __environ?
jonathan Tene: I was dalek report it. 21:30
Tene: Not had chance to check it yet - if Rakudo builds and passes the sanity tests then you've not made things any worse, loads of spec tests are expected to fail in that branch though. 21:31
cotto_work: No - what version of MSVC?
cotto_work 9 aka 2008
Tene I'll test that right now
jonathan cotto_work: Ah, I'm building with an older version. 21:32
cotto_work it makes me feel better that at least there's a meaningful difference that's likely to be causing the brokenness
jonathan C:\\Consulting\\parrot\\trunk\\languages\\perl6>cl /H 21:33
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
cotto_work time for some hunting 21:34
cognominal jonathan, I am playing with scheduler and tasks by adding appropriate Perl6 class but pushing a task dies with share_ro() not implemented in class 'PMCProxy' 21:37
probably a problem with PMCProxy.
Task has a share_ro 21:41
jonathan cognominal: Hard to guess at. 21:45
cognominal: I'd have to see the code. 21:46
cognominal I will send you a tarball 21:47
jonathan OK
cognominal jonathan, sent 22:01
jonathan merci 22:02
cognominal good night 22:03
purl sleep well too
cognominal reads pmcproxy to figure out its behavior
cotto_work I won't give it away, but there's a surprise ending. 22:09
jonathan Uh-oh... :-) 22:14
jonathan has lots of failures in his local Rakudo tree 22:16
...but hopes for a happy ending. 22:17
22:22 mj41_ joined 22:35 Limbic_Region joined
s1n particle: still need your help with auth.perl.org 23:06
Tene jonathan: what are you working on?
jonathan Tene: Switching Rakudo over to the new Perl 6 MMD algorithm. 23:09
It essentially works
The problem is dealing with objects that fall out of the Perl 6 object hierarchy.
Oh, and junctions
The new MMD is a bit too correct for other bits of Rakudo. :-) 23:10
23:14 tetragon joined
rurban cotto_work: you pinged me? 23:19
Tene I was thinking more about exceptions... we could easily set properties on the exception handler object to set what severity and types of exceptions it's intended for. 23:20
and skip it if the exception doesn't match
I think I'll try implementing that tonight.
jonathan So we don't have to even invoke it to find out if it can handle it? 23:21
Tene right
jonathan That'd probably be cheaper than the try and rethrow approach.
Woo. We can nearly haz Perl 6 MMD algorithm.
Tene and simpler, too. no need to require EHs to have a check/rethrow prelude
jonathan Yes
That makes sense to me. 23:22
cotto_work rurban, I got an answer.
rurban good, because I want to got to sleep now :)
bb
jonathan make spectest_regression's and hopes that this will be it. 23:32
dalek r31042 | jonathan++ | trunk: 23:43
: [rakudo] Constraints in a signature should actually be represented as an all Junction, not an array.
diff: www.parrotvm.org/svn/parrot/revision?rev=31042
r31043 | jonathan++ | trunk: 23:45
: [rakudo] The Perl6MultiSub PMC when checking constraints should do ACCEPTS on them, not just invoke them - it's meant to be a Junction.
diff: www.parrotvm.org/svn/parrot/revision?rev=31043
r31044 | jonathan++ | trunk: 23:47
: [rakudo] While we likely need a real Exception class at some point, we should map them now so .WHAT etc works on $! after a failed try.
diff: www.parrotvm.org/svn/parrot/revision?rev=31044
23:52 bacek joined
bacek morning 23:53
jonathan morning bacek 23:55
bacek hi jonathan. How is your russian visa going? 23:56
jonathan Russia have issued me a visa.
dalek r31045 | jonathan++ | trunk:
: [rakudo] If we are calling ACCEPTS in a multi-dispatch to do a type-check, then because blocks are not differentiated from regexes at the moment we get exceptions when trying to store $/. This patch wraps that code up in a handler.
diff: www.parrotvm.org/svn/parrot/revision?rev=31045
bacek jonathan: congratulations ;)
jonathan Though I had to courier my passport to the UK and pay an agency there to take it to the embassy for me.
So, now I can attend Far East Perl and make my Trans-Siberian journey. Got confirmation of those tickets today too. :-) 23:57
23:57 drew joined
jonathan So all I'm missing now is the Belarus visa so I can attend BY Perl too, but that is currently in hand. 23:57
So I don't see any problems there.
bacek me either. 23:58
23:58 nopaste joined
bacek btw, I have a question about #56468 (replace PMC_blah_val with VTABLE methods) 23:58
VTABLE PMC *clone() { 23:59
PMC * const dest = pmc_new_noinit(INTERP, SELF->vtable->base_type);
PObj_custom_mark_SET(dest);
PMC_str_val(dest) = string_copy(INTERP, SELF.get_string());
return dest;
jonathan OK, one moment, just putting in a patch I've been working on for hours in. :-)
23:59 kid51 joined
bacek Should we replace PMC_str_val(dest) with VTABLE_set_string_native? 23:59