Camelia, the Perl 6 bug

IRC log for #parrot, 2009-11-29

Parrot | source cross referenced

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:21 Coke svn cp => git ???
00:23 davidfetter leto?
00:23 purl leto is Leopold Toetsch
00:23 davidfetter hrm
00:23 davidfetter anybody seen leto lately?
00:23 Coke no, that's leo.
00:23 Coke no, leto is also dukeleto
00:23 purl okay, Coke.
00:24 Coke leo?
00:24 purl leo is possibly leo lapworth eq ranguard or one of parrot's older contributers. or Leopold Toetsch
00:25 davidfetter i'm pretty sure leopold toetsch *isn't* leto
00:26 Coke davidfetter: yes, that's what I just said. =-)
00:27 davidfetter is there a way to tell purl about that?
00:27 Coke ... I just did?
00:27 dalek rakudo: 7ce13d8 | (Solomon Foster)++ | build/Makefile.in:
00:27 dalek rakudo: Change master spectest to use t/spec revision 29188.
00:27 Coke leto?
00:27 purl leto is Leopold Toetsch or dukeleto
00:27 dalek rakudo: Because Rakudo development has shifted from master to ng for the moment, while some significant changes are being made to the spec, we are setting master to point to a fixed older release of the spectests.  This means we can make changes to the spectests without creating "regressions" in Rakudo master.
00:27 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/7​ce13d8b5de8e82da946352972114a3c760bee31
00:28 Coke no, leto is <reply>See dukeleto
00:28 purl okay, Coke.
00:28 Coke (no, purl syntax fooled me.)
00:28 Coke ls
00:29 davidfetter leto?
00:29 purl See dukeleto
00:29 davidfetter excellent!
00:29 * purl zwooshes
00:33 mikehh joined #parrot
00:37 mikehh All tests PASS (pre/post-config, smoke (#30243), fulltest) at r42820 - Ubuntu 9.10 amd64 (g++ with --optimize)
00:41 Tene purl: seen pmichaud?
00:41 purl pmichaud was last seen on purl 8 hours, 14 minutes and 45 seconds ago, saying: <private message>
00:48 Coke yah, but what was the private message?
00:49 Tene purl: msg fperrad If you're going to set +x on something, please give it a useful shebang line
00:49 purl Message for fperrad stored.
00:50 vad joined #parrot
00:51 vad hi, I have some "parrot-to-c" question.
00:51 Tene vad: Go ahead and ask them.  I'll see if I can answer them, or maybe other people are around. :)
00:52 vad ... Actually I just want to pass some obj** to some function...
00:52 vad .... and I am a bit lost
00:52 Tene you're calling your C function from Parrot?
00:53 vad Tene, thanks for your time. yes, I'm calling C from parrot
00:53 vad ... and (still typing:) ...
00:54 vad ... and, say, I have 5 objects of type obj* which I collect from elsewhere, and then I want to pass a stack of them into some
00:54 vad ... C function.
00:54 vad Actually I already have connection to many C funciton in library  of interest, but this obj** makes just hard...
00:56 vad I've tried to create an UnManagedStruct containing 1 field repeated N times, but I can't fill it with values.
00:57 Tene I'm afraid I can't quite help... :(
00:57 vad Actually more generic question - maybe my Q is too large for IRC, and, given that parrot-dev is for developers, and my question is like user question, is there exists a parrot for users ML?
00:57 Tene Yes, there is parrot-users.
00:57 vad ok, maybe that's the right place, then...
00:57 Tene http://lists.parrot.org/mai​lman/listinfo/parrot-users
00:57 Coke parrot-users?
00:57 purl parrot-users is starting to get lots of talk too, which is cool to see
00:58 Coke no, parrot-users is http://lists.parrot.org/mai​lman/listinfo/parrot-users
00:58 purl okay, Coke.
00:58 Tene if you can put together some example code and post to parrot-users, I'll try to look at it tonight.
00:58 vad ok, thanks to all, I'll subscribe to that list.
01:05 Coke does nqp have labels?
01:05 Coke (and goto?)
01:06 Coke (or, does while() in nqp support break/continue control exceptions?
01:10 Tene Coke: loops in nqp support break/continue, but nqp doesn't have builtins to throw the right exceptions.
01:10 Tene so you have to use inline pir to do it.
01:10 Tene nqp does not have labels or goto.
01:10 Coke Tene: what are the "right" exceptions?
01:11 Coke CONTROL_BREAK;CONTROL_CONTINUE ?
01:11 Tene CONTROL_BREAK/CONTROL_CONTINUE
01:11 Coke =-)
01:11 Tene Yes.
01:11 Coke ok. doesn't seem to work.
01:12 Coke if I have no CONTROL in my while loop, and throw a break, I get "No exception handler and no message
01:12 Tene Oh?  Really?
01:12 Tene Gimme 5m
01:13 Coke I just pushed some stuff for partcl-nqp; you can duplicate my problem with:
01:13 dalek partcl-nqp: 22d94dc | (Will Coleda)++ | src/PmTcl/Commands.pm:
01:13 dalek partcl-nqp: add initial [unset]
01:13 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/22d94dcbbc4f7c35ac3e6ef58cb52995f9f14353
01:13 dalek partcl-nqp: 612d63f | (Will Coleda)++ | TODO:
01:13 dalek partcl-nqp: update TODO
01:13 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/612d63fb81e42c1ea2d7ffe029391f86024ab937
01:13 dalek partcl-nqp: cc2b053 | (Will Coleda)++ | src/PmTcl/Commands.pm:
01:13 dalek partcl-nqp: Add [break] and [continue]
01:14 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/cc2b053fcc362987536f5e8fb9f3aba8d704d46c
01:14 nopaste "coke" at 72.228.52.192 pasted "for tene++" (18 lines) at http://nopaste.snit.ch/18894
01:16 cconstantine joined #parrot
01:18 Tene Coke: I lied.  They handle CONTROL_LOOP_{NEXT,LAST,REDO}
01:21 Tene I don't know tcl semantics enough to know if break/continue are loop_last and loop_next or not.
01:22 nopaste "tene" at 24.10.252.130 pasted "loops example for Coke++" (25 lines) at http://nopaste.snit.ch/18895
01:46 Coke why did we duplicate those? *sigh*
01:47 Coke ah well. guess I'll ditch my use of CONTROL_BREAK and CONTROL_CONTINUE.
01:47 Coke tene++
02:21 dukeleto What does this actually mean?: add_attribute() not implemented in class 'Tapir;Stream'
02:21 dukeleto i though i could add an attribute to any class?
02:22 Tene dukeleto: are you trying to call that on the class object or on an instance of that class?  It looks like the latter...
02:27 dukeleto Tene: instance
02:27 purl instance is probably a blessed reference to a thing or called an "object"
02:27 Tene dukeleto: add-attribute is a method on the class.
02:27 dukeleto Tene: if i do it on the class I get "Modifications to classes are not allowed after instantiation.
02:28 Tene dukeleto: that's right.  add_attribute doesn't work after you've instantiated the class.
02:28 dukeleto Tene: do i have to do it to the class in an _initialize?
02:29 dukeleto Tene: i want to add attributes as early as possible, not runtime
02:29 Tene dukeleto: you just have to do it before instantiating the class.
02:30 dukeleto Tene: what is the syntax?
02:30 purl it has been said that the syntax is not experimental.
02:30 Tene dukeleto: Eh?
02:30 Tene class.'add_attribute'('foo')
02:32 dukeleto i am using the addattribute opcode
02:32 dukeleto and i keep getting "Modifications to classes are not allowed after instantiation."
02:32 joeri joined #parrot
02:33 Tene dukeleto: I think I must be missing something you're saying... you can't add attributes after instantiating objects in that class, just as the error says.  You have to do it before instantiating any objects in that class.
02:38 dukeleto :load is not working for me
02:38 Tene curious.
02:38 * purl gives the small curious key to Bilbo. Thorin sits down and starts singing about gold.
02:38 dukeleto a .sub marked with :load should be run before other .sub's, right?
02:38 Coke only if you're loading it.
02:39 Tene you might also want :init
02:39 Coke if you're running the file directly, then you want :init.
02:39 Tene Coke++
02:39 Coke (or, perhaps :immediate, depending)
02:40 dukeleto Coke: i am creating an object in the class the file describes. I wanted :init, thanks!
02:40 Coke tene++
02:40 Tene Coke++
02:40 Coke karma "will coleda"
02:40 dukeleto tene++
02:40 purl "will coleda" has neutral karma
02:40 Coke karma coleda
02:40 purl coleda has neutral karma
02:40 Coke hurm.
02:40 dalek TT #1339 created by coke++: eliminate redundant exceptions CONTROL_CONTINUE and CONTROL_BREAK
02:41 Essobi joined #parrot
02:41 Tene Coke: in Perl 6, at least, break is different from last
02:41 Coke ... how?
02:42 Tene break is used to exit the innermost containing construct that sets $_
02:42 Tene like a 'given' block.
02:43 Tene and 'continue' is used to fall out of a 'when' block without throwing a 'break' exception.
02:43 Coke "fall out" ?
02:43 dukeleto Tene,Coke: Thanks guys, you got me unstuck!
02:43 Tene Perl 6 'when' blocks end with an implied 'break'
02:43 Coke (makes it sound like break again.)]
02:43 Coke Tene: I think your break is not my break.
02:44 Tene so: when 1 { do stuff; } default { do more stuff; }
02:44 Tene the 'default' doesn't get executed.
02:44 Tene but: when 1 { do stuff; continue; } default { do more stuff; }
02:44 Tene the default block does get executed
02:44 Coke that continue is also not like my continue.
02:45 Tene So the tcl continue/break are the Perl 6 next/last
02:45 Coke so you can keep break and continue, I suppose, but the way you describe them there are useless to me.
02:45 Coke just annoying that I "reserved" them and they were co-opted. :P
02:45 Tene It's not the first time that things have different names in tcl and perl 6
02:45 Coke be nice if these were documented. =-)
02:45 Tene Where would you expect to find that?
02:46 Coke runtime/parrot/include/except_types.pasm
02:46 Tene Oh!  I know!  I'll document it in the ticket rejection!
02:46 Coke or perhaps in the C enum that generated it.
02:46 Tene that should be sufficient, right?
02:46 Coke but the .pasm is the file I'm actually using.
02:46 Coke necessary but not sufficient.
02:46 Coke document it, leave the ticket open as a "needs docs before closing"
02:47 Coke thanks for the clarification.
02:47 Tene ... how do I do that?
02:47 Tene I see "invalid"...
02:47 Coke just don't close the ticket. =-)
02:48 Coke perhaps set the component to 'docs'
02:48 Tene what address do I want to cc?
02:48 Coke none.
02:48 Tene Okay.
02:48 Tene I just pasted from irc into a comment.
02:48 Tene and.. formatting fail.
02:49 * Tene trac fail.
02:56 dalek partcl-nqp: 3dea1b5 | (Will Coleda)++ | src/PmTcl/Commands.pm:
02:56 dalek partcl-nqp: Avoid CONTROL_BREAK/CONTINUE - these have been co-opted by the perl6 folks
02:56 dalek partcl-nqp:  to mean something else; use the ones that will work as NQP expects
02:56 dalek partcl-nqp:  (See parrot's TT #1139) - Advantage? we don't have to explicitly deal with
02:56 dalek partcl-nqp:  these exceptions in the nqp version.
02:56 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/3dea1b54561baf9f20a500314f0ba42ef02d05f5
02:57 Tene Coke: fwiw, the reason I co-opted those and added the CONTROL_LOOP exceptions was exactly because they weren't documented. ;)
02:58 Coke water under the bridge.
02:58 Tene I was just entertained by that in the context of your request for docs.
02:59 Coke Hoist by my own petard.
03:08 Coke bah. converting all this stuff over to NQP is so far, not a huge win for me.
03:08 Coke It's like the 5th major rewrite I've done since '02. :|
03:09 Coke (stable my ass)
03:13 * Coke completes his rant and returns you to our regularly scheduled channel.
03:17 pmichaud hello
03:19 dalek partcl-nqp: 2802664 | (Will Coleda)++ | build/Makefile.in:
03:19 dalek partcl-nqp: found another passing test.
03:19 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/2802664966eaceb6006a88d7b172d82baba0a2a7
03:19 dalek partcl-nqp: aa315ca | (Will Coleda)++ | TODO:
03:19 dalek partcl-nqp: some updates on the task list.
03:19 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/aa315ca7c66374e6e00b6c0fa07fb1a02dabf522
03:20 pmichaud fwiw:  http://irclog.perlgeek.de/​parrot/2008-12-16#i_765095   # already anticipated the naming issue almost a year ago :)
03:22 chromatic joined #parrot
03:25 Tene hi pmichaud!  I've been excited for you to see my macro POC in steme.
03:26 pmichaud ...macro?
03:26 Tene 'sec
03:26 pmichaud POC?
03:26 purl POC is this chat, which is running under same in vmware or proof of concept. or piece of crap
03:26 Tene http://github.com/tene/stem​e/blob/master/t/05-macro.t
03:27 pmichaud oh, porof
03:27 pmichaud okay
03:27 Tene Proof of concept
03:27 Tene That test passes in steme.
03:27 pmichaud interesting.... the first part is a grammar rule, second part is an action method?
03:27 Tene Yes.
03:27 pmichaud clever.
03:28 Tene So I just need a more scheme-like language for expressing those, and it'll look a bit more natural. :)
03:28 Tene Which is the easier part.
03:28 Tene (thanks to PCT)
03:30 pmichaud so, do you have steme working on the new nqp or .. ?
03:31 Tene Yes, I do.
03:31 pmichaud nice.
03:31 Tene The first hunk of http://github.com/tene/steme/commit/62​d78b67054e288db5f34ad99dda3f5bc9187baf shows the implementation of 'macro'
03:32 pmichaud 03:08 <Coke> bah. converting all this stuff over to NQP is so far, not a huge win for me.
03:32 pmichaud ...even though more people are able to contribute now?
03:32 Coke pmichaud: "so far"
03:32 purl somebody said "so far" was not too far in Hungary ;)
03:32 pmichaud :)
03:33 Coke sure, more people can contribute. but this version is very very very incomplete compared to the other one.
03:33 Coke (sadly, I am no longer one of the people who can contribute well. =-)
03:34 pmichaud well, I'm not sure how to jumpstart the degree of completion, alas
03:36 dalek partcl-nqp: 4c699d5 | (Will Coleda)++ |  (2 files):
03:36 dalek partcl-nqp: The only bit of status we had reported so far is now built into 'make test'
03:36 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/4c699d5b0c0b343dea267cda5db1b3cb2de2df9b
03:37 Coke karma (Will Coleda)
03:37 purl (will coleda) has neutral karma
03:37 Coke karma Coleda)
03:37 purl coleda) has neutral karma
03:42 dalek partcl-nqp: 9b30569 | (Will Coleda)++ | CREDITS:
03:42 dalek partcl-nqp: Attempt to fix karma matching for dalek bot in #parrot
03:42 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/9b30569db2e48323b5171384e2ce2d9fc5b12e09
03:42 cconstantine joined #parrot
03:47 dalek partcl-nqp: 7c5a26d | (Will Coleda)++ | TODO:
03:47 dalek partcl-nqp: Throw some more on the pile.
03:47 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/7c5a26d2b9056e74d261b207557e80c7c9f791a7
03:47 dalek partcl-nqp: 6718aef | (Will Coleda)++ | src/PmTcl/Commands.pm:
03:47 dalek partcl-nqp: fix [proc]'s return value.
03:47 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/6718aefa8dd6e950abe9bfdcaa86a9031925a518
03:47 dalek partcl-nqp: 7948a6f | (Will Coleda)++ | src/PmTcl/Commands.pm:
03:47 dalek partcl-nqp: coerce to string for string concat.
03:47 dalek partcl-nqp: (pass a few more tests in t/cmd_proc.t)
03:47 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/7948a6f8a5b72ac5490bb0a46704468df7f90397
03:48 Coke pmichaud: well, certainly the effort to test nqp-rx wouldn't have gone anywhere without you.
03:48 Coke test *the conversion to, that is.
03:49 pmichaud what sort of documentation is needed for "how this version works"?
03:50 pmichaud I was working on that a bit over the last couple of days...
03:51 Coke how do we go from tcl down to pbc? pointers to existing docs fine. references to any existing docs very helpful.
03:51 pmichaud I'll add --target=pbc to HLL::Compiler tomorrow
03:52 pmichaud then it'll just be    pmtcl --target=pbc xyz.tcl
03:52 Coke that doesn't help much, given how much happens at runtime (more)
03:52 Coke ... and I meant more generally; we have this tcl program: what stages does it go through on the way to being run in the vm?
03:52 pmichaud same as most programs (more)
03:53 pmichaud it's parsed using the grammar, as it's being parsed it produces an ast
03:53 pmichaud the ast is then compiled to PIR
03:53 Coke (most programs) a pointer to existing docs on how this works is fine. I'm not sure those exist for someone who isn't already familiar with how it works.
03:53 pmichaud the PIR is then compiled to PBC and executed
03:54 pmichaud there aren't any up-to-date existing docs, no.
03:55 pmichaud the closest would be the squaak tutorial, I guess.
03:55 pmichaud I can spend some time writing up-to-date description of how it works for "most programs", which would generally apply to partcl-nqp
03:56 Coke I think having something more general is better, yah.
03:57 pmichaud anyway, yes, at the moment much of the compilation happens at runtime
03:58 pmichaud for constant proc strings, we can get that to happen at compile-time though.
03:58 Coke except when we can't. =-)
03:58 pmichaud when can't we?
03:58 Coke when the body of the proc contains a syntax error.
03:58 pmichaud oh, that's no problem.
03:58 Coke right now, that's blocking programs from running that should. (overeager.... +1, then. =-)
03:59 pmichaud okay, I don't understand then.
03:59 Coke I /think/ there are cases now where we're throwing a syntax error about a block because we're treating it as code too early.
04:00 Coke (though this could just be a problem with wrong exception types.)
04:00 Coke I haven't diagnosed it fully yet, or it'd be in the TODO.
04:00 Coke let me find an example...
04:00 pmichaud afaik, nothing gets treated as code until it's executed.
04:00 pmichaud (currently)
04:01 pmichaud which would be higher priority... documentation, or ARE?
04:01 Coke sorry, s/as code/as a list/
04:02 Tene pmichaud: is :s lexically scoped inside of []s in nqp?
04:02 pmichaud Tene: should be.
04:02 Coke look at t/cmd_list.t , e.g.
04:02 Coke (hurm. that may be just be a parse error.)
04:02 Coke nevermind. I'll put concrete issues in TODO when I think I know what they are.
04:03 * pmichaud rebuilds partcl-nqp to test
04:04 pmichaud yes, that looks like a parse error to me.
04:04 Coke I imagine docs would be higher priority if the goal is to get more people able to hack on partcl. (I didn't really have that as a goal, though. I figured we had already saturated any potential contributors)
04:04 pmichaud Coke: I'm following whatever goals you have for partcl, primarily :)
04:05 pmichaud is [list "} {"] {\}\ \{} {braces with spaces}
04:06 pmichaud ....how the heck is that supposed to parse?!
04:06 pmichaud ahhhhh
04:06 Coke [list "} {"] generates a single element list.
04:06 pmichaud "(however, if an open brace or close brace within the word is quoted with a backslash then it is not counted in locating the matching close brace)"  <--  I didn't see this part when I read the first time
04:06 pmichaud fixing.
04:06 Coke whee.
04:07 Coke (goals) too much stuff missing atm for any goals. I don't know how I'm going to get it back to where it was, let alone take it further.
04:07 Coke so I've just been slapping stuff in TODO as I come across it and either cannot fix it or think it might be doable for someone else.
04:10 dalek partcl-nqp: 7168d84 | pmichaud++ | src/PmTcl/ (2 files):
04:10 dalek partcl-nqp: Fix \{ and \} inside of braced words.
04:10 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/7168d843ae24e87717d6abcce3bedb3d5103d794
04:10 dalek partcl-nqp: d60c099 | (Will Coleda)++ | src/PmTcl/Commands.pm:
04:10 dalek partcl-nqp: add args-handling to [proc]
04:10 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/d60c099f2453a9b97a350f610620c3a48581deef
04:10 dalek partcl-nqp: 94f2ae9 | pmichaud++ | :
04:10 dalek partcl-nqp: Merge branch 'master' of git@github.com:partcl/partcl-nqp
04:10 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/94f2ae9156c39be4aa4e15b86124eb391dbceeea
04:11 pmichaud latest push fixes \{ and \} in braced words.... t/cmd_list.t parses now.
04:11 lucian joined #parrot
04:12 Coke danke.
04:12 zak_ joined #parrot
04:15 pmichaud I'll add a few more backslash escapes, too.
04:15 Coke if it's easier to reuse standard p5 regex for now, instead of rolling our own, I would say let's do that, since we cannot test the ARE until we're can run tcltest.tcl again.
04:16 pmichaud it's the same amount of work either way.  for partcl, rolling our own is simpler.
04:16 Coke ok
04:18 Coke pmichaud++
04:18 Coke # zzz
04:19 theory joined #parrot
04:19 s1n joined #parrot
04:27 dalek partcl-nqp: 6cfa1cf | pmichaud++ | src/PmTcl/ (2 files):
04:27 dalek partcl-nqp: Add a few more backslash sequences:  \a \b \t \r \v \f .
04:27 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/6cfa1cf1c9b57463bd090a23df967b79d8dac259
04:34 dalek partcl-nqp: e784606 | pmichaud++ | src/PmTcl/ (2 files):
04:34 dalek partcl-nqp: Add \x and \o backslash substitutions.
04:34 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/e78460623215bbb4bf7a7c97a511cea98d229ba6
04:34 dalek partcl-nqp: 6a74cf4 | pmichaud++ | src/PmTcl/ (2 files):
04:34 dalek partcl-nqp: Add \u backslash substitution.
04:34 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/6a74cf45a25e40afc4bfa002d5a42994719bdd12
04:38 theory joined #parrot
04:40 dalek partcl-nqp: 343feaf | pmichaud++ | src/PmTcl/Grammar.pm:
04:40 dalek partcl-nqp: Allow leading whitespace in expressions.
04:40 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/343feafb47e92a2813d1583b5a881cf30f4c6fd1
04:40 dalek partcl-nqp: db66abf | pmichaud++ | TODO:
04:40 dalek partcl-nqp: Update TODO with a fix message.
04:40 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/db66abf83cd4c3df97fe5e9db1b863c4ba928285
04:47 davidfetter joined #parrot
04:51 patspam joined #parrot
05:02 JimmyZ joined #parrot
05:23 nopaste joined #parrot
06:26 rhr joined #parrot
06:36 Coke msg pmichaud looks like 'backx' should not be doing a substr - doesn't the $<x> already contain just the digits?
06:36 purl Message for pmichaud stored.
06:36 Coke (trying to get t/tcl_backslash.t to work)
06:44 Coke whoops. you were mostly right, but it has to deal with the case when the length is < 2. =-)
06:49 Coke pmichaud++
06:56 dalek partcl-nqp: 3b259e5 | (Will Coleda)++ | src/PmTcl/Commands.pm:
06:56 dalek partcl-nqp: add args handling to [append]
06:56 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/3b259e577a55f8680d915937698b508b85424d5a
06:56 dalek partcl-nqp: 750eea8 | (Will Coleda)++ | src/PmTcl/Commands.pm:
06:56 dalek partcl-nqp: add args handling to eval
06:56 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/750eea86617b8eb32d6c1f8d35b34a555068fd2c
06:56 dalek partcl-nqp: 3205dc7 | (Will Coleda)++ | src/PmTcl/Actions.pm:
06:56 dalek partcl-nqp: When converting \xNNN, don't try to take more digits than we have.
06:56 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/3205dc774711e67635e6f482bcf2c8c03e33fa11
06:57 dalek partcl-nqp: f4076cb | (Will Coleda)++ | TODO:
06:57 dalek partcl-nqp: Add a new blocker.
06:57 dalek partcl-nqp: Remove item completed by pmichaud++
06:57 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/f4076cbab930a61ad92526cf8e56d3a7a9a840a0
06:57 * Coke wonders why the CREDITS is still not translating Will Coleda to coke.
06:58 Coke (maybe it is pulling from just parrot after all.)
07:18 cotto apparently generating a 12G pprof and filling up the disk is a condition the profiling runcore doesn't handle gracefully.
07:21 cotto Meh.  I should be encapsulating that anyway.
07:24 dukeleto 'ello
07:33 cotto hi
07:33 purl privet, cotto.
07:33 cotto Mmmm.  purl sounds all foreign and sophisticated.
07:33 cotto It's a thin and obvious veneer, but I'll take it.
07:34 plobsing joined #parrot
07:35 dukeleto cotto: hola
07:35 purl que tal, dukeleto.
07:35 dukeleto plobsing: howdy
07:39 * dukeleto is hacking on a pure-PIR test harness
07:40 cotto dukeleto, will it be as crazy as the perl-based version?
07:40 cotto because that'd be both awesome and terrifying
07:41 JimmyZ joined #parrot
07:43 dukeleto cotto: http://github.com/leto/tapir
07:44 dukeleto cotto: it eats TAP and prints out a summary. i think everything that Parrot::Harness does is outside the scope, but tapir runs tests and eats the output
07:44 dukeleto cotto: my hope is that it makes running the parrot test suite *a lot* faster and maybe gets rid of some perl 5 deps
07:45 dukeleto cotto: tapir is being written to be testable from the ground up, unlike nqpTAP
07:46 dukeleto as well as being a no-dependency test harness for things built on Parrot
07:47 fperrad joined #parrot
07:47 dukeleto fperrad: hola
07:47 cotto pmichaud, ping
07:48 dalek tracwiki: v4 | cotto++ | WhyDoesNQPGenerateInefficientCode
07:48 dalek tracwiki: better formatting for those of us with non-big screens
07:48 dalek tracwiki: https://trac.parrot.org/parrot/wiki/WhyDoesNQPGe​nerateInefficientCode?version=4&amp;action=diff
07:50 fperrad_ joined #parrot
07:50 fperrad_ dukeleto, good morning
07:50 dukeleto tapir should be the fastest test harness around
07:50 dukeleto fperrad_: good localtime()!
07:51 dukeleto fperrad_: thank you for setup.pir, it rocks!
07:51 cotto msg pmichaud Do you know of a system that gets assignment vs binding right?  It seems like this would be a productive task to add to ItsABugHunt since it's causing some pessimization in nqp.
07:51 purl Message for pmichaud stored.
07:52 fperrad_ dukeleto, what's about your 2 msg
07:52 Tene cotto: it would also be useful to ask how it works in other vms.
07:52 Tene that would be a good research task for someone.
07:53 dukeleto fperrad: what do you mean?
07:54 cotto Tene, that's a good idea.  I imagine that the PyPy guys have dealt with something like this problem.
07:54 fperrad dukeleto [Fri Nov 27 23:41:52 2009] said: parrot setup.pir plumage does not work for me
07:54 fperrad dukeleto [Fri Nov 27 23:48:48 2009] said: i would like to add custom steps to setup.pir, how hard is that?
07:54 Tene cotto: please add those questions to the wiki.
07:58 dukeleto fperrad: i would like something like "parrot setup.pir readme" to print out a readme or something
07:59 dukeleto fperrad: and, parrot setup.pir plumage does not work for me :)
08:03 fperrad dukeleto, there are :
08:03 fperrad $ parrot setup.pir usage
08:03 fperrad and you could overload the message in setup.pir :
08:03 fperrad $P0['usage'] = 'your helpful message'
08:04 cotto Tene, done
08:04 dalek tracwiki: v6 | cotto++ | ItsABughunt
08:04 dalek tracwiki: add deficient lvalue model
08:04 dalek tracwiki: https://trac.parrot.org/parrot/wiki/I​tsABughunt?version=6&amp;action=diff
08:10 fperrad dukeleto, if you want a real custom step, see for example :
08:10 fperrad http://github.com/vadrer/tcl-​bridge/blob/master/setup.pir
08:13 dukeleto fperrad: thanks!
08:15 fperrad dukeleto, what happens with : parrot setup.pir plumage
08:19 dukeleto fperrad: unknown target : plumage
08:20 dalek gil: 4df1b40 | fperrad++ | setup.pir:
08:20 dalek gil: fix shebang
08:20 dalek gil: review: http://github.com/tene/gil/commit/4df​1b404488da25f9148de0808c72ce5adc099a7
08:22 fperrad dukeleto, target 'plumage' was added in r42763
08:36 nopaste joined #parrot
08:37 dukeleto fperrad: how do I update setup.pir? which files are involved?
08:39 lucian joined #parrot
08:40 fperrad dukeleto, only one file in parrot tree : runtime/parrot/library/distutils.pir
09:00 nopaste "vad" at 195.250.178.68 pasted "I've mailed to parrot-users, but it isn't appearing there... (premoderation?)" (48 lines) at http://nopaste.snit.ch/18897
09:01 dukeleto fperrad: what do i do to upgrage setup.pir in Kea? what do i need to do with distutils.pir?
09:01 vad hi, can anyone please look at  http://nopaste.snit.ch/18897 ?
09:02 dukeleto vad: i saw your email go through to parrot-users
09:02 dukeleto vad: your question is very specific and I am of no help
09:03 fperrad dukeleto, nothing in Kea, in parrot : make world install
09:10 vad dukeleto: thanks, probably I'm not seeing my own e-mail due to mailer settings. okay :)
09:22 Tene fperrad: I'm really pleased with setup.pir, thanks!
09:23 dukeleto fperrad: i see, parrot needs to be upgraded. thanks!
09:25 dukeleto fperrad: i see it now, thanks!
09:25 dukeleto fperrad++
09:28 iblechbot joined #parrot
09:30 fperrad Tene, you succeed to convert steme to NQP-RX, have you seen TT #1319 & TT #1321 ?
09:30 Tene fperrad: No, I haven't.
09:31 Tene fperrad: Yeah, I can do those.
09:31 Tene probably not tonight.
09:32 Tene If you ping me about it tomorrow, I'll try to make time.
09:32 Tene Thanks for pointing that out to me.
09:32 Tene I don't know where squaak is located, I think...
09:33 Tene abc is in parrot's examples dir, maybe?
09:34 fperrad Tene, both in examples/languages
09:34 Tene ah
09:37 fperrad seen chromatic
09:37 purl chromatic was last seen on #parrot 2 days, 5 hours, 27 minutes and 19 seconds ago, saying: There are a few tickets for related issues.  [Nov 27 04:09:08 2009]
09:42 mikehh joined #parrot
09:45 dukeleto squaak?
09:45 purl squaak is languages/squaak or the language in kj's tutorial at parrotblog.org or http://svn.perl.org/parrot/trunk/languages/squaak/
09:46 dukeleto has anyone written getopt for PIR yet?
09:48 Tene dukeleto: I thought I saw plumage using it...
09:49 Tene dukeleto: runtime/parrot/library/Getopt/Obj.pir
09:49 dukeleto cool!
09:49 Tene It's in the right namespace, looks like, so you should even be able ot use it from Parrot.
09:49 Tene erm
09:49 Tene HLLs.
09:51 Tene Oh, not quite...
09:51 Tene that could use some fixing... I should write a doc on that.
09:51 Tene >.>
09:51 Tene I mean... "someone" should.
09:51 Tene You didn't see anything.
09:52 Tene Is there a ticket about that?  If so, does the ticket say where that documentation should live?
09:52 Tene If someone can point me in the right direction on that, I'll write it.
10:13 nopaste joined #parrot
10:15 nopaste joined #parrot
10:36 zak_ joined #parrot
10:53 Zak joined #parrot
11:29 mikehh joined #parrot
11:35 dalek lua: e90f9cf | fperrad++ |  (2 files):
11:35 dalek lua: update generated Plumage description
11:35 dalek lua: review: http://github.com/fperrad/lua/commit/e9​0f9cff47c00d2aa716c0823cdbbb025ef6c0fa
11:35 dalek lua: 197f0cd | fperrad++ | :
11:35 dalek lua: Merge branch 'master' of github.com:fperrad/lua
11:35 dalek lua: review: http://github.com/fperrad/lua/commit/19​7f0cd078d8176ff415751e5669f3261bd34dca
11:35 dalek lua: b6ce733 | fperrad++ |  (2 files):
11:35 dalek lua: convert test to PIR (from Perl)
11:35 dalek lua: review: http://github.com/fperrad/lua/commit/b6​ce73379b9a79f72c54f5af692cab4c013855a9
11:42 luobo joined #parrot
12:34 lucian joined #parrot
12:41 Zak joined #parrot
12:47 lucian joined #parrot
12:55 barney joined #parrot
12:55 dalek parrot: r42821 | fperrad++ | trunk/runtime/parrot/library/distutils.pir:
12:55 dalek parrot: [distutils] help is an alias of usage
12:55 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42821/
13:06 lucian joined #parrot
13:16 joeri joined #parrot
13:16 bacek_at_work joined #parrot
13:24 masak joined #parrot
13:39 bacek_at_work joined #parrot
13:56 Zak joined #parrot
14:08 bacek_at_work joined #parrot
14:09 JimmyZ joined #parrot
14:10 Whiteknight joined #parrot
14:23 dalek hq9plus: 886664c | bernhard++ |  (10 files):
14:23 dalek hq9plus: Adapted file structure to the structure proposed
14:23 dalek hq9plus: by the current mk_language_shell.pl.
14:23 dalek hq9plus: review: http://github.com/bschmalhofer/hq9plus/comm​it/886664c0ba8261d748235e2fdf76109d4f9218ce
14:23 dalek hq9plus: 01a5ab9 | bernhard++ |  (2 files):
14:23 dalek hq9plus: Configure.pl is no longer used, but a second hq9plus.pir is needed.
14:23 dalek hq9plus: review: http://github.com/bschmalhofer/hq9plus/comm​it/01a5ab993144421bc64779163641d501ad350e51
14:23 dalek hq9plus: 0b160c2 | bernhard++ | lib/Parrot/Test/Hq9plus.pm:
14:23 dalek hq9plus: Removed support for testing in 'languages'.
14:23 dalek hq9plus: review: http://github.com/bschmalhofer/hq9plus/comm​it/0b160c2371f8ab006b58e3fcd79b89cb93a0e611
14:23 dalek hq9plus: 262854f | bernhard++ | lib/Parrot/Test/Hq9plus.pm:
14:23 dalek hq9plus: Use the installed 'parrot'.
14:23 dalek hq9plus: review: http://github.com/bschmalhofer/hq9plus/comm​it/262854f41ad7bb554f4c5fa72ccbf9b57c2e5141
14:23 dalek hq9plus: 5d85288 | bernhard++ | Makefile.in:
14:23 dalek hq9plus: Merge with version from current mk_language_shell.pl.
14:23 dalek hq9plus: review: http://github.com/bschmalhofer/hq9plus/comm​it/5d85288eede78cef2ad8a1db88e7036686583a27
14:23 dalek hq9plus: 071e84b | bernhard++ | README:
14:23 dalek hq9plus: Updated README.
14:23 dalek hq9plus: review: http://github.com/bschmalhofer/hq9plus/comm​it/071e84b255e79b77e301c90a44756880e46b852a
14:23 dalek hq9plus: 479ece9 | bernhard++ | src/hq9plus.pir:
14:23 dalek hq9plus: gen_builtins.pir is no longer used.
14:23 dalek hq9plus: review: http://github.com/bschmalhofer/hq9plus/comm​it/479ece985e4fb3c5e5eeaffd1c831868e2f4d49d
14:23 dalek hq9plus: d212b6d | bernhard++ |  (8 files):
14:23 dalek hq9plus: Removed copyright statements.
14:23 dalek hq9plus: review: http://github.com/bschmalhofer/hq9plus/comm​it/d212b6d228db8b11c540359cda1b571e38ffc971
14:23 dalek hq9plus: 2f438ca | bernhard++ |  (9 files):
14:23 dalek hq9plus: Removed CVS-Id tags.
14:23 dalek hq9plus: review: http://github.com/bschmalhofer/hq9plus/comm​it/2f438cabd0825ca94705eaa5b70363ada28729aa
14:31 bacek_at_work joined #parrot
14:32 dalek winxed: r232 | julian.notfound++ | trunk/winxedst1.winxed:
14:32 dalek winxed: operator post ++ in stage 1
14:32 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=232
14:34 dalek hq9plus: 2983ddd | bernhard++ | hq9plus/.gitignore:
14:34 dalek hq9plus: Added hq9plus/.gitignore, so that the dir is created.
14:34 dalek hq9plus: review: http://github.com/bschmalhofer/hq9plus/comm​it/2983ddd4337124c2f1ae511a2ed1a95a1bdc2d6e
14:40 dalek tracwiki: v114 | barney++ | Languages
14:40 dalek tracwiki: https://trac.parrot.org/parrot/wiki/L​anguages?version=114&amp;action=diff
14:58 patspam joined #parrot
15:07 bogen left #parrot
15:31 dalek lua: 1cbd39d | fperrad++ | t/env.t:
15:31 dalek lua: more tests in PIR
15:31 dalek lua: review: http://github.com/fperrad/lua/commit/1c​bd39df73449b7c2410caf325cacc1640bc8126
15:32 patspam joined #parrot
15:57 Psyche^ joined #parrot
16:14 cognominal joined #parrot
16:16 patspam1 joined #parrot
16:25 elmex joined #parrot
16:27 jan joined #parrot
16:28 tetragon joined #parrot
16:44 dalek lua: b427908 | fperrad++ | t/env.t:
16:44 dalek lua: convert CRLF to LF
16:44 dalek lua: review: http://github.com/fperrad/lua/commit/b4​27908e2ada684f1a9274865e7bc4dc7a488255
16:45 tetragon_ joined #parrot
16:50 dalek parrot-linear-algebra: 1e236ea | andrew++ |  (5 files):
16:50 dalek parrot-linear-algebra: fix the build so it dumps the library into the ./ folder instead of ./dynext/. Fix tests so they can run without having to make install
16:50 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/1e236ea486f5c47ee2f4a07ab28996ab6fdc5b75
16:50 dalek parrot-linear-algebra: f27ef82 | andrew++ | README:
16:50 dalek parrot-linear-algebra: remove notice in README about the broken build/test process. It's fixed
16:50 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/f27ef827b6f1786cb45920ae09bf32ffe902612c
16:54 vad joined #parrot
17:07 dalek lua: 5c10f3c | fperrad++ | t/lua-TestMore:
17:07 dalek lua: update submodule lua-TestMore
17:07 dalek lua: review: http://github.com/fperrad/lua/commit/5c​10f3c731d114408ff219a432aa91591863d5d6
17:24 dalek tracwiki: v115 | barney++ | Languages
17:24 dalek tracwiki: Note that unlambda works with Parrot 1.8.0.
17:24 dalek tracwiki: https://trac.parrot.org/parrot/wiki/L​anguages?version=115&amp;action=diff
17:43 jsut joined #parrot
17:48 elmex joined #parrot
17:49 japhb fperrad: I've been in Thanksgiving Land.  You rang?
17:51 iblechbot joined #parrot
17:53 dalek unlambda: 4076342 | bernhard++ |  (4 files):
17:53 dalek unlambda: Make unlambda work with an installed parrot.
17:53 dalek unlambda: review: http://github.com/bschmalhofer/unlambda/comm​it/4076342800aa5bacaa62258de71d742b517abe54
17:53 dalek unlambda: 89010cc | bernhard++ |  (5 files):
17:53 dalek unlambda: Use Configure.pir instead of Configure.pl.
17:53 dalek unlambda: review: http://github.com/bschmalhofer/unlambda/comm​it/89010ccf5a63cb1d6e3d6da540861d5a91f94dcf
17:53 dalek unlambda: 7bb32d9 | bernhard++ | Configure.pl:
17:53 dalek unlambda: Configure.pl is no longer needed.
17:53 dalek unlambda: review: http://github.com/bschmalhofer/unlambda/comm​it/7bb32d9c63ab6e7de5472237e045f0f15c49931d
18:14 dalek partcl-nqp: 8add5bf | pmichaud++ |  (6 files):
18:14 dalek partcl-nqp: Add initial version of AREs  (only matches regex literals for now).
18:14 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/8add5bfaa3412297b44cc42bd95c4de175073a89
18:14 dalek partcl-nqp: ccab549 | pmichaud++ | src/ARE/ (2 files):
18:14 dalek partcl-nqp: Add *, +, and ? quantifiers.
18:14 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/ccab549692e29d82e5cccdef8f263a4b792ac620
18:14 dalek partcl-nqp: c61dca5 | pmichaud++ | src/ARE/ (2 files):
18:14 dalek partcl-nqp: Add dot metachar to ARE  (metachar:sym<.>).
18:14 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/c61dca5d386d34d68fdf384ead24eacf033e5258
18:14 dalek partcl-nqp: 2bff6f8 | pmichaud++ | src/ (3 files):
18:14 dalek partcl-nqp: Add \d, \s, \w, \D, \S, \W backslash escapes to ARE.
18:14 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/2bff6f851587789fae74bdf9134adbceac144e3b
18:15 cognominal joined #parrot
18:15 dukeleto when does dalek update the list of langauges from the wiki? seems like it takes a while
18:15 pmichaud afk, lunch
18:38 theory joined #parrot
19:02 joeri joined #parrot
19:05 mtk1 joined #parrot
19:05 dalek parrot: r42822 | jonathan++ | trunk/runtime/parrot/library/P6object.pir:
19:05 dalek parrot: [p6object] P6Object needs to also recognize new Perl 6 named for Object (left recognition of existing one in, no deprecation issues).
19:05 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42822/
19:06 mtk1 left #parrot
19:15 Hunger joined #parrot
19:47 Coke pmichaud++
20:42 dalek parrot-linear-algebra: ceba80e | andrew++ | src/pmc/pla_matrix_types.h:
20:42 dalek parrot-linear-algebra: fix indexing for complex.
20:42 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/ceba80e1a502a54cda4c782d47d4d5e8c43c35d5
20:42 dalek parrot-linear-algebra: 8ae9618 | andrew++ | t/pmc/complexmatrix2d.t:
20:42 dalek parrot-linear-algebra: add some tests for ComplexMatrix2D.tranpose and .mem_transpose so we don't regress on those things
20:42 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/8ae9618ae83c02a1fe55eeabfc1cb755a2c37b85
20:44 dalek parrot-plumage: cdb7a36 | japhb++ | :
20:44 dalek parrot-plumage: [METADATA] GIL and Steme files, courtesy of fperrad++
20:44 dalek parrot-plumage: review: http://gitorious.org/parrot-plumage/parrot-plumag​e/commit/cdb7a364507ce84e43aa78899a777b0ab42f38d6
20:48 pmichaud Coke: if you'll tell me which regexp constructs are most useful for partcl at this point, I'll add them.
20:54 davidfetter joined #parrot
21:23 PacoLinux joined #parrot
21:29 dalek parrot-linear-algebra: 7606f31 | andrew++ |  (2 files):
21:29 dalek parrot-linear-algebra: add a conjugate method to ComplexMatrix2D and add tests to verify it
21:29 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/7606f3177f9602149136e4b53cd1f5d49cabd5fe
21:29 dalek matrixy: 7542fa4 | andrew++ | t/functions/mtimes.t:
21:29 dalek matrixy: skip the t/function/mtimes.t tests, they all fail for now
21:29 dalek matrixy: review: http://github.com/Whiteknight/matrixy/commi​t/7542fa43273ff7702f723ea692eb091e8f6b0bd3
21:29 dalek matrixy: 811296c | andrew++ | t/functions/conj.t:
21:29 dalek matrixy: add test for conj()
21:29 dalek matrixy: review: http://github.com/Whiteknight/matrixy/commi​t/811296c9d5aaa266e12881b7baa95ef18f9489f2
21:29 dalek matrixy: f79ad83 | andrew++ | t/functions/ctranspose.t:
21:29 dalek matrixy: add tests for ctranspose.t
21:29 dalek matrixy: review: http://github.com/Whiteknight/matrixy/commi​t/f79ad8319073a2e40b32834654d69b32d0b558c2
21:56 hercynium joined #parrot
21:56 Coke pmichaud: I don't have any priority on those.
21:57 Coke so, whichever ones look fun. =-)
21:58 nopaste joined #parrot
22:04 Coke I am wondering if this is a good time to copy over the switch handling code.
22:11 Coke pmichaud: ping
22:18 jsut joined #parrot
22:19 cognominal_ joined #parrot
22:31 lucian joined #parrot
22:36 nopaste joined #parrot
23:10 nopaste joined #parrot
23:25 lucian joined #parrot
23:36 pmichaud Coke: pong
23:39 japhb pmichaud, I'd like to re-up my pitch for full hash literal syntax in NQP-rx.  Aside from Plumage, not having hash literals is also affecting use of fperrad's setup system.
23:39 pmichaud japhb: noted
23:39 japhb pmichaud, thanks!
23:40 pmichaud japhb: I'd be willing to entertain patches from others for it, though.  I looked at writing it a couple of weeks ago and it wasn't coming out very pretty
23:45 japhb pmichaud, if you can describe what you're looking for (by which I mean, any limits on how it should or shouldn't work), I *might* be able to learn enough to do it.
23:45 pmichaud I'm just looking for a cleanish implementation.  Generating the code to individually set the hash elements is a bit of a pain.
23:45 japhb Might be a good excuse to really try to learn the NQP-rx internals
23:48 japhb I'm not entirely sure there exists a cleaner method for non-constant multi-level hashes.  (I mean, I can think of some variant implementations, but they are all of equal or greater complexity than just inlining the hash-building code.)

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

Parrot | source cross referenced