Camelia, the Perl 6 bug

IRC log for #parrot, 2011-07-09

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:03 logie left #parrot
00:05 dalek winxed: 55d883f | NotFound++ | t/advanced/05attributes.t:
00:05 dalek winxed: some tests for attribute access
00:05 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/55d883f467
00:19 theory left #parrot
00:19 dalek rakudo/nom: e467eaf | jonathan++ | src/ (7 files):
00:19 dalek rakudo/nom: Add default %_ for methods. It's rather smarter than master, and doesn't allocate if it's never used.
00:19 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/e467eaf189
00:19 dalek rakudo/nom: d9b6344 | jonathan++ | t/spectest.data:
00:19 dalek rakudo/nom: We now pass two more test files.
00:19 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/d9b6344ea9
00:23 whiteknight joined #parrot
00:29 whiteknight good evening, #parrot
00:29 soh_cah_toa \o
00:31 kid51_at_dinner left #parrot
00:34 soh_cah_toa whiteknight: cotto says i'm supposed to talk to you
00:34 soh_cah_toa about compiling .pir files in hbdb
00:34 whiteknight sounds like a chore. What did you do to deserve that?
00:35 nopaste "soh_cah_toa" at 192.168.1.3 pasted "For whiteknight" (33 lines) at http://nopaste.snit.ch/58812
00:35 bubaflub evening whiteknight
00:35 soh_cah_toa whiteknight: that ^
00:35 soh_cah_toa it doesn't work
00:36 soh_cah_toa bah, forgot to remove FOOBAR. that's nothing but a stub
00:36 soh_cah_toa anyway, it fails at Parrot_api_load_bytecode_file()
00:36 soh_cah_toa ERROR: PackFile_Header_validate: This is not a valid Parrot bytecode file.
00:37 whiteknight is it a valid parrot bytecode file?
00:37 soh_cah_toa is a .pir file i want to compile to bytecode
00:37 soh_cah_toa which i thought the imcc_* functions would do
00:38 whiteknight what is the contents of ps_file?
00:38 dalek rakudo/nom: 1762378 | jonathan++ | NOMMAP.markdown:
00:38 dalek rakudo/nom: Remove done nommap item.
00:38 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/17623784c1
00:38 dalek rakudo/nom: aeb6b08 | jonathan++ | src/Perl6/Actions.pm:
00:38 dalek rakudo/nom: Fix bug with has ($!a, $!b) style decls.
00:38 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/aeb6b08607
00:38 dalek rakudo/nom: e66e95f | jonathan++ | t/spectest.data:
00:38 dalek rakudo/nom: We pass S12-class/attributes.t.
00:38 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/e66e95f8ac
00:39 whiteknight better yet, what exactly is this snippet of code supposed to be doing?
00:39 JimmyZ joined #parrot
00:39 soh_cah_toa file is supposed to be the name of a pir file, i want to compile it to bytecode and then load it w/ Parrot_api_load_bytecode_file()
00:40 mikehh_ joined #parrot
00:41 rurban_ joined #parrot
00:42 mikehh left #parrot
00:43 mikehh_ left #parrot
00:43 rurban left #parrot
00:44 rurban_ is now known as rurban
00:44 kid51 joined #parrot
00:52 Kulag joined #parrot
00:54 Drossel left #parrot
00:54 whiteknight imcc_compile_file_api compiles the .PIR file to a PBC PMC
00:55 whiteknight Parrot_api_load_bytecode_file loads a .pbc file into a PBC PMC
00:55 lichtkind left #parrot
00:55 whiteknight so, you only need one or the other. Doing both is nonsensical
00:55 soh_cah_toa hmm, ok let me try
00:55 whiteknight that bottom /* Load bytecode */ section should all be in an else block
00:56 soh_cah_toa ok
01:04 soh_cah_toa it was doing this before and again now, when i change: if (!strcmp(strrchr(file, '.'), "pbc"))
01:04 soh_cah_toa to: if (strcmp(strrchr(file, '.'), "pbc") != 0)
01:04 soh_cah_toa then it works w/ .pir files but not .pbc files. the first way works w/ .pbc but not .pir
01:05 soh_cah_toa pretty much what i want is: if (not .pbc file) { compile the .pir } else { load pbc }
01:06 whiteknight there's code to do that same thing in frontend/parrot/main.c
01:06 whiteknight I dont remember what it does
01:06 soh_cah_toa i cargo culted much of that from there :/
01:06 whiteknight ok
01:06 soh_cah_toa i just cut out the pasm parts
01:09 NotFound_b joined #parrot
01:10 dafrito joined #parrot
01:11 Kulag left #parrot
01:14 Kulag joined #parrot
01:19 JimmyZ_ joined #parrot
01:20 daniel-s joined #parrot
01:23 soh_cah_toa ha! it was b/c i compared the extension to "pbc" instead of ".pbc"
01:24 soh_cah_toa i can't tell you how many mistakes like that i've made this summer ;)
01:24 whiteknight oh, nice
01:24 soh_cah_toa though i did need to make it an else clause
01:24 JimmyZ left #parrot
01:24 soh_cah_toa so whiteknight++ for that
01:25 JimmyZ_ is now known as JimmyZ
01:27 dalek parrot/whiteknight/pbc_pbc: 05ed215 | Whiteknight++ | src/ (2 files):
01:27 dalek parrot/whiteknight/pbc_pbc: cleanups to the embedding API
01:27 dalek parrot/whiteknight/pbc_pbc: review: https://github.com/parrot/parrot/commit/05ed215a8b
01:28 soh_cah_toa Parrot_pf_prepare_packfile_init() is a MUCH nicer name
01:30 dalek parrot/whiteknight/pbc_pbc: c4d3d65 | Whiteknight++ | t/pmc/packfileview.t:
01:30 dalek parrot/whiteknight/pbc_pbc: Fixup packfileview.t
01:30 dalek parrot/whiteknight/pbc_pbc: review: https://github.com/parrot/parrot/commit/c4d3d659fb
01:30 dukeleto msg kid51 please don't assign me Trac tickets without asking me first
01:30 aloha OK. I'll deliver the message.
01:35 kid51 dukeleto: Which particular one are you referring to?  (Tonight I've mostly just been adding Components.)
01:36 kid51 Generally, only about 1 of every 150 cage-cleaning actions I take involves assignment of a ticket.
01:36 JimmyZ_ joined #parrot
01:36 cotto ~~
01:36 kid51 My practice is to cc before assigning
01:37 cotto soh_cah_toa, API cleanup ftw
01:38 jay I've been lurking and working.  Hello all.
01:39 soh_cah_toa yes
01:39 cotto hi jay
01:40 whiteknight so...much...cleanup
01:40 whiteknight and as I'm doing this packfile cleanup work, I'm really becoming annoyed by the poor quality of the interp subsystem
01:40 whiteknight so that might end up on my hitlist before too long
01:41 cotto whiteknight, what about it?
01:41 whiteknight bad function naming, no clear organization to any of it, weird abstraction boundaries, etc
01:41 cotto I like it when things annoy you.
01:41 JimmyZ left #parrot
01:41 JimmyZ_ is now known as JimmyZ
01:42 cotto whiteknight++
01:42 dalek winxed: 270adb5 | NotFound++ | winxedst1.winxed:
01:42 dalek winxed: improve checks and diagnostics of wrong null usages
01:42 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/270adb52b1
01:43 whiteknight at the current state of the whiteknight/pbc_pbc branch, I think it's possible to rewrite the parrot frontend in PIR
01:43 NotFound_b BTW I'm thinking that we may need a getcontext op
01:43 whiteknight so I'm going to put together a proof-of-concept for that soon
01:43 whiteknight NotFound_b: yes, I've planned one of those
01:44 whiteknight it's an important part of my PCC refactors
01:44 whiteknight er, my PCC refactor plan
01:44 NotFound_b It doesn't make much sense to get the interp and then the current context from it.
01:44 dalek TT #901 closed by dukeleto++: eval is broken in parrot_debugger
01:44 dalek TT #901: http://trac.parrot.org/parrot/ticket/901
01:44 dalek TT #1466 closed by dukeleto++: Debugger "eval" instruction needs to be implemented
01:44 dalek TT #1466: http://trac.parrot.org/parrot/ticket/1466
01:45 whiteknight NotFound_b: Create a branch. Add it
01:46 Kulag left #parrot
01:46 NotFound_b getcontext or get_context? I never know what is our current preferred style for op names.
01:46 kid51 left #parrot
01:47 whiteknight I would say getcontext
01:47 whiteknight same as getinterp
01:48 whiteknight do it in a branch, we can change it if we need
01:52 Kulag joined #parrot
01:52 whiteknight left #parrot
02:01 dafrito left #parrot
02:05 dalek winxed: 4a6e6a1 | NotFound++ | winxedst1.winxed:
02:05 dalek winxed: some more checks for wrong null usages
02:05 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/4a6e6a1413
02:07 dalek winxed: 4c97909 | NotFound++ | pir/winxed_compiler.pir:
02:07 dalek winxed: update installable compiler
02:07 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/4c9790995b
02:10 daniel-s left #parrot
02:12 jay Anyone here interested in glancing at a slight modification of some old code from Whiteknights' matrixy that I can't quite get working now?  It's killing me.
02:16 dalek parrot: cf1bd29 | NotFound++ | ext/winxed/compiler.pir:
02:16 dalek parrot: update winxed compiler to c9790995b
02:16 dalek parrot: * Indirect attribute access
02:16 dalek parrot: * Fixes in string escape sequeneces
02:16 dalek parrot: * New get/setattribute builtins
02:16 dalek parrot: review: https://github.com/parrot/parrot/commit/cf1bd29f75
02:17 bubaflub jay: nopaste or gist it
02:17 jay His original for_statement is in https://github.com/Whiteknight/matri​xy/blob/master/src/parser/actions.pm
02:18 jay My version I'll nopaste.  >>
02:18 jay It almost works, but not quite: a parameter problem I think.  It's iterating the right number of times and the body is executing.  My code and a simple example is at: http://nopaste.info/c795ca0efc.html.
02:19 jay Yes, I realize a while look could suffice, but iterating over a set is a little different... and I'm trying to learn, anyway.
02:20 jay The changes from Whiteknight's code is minor.  As far as I can tell, the PAST::Op.new() has been updated since he probably wrote his code.
02:23 NotFound_b left #parrot
02:42 dalek parrot-gmp: f81e30b | bubaflub++ | / (4 files):
02:42 dalek parrot-gmp: move scripts to bin/ directory
02:42 dalek parrot-gmp: review: https://github.com/bubaflub/​parrot-gmp/commit/f81e30b4e0
02:42 dalek parrot-gmp: 095b282 | bubaflub++ | TODO.md:
02:42 dalek parrot-gmp: update TODO list
02:42 dalek parrot-gmp: review: https://github.com/bubaflub/​parrot-gmp/commit/095b282052
02:42 dalek parrot-gmp: c82545e | bubaflub++ | README.md:
02:42 dalek parrot-gmp: update README, a bit more explaining to do
02:42 dalek parrot-gmp: review: https://github.com/bubaflub/​parrot-gmp/commit/c82545eedb
02:44 JimmyZ left #parrot
02:47 theory joined #parrot
03:21 lucian left #parrot
04:20 dalek TT #1812 closed by plobsing++: Less Than Awesome error message when new Rakudo tries to run on old Parrot
04:20 dalek TT #1812: http://trac.parrot.org/parrot/ticket/1812
05:02 cotto seen zloyrusskiy
05:02 aloha zloyrusskiy was last seen in #parrot 2 days 5 hours ago joining the channel.
05:23 theory left #parrot
05:24 theory joined #parrot
05:24 soh_cah_toa left #parrot
05:33 fperrad joined #parrot
06:02 daniel-s joined #parrot
06:04 zby_home joined #parrot
06:06 JimmyZ joined #parrot
06:14 JimmyZ left #parrot
06:28 JimmyZ joined #parrot
06:36 Kovensky left #parrot
06:38 theory left #parrot
06:46 Kovensky joined #parrot
07:28 theory joined #parrot
07:34 theory left #parrot
07:51 preflex left #parrot
07:53 preflex joined #parrot
08:33 zby_home left #parrot
08:41 rurban_ joined #parrot
08:43 rurban left #parrot
08:44 rurban_ is now known as rurban
09:06 Eclesia joined #parrot
09:06 Eclesia hi
09:07 fperrad left #parrot
09:52 daniel-s left #parrot
09:58 daniel-s joined #parrot
10:04 daniel-s left #parrot
10:12 daniel-s joined #parrot
10:15 dalek rakudo/nom: f583316 | jonathan++ | src/binder/container.c:
10:15 dalek rakudo/nom: Decontainerize a little earlier in scalar assignment, so that the value type check will actually work from the correct type check cache, rather than creating an inferior runloop to do the type check. Should very significantly speed up every $a = $b.
10:15 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/f58331690e
10:17 daniel-s_ joined #parrot
10:20 daniel-s left #parrot
10:20 daniel-s_ left #parrot
10:26 fperrad joined #parrot
10:35 whiteknight joined #parrot
11:05 dalek TT #85 closed by whiteknight++: Add exported function Parrot_set_HLL()
11:05 dalek TT #85: http://trac.parrot.org/parrot/ticket/85
11:08 daniel-s joined #parrot
11:13 daniel-s left #parrot
11:15 daniel-s joined #parrot
11:16 dalek parrot: 6c7553f | Whiteknight++ | api.yaml:
11:16 dalek parrot: Parrot_compreg function is not needed after IMCC refactors and is deprecated
11:17 dalek parrot: review: https://github.com/parrot/parrot/commit/6c7553fa28
11:17 dalek parrot: 6aa415d | Whiteknight++ | / (2 files):
11:17 dalek parrot: Add in a new function for returning the search paths array as a single string. Not wired in to anything yet, so shouldn't cause any problems. wayland++. See TT #560 for more details
11:17 dalek parrot: review: https://github.com/parrot/parrot/commit/6aa415d56f
11:21 dalek TT #852 closed by whiteknight++: Mark OpenGL subsystem as experimental
11:21 dalek TT #852: http://trac.parrot.org/parrot/ticket/852
11:23 whiteknight msg cotto can you take a look at TT #2146 when you get a moment? I would like to deprecate the current load_bytecode op and replace it with a new version I'm developing. I would like to get the dep notice in before 3.6 if possible. We can wait till 3.9 too, if you prefer
11:23 aloha OK. I'll deliver the message.
11:27 lucian joined #parrot
11:30 dalek rakudo/nom: 48e6bf7 | jonathan++ | src/binder/bind.c:
11:30 dalek rakudo/nom: Extra check to make sure we don't corrupt memory when handling *%_ in optimized code path.
11:30 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/48e6bf724c
11:37 dalek TT #2146 created by whiteknight++: Deprecate load_bytecode op
11:37 dalek TT #2146: http://trac.parrot.org/parrot/ticket/2146
11:45 whiteknight left #parrot
12:27 kid51 joined #parrot
12:28 kid51 whiteknight++ for culling thru old Trac tickets
12:30 fivetonsflax joined #parrot
12:36 jnthn__ So it turns out that if you have a variable called returns or return_type in an ops file, ops2c goes and wraps it up in an extra level of parens, causing an innevitable C syntax error. WTF.
12:38 jnthn__ foo->return_type ends up coming out as foo->(return_type)
12:38 jnthn__ Rename that to rtype and it works
12:38 jnthn__ :/
12:40 jnthn__ It's TT #2147 now.
12:50 ambs joined #parrot
12:52 fivetonsflax hi
12:53 fivetonsflax I can't seem to connect to ftp.parrot.org.
12:53 fivetonsflax anyone know what's up with that?
12:54 tadzik seems down here too
12:55 dalek TT #2147 created by jonathan++: ops2c and a variable with "return" in its name
12:55 dalek TT #2147: http://trac.parrot.org/parrot/ticket/2147
13:03 fivetonsflax left #parrot
13:05 fivetonsflax joined #parrot
13:05 fivetonsflax left #parrot
13:05 fivetonsflax joined #parrot
13:12 Coke left #parrot
13:12 Coke joined #parrot
13:17 dalek winxed: e4d28f7 | NotFound++ | winxedst1.winxed:
13:17 dalek winxed: new builtin getcontext:
13:17 dalek winxed: Get the current context.
13:17 dalek winxed: While parrot still don't have an op to get the conext, this builtin
13:17 dalek winxed: get it via getinterp and the interpreter PMC. When the op gets
13:17 dalek winxed: available, the builtin will be reimplemented without affecting
13:17 dalek winxed: its usages (let's hope).
13:17 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/e4d28f7576
13:19 kid51 fivetonsflax: Is there something specific there that we can help you with?
13:19 fivetonsflax I'm trying to install parrot via macports
13:19 fivetonsflax but the distfile can't be fetched:
13:19 fivetonsflax --->  Attempting to fetch parrot-3.3.0.tar.gz from ftp://ftp.parrot.org/pub/pa​rrot/releases/stable/3.3.0/
13:19 fivetonsflax ... times out.
13:20 dalek rakudo/nom: c23e04f | jonathan++ | src/ (2 files):
13:20 dalek rakudo/nom: Add is rw trait for routines.
13:20 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/c23e04f605
13:20 dalek rakudo/nom: 6b6bc4e | jonathan++ | src/ (2 files):
13:20 dalek rakudo/nom: Get of and returns trait to set return type for routines (not checked yet).
13:20 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/6b6bc4eea2
13:20 dalek rakudo/nom: 1fa3334 | jonathan++ | src/core/ (2 files):
13:20 dalek rakudo/nom: Introspection of .returns/.of on Routine.
13:20 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/1fa3334270
13:20 dalek rakudo/nom: 2f5b530 | jonathan++ | src/ (3 files):
13:20 dalek rakudo/nom: Ops for decontainerizing if non-rw sub and for type checking return values.
13:20 kid51 What is the sequence of commands you called to get as far as you did?
13:20 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/2f5b530d09
13:20 dalek rakudo/nom: 63e2719 | jonathan++ | src/core/ (4 files):
13:20 dalek rakudo/nom: We run into code-gen issues for routines that evaluate to something void; avoid (heh, get it) that.
13:20 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/63e2719f34
13:20 dalek rakudo/nom: 9298db6 | jonathan++ | src/binder/multidispatch.h:
13:20 dalek rakudo/nom: Copy-pasto.
13:20 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/9298db61f4
13:21 kid51 It has been so long since I last used 'ftp' that I've forgotten how to use it.
13:22 fivetonsflax heh.
13:23 nopaste "kid51" at 192.168.1.3 pasted "ftp attempt" (7 lines) at http://nopaste.snit.ch/58904
13:23 fivetonsflax macports seems out of date anyway ... so maybe I should try a different route.  git?  I have it installed, but know little about how to use it.
13:24 kid51 fivetonsflax: I was able to put that URL into a browser and get to that directory. ...
13:25 kid51 ... but that directory will not be a place to find a macport.
13:25 kid51 It's only intended to hold our source code from quarterly supported releases (new release 3.6 coming in two weeks)
13:26 kid51 If you want to build and install from source code, you can use one of those tarballs.
13:27 fivetonsflax port(1) isn't looking to download a macport, per se -- it's looking for a tarball of source code.
13:27 kid51 I am able to download this: ftp://ftp.parrot.org/pub/parrot/relea​ses/stable/3.3.0/parrot-3.3.0.tar.gz
13:27 kid51 What is port(1) ?
13:28 fivetonsflax the cmd-line interface to macports
13:28 kid51 Ah.  I haven't tried macports in several yars.
13:28 kid51 Well, if all you want is a tarball, you should be able to download it from that URL in your web browser.  I'm doing so now.
13:29 fivetonsflax Hmm.  I can now get to that URL with wget -- which I couldn't do earlier -- but I still can't get port to pull it down.  Perhaps a passive-mode issue.
13:29 fivetonsflax spoke too soon.
13:29 fivetonsflax ==> SYST ... done.    ==> PWD ... done.
13:29 fivetonsflax ==> TYPE I ... done.  ==> CWD (1) /pub/parrot/releases/stable/3.3.0 ... done.
13:29 fivetonsflax ==> SIZE parrot-3.3.0.tar.gz ... 3961124
13:29 fivetonsflax ==> PASV ...
13:29 fivetonsflax and it hangs there.
13:30 kid51 That's output from port?
13:30 fivetonsflax wget
13:32 dalek rakudo/nom: 6a28829 | jonathan++ | src/core/ (7 files):
13:32 dalek rakudo/nom: First round of getting us more honest with routine rw-ness.
13:32 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/6a28829df2
13:32 fivetonsflax far out.  disabling passive mode fixes it.  must be some kind of firewall issue.  I've never heard of active mode getting through a firewall when passive mode wouldn't!
13:32 lichtkind joined #parrot
13:32 fivetonsflax sorry for the fire drill.
13:34 fivetonsflax my overall goal here is to answer chromatic's call for help with Lorito.  I'm guessing I need something more current than 3.3.0 to do that in any case.
13:37 kid51 fivetonsflax:  I have confirmed your observation.
13:37 kid51 I don't have wget on my Mac, but I do on my Linux.
13:37 kid51 On that linux, wget ftp://ftp.parrot.org/pub/parrot/relea​ses/stable/3.3.0/parrot-3.3.0.tar.gz hung at the same location you described.
13:37 kid51 wget --no-passive-ftp ftp://ftp.parrot.org/pub/parrot/relea​ses/stable/3.3.0/parrot-3.3.0.tar.gz worked.
13:38 fivetonsflax huh.  interesting.  so it's not just the network I happen to be using.
13:38 kid51 fivetonsflax: To help on Lorito -- or anything else that's in very active dev -- you're best doing a checkout from our git repository and working from HEAD
13:40 fivetonsflax With this?
13:40 fivetonsflax git clone git://github.com/parrot/parrot.git parrot
13:40 kid51 Sounds good
13:41 fivetonsflax great.
13:41 kid51 I see there's now a "Clone in Mac" button on github -- but I don't know how it works yet
13:41 fivetonsflax shrug, I'm happiest on the command-line anyway
13:42 kid51 If you are around later today, you can ask dukeleto all about github
13:43 tadzik kid51: I think it's related do the new Mac Github client
13:43 fivetonsflax cool
13:43 fivetonsflax I see there's a lorito branch
13:43 kid51 chromatic has been active lately, but he doesn't often come on #parrot.  So you may want to email him.
13:43 fivetonsflax I wonder if I should be checking that one out.
13:43 fivetonsflax OK, I'll try that.
13:43 jay I've been an SVN guy and just started using git a few days ago (encouraged by what you guys are obviously doing with it).  Pretty cool I must say, though I need to figure out this branching bit.
13:43 kid51 However, right now the most active part of the work on Lorito is being conducted by cotto and dukeleto: M0
13:44 kid51 jay: We were on CVS thru 2004 and on SVN thru 2010.
13:45 jay So I'm only a year behind the curve!?  That's unusual.  !-)
13:45 kid51 So we were all SVN guys
13:46 kid51 jay: I still use Subversion for personal projects, such as my conference presentations/slideshows.
13:47 jay Yes, I think I will, too.  I also just co-authored a paper using Dropbox, and was reasonably happy with the experience (given that my co-authors wouldn't probably have managed SVN).
13:47 kid51 The major benefits of git, IMO, are: (a) output of diff, blame, etc. pages by default; (b) github.com
13:47 tadzik (c) speed?
13:47 tadzik I remember doing svn diff on Parrot one day, and I was wondering if it hanged or something
13:48 kid51 tadzik:  I was speaking of my personal experience.  At $job, git is not clearly faster than Subversion
13:48 kid51 YMMV
13:48 tadzik mebbe
13:48 jay I'd put a huge github++ on that item (b), kid51.  Logical interface.  Good docs on git setup, etc...
13:48 fivetonsflax I'm shopping for a versioning system to handle three branches of config for some pretty complex mail servers.
13:48 kid51 There are, needless to say, people who think git is greatest thing since sliced bread
13:49 dalek rakudo/nom: 5c4d4d9 | jonathan++ | src/core/List.pm:
13:49 dalek rakudo/nom: A couple more places where we missed 'is rw'.
13:49 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/5c4d4d9fe2
13:49 dalek rakudo/nom: fd88893 | jonathan++ | src/core/EnumMap.pm:
13:49 dalek rakudo/nom: And one more 'is rw'.
13:49 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/fd88893e90
13:49 fivetonsflax thinking about git though its distributed features are irrelevant to me
13:50 kid51 fivetonsflax: ping cotto or ping dukeleto re M0, which is the base layer of lorito
13:50 kid51 That's under very active development, so, if you're really interested in contributing, they will be able to put you to work right away.
13:51 fivetonsflax sweet.
13:52 fivetonsflax I *am* really interested, though only if chromatic was entirely truthful about the required skillset.
13:52 kid51 As Pontius Pilate said, "Truth -- what is that?"
13:53 fivetonsflax compiler work is well outside my zone of expertise, but I can read and write perl5 and I'm willing to be the idiot intern for a while.
13:53 kid51 ping cotto.  He is operationalizing chromatic's brainstorms.
13:53 fivetonsflax I will.  Thank you.
13:54 kid51 compiler work is basically outside my zone of expertise as well
13:58 mro joined #parrot
13:58 mro left #parrot
13:59 fperrad left #parrot
13:59 fperrad joined #parrot
14:01 ambs_ joined #parrot
14:01 ambs left #parrot
14:01 ambs_ is now known as ambs
14:06 mro joined #parrot
14:08 fivetonsflax what is your involvement with parrot, kid51?
14:09 dalek rakudo/nom: f2e0b4a | jonathan++ | src/ (3 files):
14:09 dalek rakudo/nom: Make sure we don't lose scalarness of [...] and so forth that are returned, just rw-ness should be stripped.
14:09 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/f2e0b4a604
14:09 dalek rakudo/nom: dba1c2f | jonathan++ | src/Perl6/Actions.pm:
14:09 dalek rakudo/nom: Turn on scalar decontainerization of return values, and return value type checking. Note we need to be careful to add 'is rw' now to routines that fall off the bottom with a value we expect to return in containerized form. Think I've caught all of these; testing welcome.
14:09 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/dba1c2f2aa
14:09 lucian fivetonsflax: have you tried homebrew? it's useful in general
14:10 fivetonsflax no, what isit?
14:10 lucian a better macports
14:10 lucian much better
14:12 fivetonsflax macports has been mostly good enough for me, but I'll take a look, thanks.
14:22 Coke left #parrot
14:22 Coke joined #parrot
14:29 Eclesia left #parrot
14:49 * kid51 reads http://www.modernperlbooks.com/mt/2011/0​7/less-magic-less-c-a-faster-parrot.html which he thinks is what fivetonsflax was referring to
14:50 dalek rakudo/nom: a78aaa0 | jonathan++ | / (2 files):
14:50 dalek rakudo/nom: Catch routine redeclaration in actions, rather than leaving it to IMCC to whine about.
14:50 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/a78aaa0de7
14:52 Eclesia joined #parrot
14:53 * Eclesia it's too hot ... winter come back !
14:53 Coke left #parrot
14:53 Coke joined #parrot
14:56 fivetonsflax kid51: yes, right
14:59 fperrad left #parrot
15:00 mro I just read the Less Magic, Faster Parrot article (linked above by kid51)... Where do I sign up?
15:05 fivetonsflax kid51 told me to ping cotto about it.
15:07 mro Thanks! You new here too?
15:08 fivetonsflax yes
15:09 jay jay read that same thing.  Interesting.  In terms of memory stuff, I'm interested in supporting memory-mapped files for arrays, say, in my HLL, and will be looking at Parrot's MappedByteArray as recommend by whiteknight. My previous work in this area used BOOST and C++.  I should look at this with my grad student before jumping too quickly at the traditional route.
15:14 mro Interesting!
15:14 dalek winxed: 420d9c3 | NotFound++ | winxedst (2 files):
15:14 dalek winxed: Check for null before start iterating in for ... in loops
15:14 dalek winxed: and optimize out the full statement if it's dead code.
15:14 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/420d9c35d4
15:18 Coke mor, fivetonsflax: welcome aboard.
15:18 Coke er, mro.
15:18 fivetonsflax thanks.
15:18 mro Thanks!
15:20 dalek rakudo/nom: 734ed25 | Coke++ | t/spectest.data:
15:20 dalek rakudo/nom: This test runs with a fudge.
15:20 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/734ed25ad1
15:22 dalek parrot: e2109b1 | jkeenan++ | / (2 files):
15:22 dalek parrot: Remove file per http://trac.parrot.org/parrot/ticket/2143.
15:22 dalek parrot: review: https://github.com/parrot/parrot/commit/e2109b19e3
15:23 fperrad joined #parrot
15:26 kid51 afk
15:31 dalek TT #2143 closed by jkeenan++: examples/benchmarks/overload.pl: Can we remove this file?
15:31 dalek TT #2143: http://trac.parrot.org/parrot/ticket/2143
15:38 dalek rakudo/nom: 63f8bd7 | jonathan++ | src/ (3 files):
15:38 dalek rakudo/nom: proto auto-generation for methods, so it's now possible to write multi methods again without having to write an explicit proto. Re-uses generic instantiation get get the invocant type on the auto-gen'd proto right...a cunning use I'd not thought of for it. :-)
15:38 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/63f8bd72a0
15:38 dalek rakudo/nom: 1e5e666 | jonathan++ | t/spectest.data:
15:39 dalek rakudo/nom: Now pass S12-methods/syntax.t again.
15:39 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/1e5e666b48
15:39 dalek rakudo/nom: ce6e224 | jonathan++ | src/Perl6/Actions.pm:
15:39 dalek rakudo/nom: Start to differentiate between where we need to derive a dispatcher and when we need to auto-gen a proto for lexical multis.
15:39 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/ce6e2248bb
15:57 dalek rakudo/nom: 86fd89b | jonathan++ | src/Perl6/ (2 files):
15:57 dalek rakudo/nom: First cut of nested lexical multis, which derive a dispatcher based on the one in the outer lexical scope.
15:58 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/86fd89bd0b
15:58 dalek rakudo/nom: 5448b49 | jonathan++ | NOMMAP.markdown:
15:58 dalek rakudo/nom: Remove completed nommap item.
15:58 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/5448b49fd3
16:07 jsut joined #parrot
16:07 jsut_ left #parrot
16:26 ambs_ joined #parrot
16:26 ambs left #parrot
16:26 ambs_ is now known as ambs
16:32 fivetonsflax left #parrot
16:33 theory joined #parrot
16:42 rurban_ joined #parrot
16:44 rurban left #parrot
16:44 rurban_ is now known as rurban
16:46 dalek rakudo/nom: e66182f | jonathan++ | src/Perl6/Actions.pm:
16:46 dalek rakudo/nom: Toss dead code.
16:46 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/e66182f21e
16:46 dalek rakudo/nom: 1c4235b | jonathan++ | src/Perl6/Actions.pm:
16:46 dalek rakudo/nom: proto routine auto-generation for lexical multis.
16:46 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/1c4235b923
16:46 dalek rakudo/nom: fbe8267 | jonathan++ | t/spectest.data:
16:46 dalek rakudo/nom: Three more passing test files.
16:46 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/fbe8267e4c
16:48 Coke left #parrot
16:48 Coke joined #parrot
16:52 GodFather joined #parrot
17:04 Hunger left #parrot
17:06 dalek winxed: e5ec838 | NotFound++ | winxedst1.winxed:
17:06 dalek winxed: refactor a bit integer literal and constant creation
17:06 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/e5ec838106
17:10 JimmyZ left #parrot
17:24 cotto ~~
17:25 cotto looks like chromatic++ attracted some minions.  This will be fun.
17:36 mro Hi cotto (or should i say "master" in a minion-y voice?)
17:37 Eclesia question : I would like to have a list of available namespaces and functions. how do I get that ?
17:37 cotto hio mro
17:37 mro cotto, I was told to ping you for stuff to do!
17:38 cotto mro, I suppose I'd be the one for that.  How's your C and Perl?
17:39 mro I would say "okay" - I use both regularly!
17:39 cotto That's good.
17:39 mro I
17:39 mro I've been looking over your TODO-list, but nothing stands out as "easy place to start".
17:40 cotto I think a good starting point would be to check out the m0-prototype branch and write tests for some of the ops that don't have coverage yet.
17:41 dalek winxed: 3c4995e | NotFound++ | winxedst1.winxed:
17:41 dalek winxed: refactor predefined constants creation
17:41 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/3c4995e014
17:41 mro Thanks, I'll take a look at that!
17:41 cotto You can run make m0_cover to find out which ops those are (the m0_opfunc_xx subs implement ops) and use the tests with op names in t/m0/integration as a starting point.
17:42 cotto mro, do you know where to find the m0 spec?
17:42 cotto aloha, m0 spec?
17:42 aloha cotto: m0 spec is docs/pdds/drafts/pdd32-m0.pod in the m0-spec branch or https://github.com/parrot/parrot/blob​/m0-spec/docs/pdds/draft/pdd32_m0.pod
17:43 jay Wow, that is way cool.  Is something here in IRC linked to git?
17:43 cotto I'll be glad to help.
17:43 cotto jay, nothing other than dalek
17:43 mro Okay. I'll check out m0-prototype and try to work on that!
17:44 cotto mro, I'm sure you'll find something confusing.  Let me know when you do and I'll try to make it less confusing for the next person.
17:45 cotto and thanks for volunteering!
17:45 cotto mro++
17:46 mro Your welcome! :)
17:46 * Eclesia thinks it's nice to see someone motivated
17:48 cotto And he's not the only one.
17:48 cotto I'm going to have to be on the ball just to keep everyone busy.
17:49 Hunger joined #parrot
17:50 Eclesia want me to give some objectives ? wants support for binary numerics of different size. bit, byte, short, int, long, float, double, doubledouble, bigint, bigdouble and number :D
17:51 wknight-phone joined #parrot
17:51 dalek winxed: ab83d4e | NotFound++ | winxedst1.winxed:
17:51 dalek winxed: use predefined __WINXED_ERROR__ in stage 1 errors
17:51 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/ab83d4e613
17:51 cotto jay, you have to teach aloha anything you want it to know about.
17:52 cotto aloha, jay?
17:52 aloha cotto: Search me, bub.
17:52 cotto aloha, jay is a pretty cool guy
17:52 aloha cotto: Okay.
17:52 cotto aloha, jay?
17:52 aloha cotto: jay is a pretty cool guy
17:52 cotto hello, whiteknight's phone
17:52 wknight-phone aloha, jay is the bomb diggity
17:52 aloha wknight-phone: ... but jay is a pretty cool guy ...
17:52 Eclesia hi wknight-phone
17:52 wknight-phone he can't be both?
17:53 wknight-phone hello Eclesia
17:53 bubaflub aloha: jay is also a pretty cool guy
17:53 aloha bubaflub: Okay.
17:53 bubaflub aloha, jay?
17:53 aloha bubaflub: jay is a pretty cool guy or a pretty cool guy
17:53 cotto wknight-phone, I agree with the sentiment in the load_bytecode ticket, but I also want to have the replacement ready to use before the old 'n' busted version gets deprecated.
17:53 wknight-phone ok
17:54 wknight-phone its not osuper urgent, i'm still working on the replacement
17:54 Eclesia how can I get a list of available namespaces ? and functions availables ?
17:54 wknight-phone left #parrot
17:56 cotto Eclesia, what part of Parrot are you asking about?
17:57 Eclesia cotto : I'm writing a parser and want to check if a given path exists. is there a function I can use for that. like 'getattribute' ?
17:57 cotto a filesystem path?
17:58 Eclesia cotto: a namespace path.
17:59 Eclesia something like that : [ 'Rosella'; 'FileSystem'; 'File' ]
17:59 kid51 left #parrot
17:59 Eclesia I want to get class given by this path, then list it's methods
18:02 Eclesia NotFound: have an idea ?
18:04 fivetonsflax joined #parrot
18:27 Eclesia left #parrot
18:29 fivetonsflax left #parrot
18:34 dalek Heuristic branch merge: pushed 21 commits to rakudo/nom by coke
18:44 cotto mro, what's your github username?
18:46 mro Just a sec...
18:46 mro "martinolsen"!
18:52 cotto good to know
18:54 dalek rakudo/nom: 20abe0d | jonathan++ | src/Perl6/Metamodel/C3MRO.pm:
18:54 dalek rakudo/nom: Fix up MRO computation when there's containered stuff around.
18:54 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/20abe0db74
18:54 dalek rakudo/nom: bab5ed2 | jonathan++ | src/core/ (2 files):
18:54 dalek rakudo/nom: Flesh out eqv a bit more.
18:54 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/bab5ed2615
18:54 dalek rakudo/nom: 98baf0f | jonathan++ | src/Perl6/Metamodel/MultipleInheritance.pm:
18:54 dalek rakudo/nom: Implement :tree in .^parents.
18:54 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/98baf0f9dd
18:54 dalek rakudo/nom: d31e835 | jonathan++ | t/spectest.data:
18:54 dalek rakudo/nom: Run S12-introspection/parents.t,
18:54 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/d31e835475
18:54 dalek rakudo/nom: 322fcc0 | jonathan++ | src/ (3 files):
18:54 dalek rakudo/nom: Implement Attribute.get_value.
18:54 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/322fcc053d
19:12 dalek winxed: 76502a8 | NotFound++ | winxedst1.winxed:
19:12 dalek winxed: rearrange and simplify handling of int and float literals
19:12 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/76502a86d9
19:13 mro cotto, I created a test for xor: http://pastebin.com/tE1Hc9mC
19:14 mro Is that the proper way to do it?
19:21 cotto looking
19:22 cotto mro, yes.
19:22 mro Nice!
19:22 mro How do you want the patches?
19:22 cotto mro, are you comfortable with pull requests?
19:23 cotto You can fork parrot, work on the m0-prototype branch and send me a pull request if so.
19:23 cotto If not, I can work from nopaste.
19:23 mro I have a m0-test branch in a fork on github now.
19:24 cotto great
19:24 mro Let me rename it. Just a sec...
19:26 cotto mro, does the spec give you a fair idea of what's going on in that test?
19:29 mro I've sent a pull request now!
19:30 cotto wheee
19:30 mro I did not look at it from that point of view...
19:31 mro Just did a quick copy of the add_i test and adapted that!
19:32 mro I could look it over though.. Do you want to know if anything is missing?
19:33 cotto The big thing right now is that strings are deficient.  I don't think there are any other major holes in the spec, but I could be forgetting something.
19:33 cotto I tried to make sure that whatever I implemented was in the spec first.
19:36 cotto mro, did you check that 9 xor 90 == 106?
19:37 dalek winxed: 91e5c57 | NotFound++ | winxedst1.winxed:
19:37 dalek winxed: avoid some special cases in init/assign from concat strings
19:37 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/91e5c57eda
19:37 mro With perl5 and python, yes!
19:38 mro Dammit, that's not it...
19:38 cotto I get 83
19:38 bubaflub cotto: same - i get 83 in ruby
19:39 bubaflub cotto and mro: also, constant string #2 should be changed from "ok 1 xor: 9 + 90 = 99\n" to "ok 1 xor: 9 xor 90 = 83\n"
19:39 bubaflub in the pull request
19:40 cotto bubaflub++
19:41 Patterner left #parrot
19:43 cotto bubaflub, I can't say that mro is the only one to miss that
19:44 mro How did you calculate "9 xor 99"?
19:44 bubaflub cotto: i am king of copy-pastas like that
19:44 cotto mro, python
19:44 bubaflub mro: 9 xor 90 or 9 xor 99?
19:44 mro Ahh, I keep using "99"! ;-)
19:44 cotto ^
19:44 mro Yes.
19:45 bubaflub and in ruby xor is just ^
19:51 mro also, the test is not working properly..
19:51 cotto never a dull moment
19:52 jevin left #parrot
19:53 mro do i need to add anything else than the M0 code in t/m0/integration/?
19:53 jevin joined #parrot
19:53 cotto nope.  Adding the test should make it run with the other m0 tests
19:55 cotto if make m0_tests passes, you should be good
19:58 mro i think an exit is missing after the print ok / not ok
19:59 mro otherwise it always falls through to "print successful test"!
19:59 jevin left #parrot
20:04 dalek winxed: 41dbc4d | NotFound++ | winxedst1.winxed:
20:04 dalek winxed: optimize out body and iteration if the condition is false in for
20:04 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/41dbc4da4f
20:05 mro cotto, i've updated the pull request
20:05 cotto looking
20:06 cotto mro, that exit op should use 0 or 1 directly.  "x" is used to indicate syntactically unimportant arguments.
20:08 mro got it! want me to fix it?
20:08 cotto please do
20:09 mro what is a successful exit? greater than zero, like at the shell?
20:09 mro s/greater than/equals/
20:10 cotto non-zero usually indicates an error
20:17 mro okay, its updated now!
20:26 cotto merged!
20:26 dalek parrot/m0-prototype: a45cd59 | (Martin Olsen)++ | t/m0/integration/m0_xor.m0:
20:26 dalek parrot/m0-prototype: Add test for xor.
20:26 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/a45cd5932a
20:26 dalek parrot/m0-prototype: 0200eda | (Martin Olsen)++ | t/m0/integration/m0_xor.m0:
20:26 dalek parrot/m0-prototype: Merge branch 'm0-xor-test' into m0-prototype
20:26 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/0200edad64
20:26 dalek parrot/m0-prototype: 4804260 | (Martin Olsen)++ | t/m0/integration/m0_xor.m0:
20:26 dalek parrot/m0-prototype: make xor test actually fail on error.
20:26 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/4804260099
20:26 dalek parrot/m0-prototype: 5e0a584 | (Martin Olsen)++ | t/m0/integration/m0_xor.m0:
20:26 dalek parrot/m0-prototype: return proper exit codes in xor test.
20:26 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/5e0a584e92
20:26 dalek parrot/m0-prototype: b226909 | cotto++ | t/m0/integration/m0_xor.m0:
20:26 dalek parrot/m0-prototype: Merge pull request #139 from martinolsen/m0-prototype
20:26 dalek parrot/m0-prototype:
20:26 dalek parrot/m0-prototype: add test for xor from mro++
20:26 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/b226909c89
20:28 cotto mro, do you mind if I put the email address attached to your github account into CREDITS so dalek can properly credit you?
20:31 mro cotto, sure!
20:31 mro Do you want me to look over the exit bug in the other tests?
20:32 mro I see all the math related tests got it too
20:32 cotto mro, please do
20:33 cotto there you are
20:33 dalek parrot: 691608f | cotto++ | CREDITS:
20:33 dalek parrot: add mro++ to CREDITS
20:33 dalek parrot: review: https://github.com/parrot/parrot/commit/691608f750
20:33 cotto karma mro?
20:33 aloha mro? has karma of 0.
20:33 cotto karma mro
20:33 aloha mro has karma of 3.
20:34 mro awesome
20:36 jay welcome mro.  I seem to have missed quite a bit... and now it appears that I need to produce something of interest to maintain my supposed coolness.
20:38 mro Hi jay!
20:39 jay Looks like you are jumping right in, mro!
20:41 mro Well, chromatic wrote such a convincing post! :-)
20:41 jay I found it very readable, too... something I value.
20:44 cotto I generally enjoy his writing.
20:56 Patterner joined #parrot
21:00 lucian left #parrot
21:00 mro cotto, iton seems to be missing from the spec! Is it convert_n_i?
21:01 fperrad left #parrot
21:03 mro cotto, also, for consistency, maybe the arguments should be turned around making $a1 the destination (like convert_* in the spec)
21:03 cotto mro, istr making a decision about that.  I guess I need to update the spec.
21:04 cotto mro, yes
21:13 dalek parrot/m0-prototype: 1272180 | cotto++ | src/m0/perl5/m0_ (2 files):
21:13 dalek parrot/m0-prototype: change iton/ntoi to match the spec
21:13 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/1272180b57
21:24 dalek rakudo/nom: 8ff1db3 | moritz++ | t/spectest.data:
21:24 dalek rakudo/nom: 5 more passing test files
21:24 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/8ff1db3c5d
21:27 ambs left #parrot
21:28 GodFather \join #perl6
21:30 moritz GodFather: wrong network, try freenode instead :-)
21:33 GodFather yes sorry and thank you
21:42 Psyche^ joined #parrot
21:44 Eclesia joined #parrot
21:44 dalek winxed: dbec52c | NotFound++ | winxedst1.winxed:
21:44 dalek winxed: use constants for the compiler error subtypes
21:44 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/dbec52c661
21:44 dalek winxed: 23f047e | NotFound++ | winxedst1.winxed:
21:44 dalek winxed: use a constructor in WinxedCompileUnit
21:45 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/23f047eeab
21:47 Patterner left #parrot
21:47 Psyche^ is now known as Patterner
21:50 bubaflub cotto: have we considered using git submodules for external projects that we include in the parrot repo?  i'm thinking specifically of Winxed and NQP.
21:56 logie joined #parrot
21:56 dukeleto bubaflub: considered, yet. Done anyting about, no.
21:57 bubaflub dukeleto: i dunno how useful it would be or if it would only cause more headaches.  for winxed, we only really need a partial checkout - just the .pir
21:57 bubaflub dukeleto: i don't know if we need the whole repo for nqp
21:57 bubaflub dukeleto: and i don't know if it'd be actually easier to maintain
21:58 NotFound Why you may want to download the winxed C++ source and its infrastructure just to build parrot?
21:58 jevin joined #parrot
21:58 Eclesia what is necessary to compile opengl for parrot ? the build is always 'skipped' for this module
21:59 jevin left #parrot
22:01 cotto bubaflub, the way we're currently including a snapshot seems to be working well enough.  I'm open to submodules if there's an advantage.
22:01 soh_cah_toa joined #parrot
22:01 * cotto goes out for errands
22:01 bubaflub cotto: agreed, i'm just thinking out loud.
22:01 dalek winxed: 8ec9fba | NotFound++ | winxedst1.winxed:
22:01 dalek winxed: unify and improve the checks for invalid lvalue
22:01 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/8ec9fbafa6
22:04 logie left #parrot
22:05 dalek winxed: c63dac8 | NotFound++ | pir/winxed_ (2 files):
22:05 dalek winxed: update installable files
22:05 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/c63dac88c7
22:07 kid51 joined #parrot
22:09 dalek parrot: b633ce4 | NotFound++ | ext/winxed/ (2 files):
22:09 dalek parrot: update winxed snapshot:
22:09 dalek parrot: * builtin getcontext
22:09 dalek parrot: * for ... in now check for null container
22:09 dalek parrot: * diagnostic improvements
22:09 dalek parrot: review: https://github.com/parrot/parrot/commit/b633ce4295
22:10 dukeleto NotFound: when do we get winxed version numbers? How will people know the difference between winxed-in-parrot and winxed master?
22:10 NotFound dukeleto: next week, probably.
22:11 bubaflub NotFound: the right answer would have been "next version, probably"
22:11 NotFound There is people worried by the difference? ;)
22:12 NotFound bubaflub: in any case, before christmas.
22:12 jevin joined #parrot
22:24 Eclesia NotFound: I am worried too, have several winxed files now for my project ^^
22:24 dukeleto NotFound: yes, me :)
22:25 NotFound You are not people, you are parrots ;)
22:25 * Eclesia just a user
22:28 NotFound BTW if you want to replace winxed-in-parrot with winxed master into a installed parrot you juts need to do: make ; winxed setup.winxed install
22:35 Eclesia no one knows for opengl ?
22:41 jevin left #parrot
22:42 NotFound Eclesia: knows what?
22:42 NotFound Oh, compile.
22:42 Eclesia yes
22:42 Eclesia opengl module is skipped
22:42 NotFound glut and mesa libs, I think.
22:44 jevin joined #parrot
22:47 jevin left #parrot
22:48 jevin joined #parrot
22:49 GodFather newbie: where can I read the description of the syntax "rule statementlist { [ <statement> | <?> ] ** ';' }  the syntax I don't understand is '<?> and '**'
22:49 jnthn__ <?> means "always match"
22:50 jnthn__ ** means "repeated many times", in this case with a ';' between the repetitions
22:50 jnthn__ [\d+] ** ',' # would match a comma-separated list
22:51 GodFather Aah does that mean that this grammer rule will continue to match in the event of an error?
22:51 dalek winxed: 584384d | NotFound++ | winxedst1.winxed:
22:51 dalek winxed: put string repeat out of OpMulExpr during optimize phase
22:51 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/584384da6f
22:52 jnthn__ No
22:53 Eclesia hourray :D . starting to have a real parsed tree : http://nopaste.snit.ch/59060
22:53 jnthn__ More than if you write $a = 42;; $b = 100;
22:53 jnthn__ That double semicolon won't be an error
22:54 GodFather is it correct to understand that ** is a binary operator,  op ** op
22:54 NotFound Eclesia: looks good
22:57 sorear GodFather: yes
22:57 NotFound Eclesia: but I'm curious about the comments. What is that, presenting them on columns?
22:57 GodFather sorear, thanks
22:58 Eclesia NotFound: columns ? ho no, I just used tabs, in the text. anything starting with a '|' is a comment
23:00 Eclesia NotFound: I'm actually blocked on something. how can I make the difference between a class and a method .. I mean I have the namespace path. but I don't know how to get the object referenced by this path
23:00 NotFound Eclesia: winxed or pir?
23:01 Eclesia winxed if possible
23:01 jevin left #parrot
23:02 NotFound You can use the get_class builtin.
23:02 GodFather jnthn__, thanks 4 u help earlier
23:03 Eclesia NotFound: var c = get_class("rosella.filesystem.File") ?
23:04 NotFound Uh, no, forget it, it's only for plain names, no namespaces.
23:05 jevin joined #parrot
23:05 Eclesia NotFound: anohter approach. Is there a way to get the namespaces avaible ? some kind of list ?
23:06 jevin left #parrot
23:07 jevin joined #parrot
23:08 NotFound Eclesia: You can do this: string key[] = [ "rosella", "filesystem", "File" ]; var cl; { get_class cl, key };
23:08 jevin left #parrot
23:09 dalek rakudo/nom: c30f5f3 | jonathan++ | src/ops/perl6.ops:
23:09 dalek rakudo/nom: Fix .VAR, which in turn was causing problems deep in generic instantiation of attributes.
23:09 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/c30f5f35f3
23:09 dalek rakudo/nom: 12e692c | jonathan++ | src/Perl6/Metamodel/BOOTSTRAP.pm:
23:09 dalek rakudo/nom: Correct earlier patch to attribute generic instantiation.
23:09 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/12e692c33d
23:09 dalek rakudo/nom: 8e8d803 | jonathan++ | src/Perl6/ (2 files):
23:09 dalek rakudo/nom: Fixes to make sure type variables can be seen inside the role body.
23:09 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/8e8d8032bc
23:09 dalek rakudo/nom: 5aba02f | jonathan++ | src/Perl6/Actions.pm:
23:09 dalek rakudo/nom: Type variables need to defer to runtime lookup rather than being compile-time resolved in attribute lookup.
23:09 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/5aba02fd6b
23:09 dalek rakudo/nom: 0280c83 | jonathan++ | t/spectest.data:
23:09 dalek rakudo/nom: We now pass S14-roles/submethods.t.
23:09 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/0280c83a01
23:09 dalek rakudo/nom: 1f04cbc | jonathan++ | src/Perl6/Actions.pm:
23:09 dalek rakudo/nom: Also make sure mentions of generic types as terms are not resolved too early, so T.new works.
23:09 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/1f04cbc3bf
23:10 Eclesia NotFound: thanks, I guess this will only work if the path points to a class. what if it's a function ?
23:11 NotFound Or shorter: ${ get_class cl, split(".", "rosella.filesystem.File") };
23:11 NotFound Eclesia: if there is no class, cl gives null
23:11 dalek parrot: 290ad87 | dukeleto++ | t/src/embed/api.t:
23:11 dalek parrot: Add some code coverage to the new embed API
23:11 dalek parrot: review: https://github.com/parrot/parrot/commit/290ad878c8
23:12 jevin joined #parrot
23:12 Eclesia NotFound: ok, so I can at least test if it's a class. for the other case, is there a 'get_function' ?
23:13 NotFound Eclesia: you can use the get_hll_global op
23:14 Eclesia what will that return ?
23:14 dalek rakudo/nom: fb396ad | jonathan++ | NOMMAP.markdown:
23:14 dalek rakudo/nom: Update nommap.
23:14 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/fb396ad295
23:14 NotFound Anything, if you want only functions you can check isa Sub
23:15 jevin left #parrot
23:16 NotFound Or you can use the op get_namespace and use the Namespace object to look for subs, but that thing always confuses me.
23:16 jevin joined #parrot
23:18 Eclesia NotFound: both looks interesting for me :) Is it too much to ask for an example like you did just before ?
23:18 Eclesia (I know I ask plenty of question, sorry ... )
23:21 dalek parrot: ba03bd8 | jkeenan++ | parrotbug:
23:21 dalek parrot: Provide better description of final Action selections.
23:21 dalek parrot:
23:21 dalek parrot: See http://trac.parrot.org/parrot/ticket/920.  Also, replace global
23:21 dalek parrot: filehandles with lexical filehandles.
23:21 dalek parrot: review: https://github.com/parrot/parrot/commit/ba03bd8278
23:22 NotFound Eclesia: var f; ${ get_hll_global f, key, "function_name" };
23:24 Eclesia thanks :)
23:38 lichtkind left #parrot
23:40 Eclesia left #parrot
23:41 bluescreen left #parrot
23:41 bluescreen joined #parrot
23:43 dalek rakudo/nom: 6d729b9 | Coke++ | t/spectest.data:
23:43 dalek rakudo/nom: list errors
23:43 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/6d729b9406
23:43 dalek rakudo/nom: ec9adf4 | Coke++ | t/spectest.data:
23:43 dalek rakudo/nom: run fudged test
23:43 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/ec9adf4894
23:43 dalek rakudo/nom: d4a91f4 | Coke++ | t/spectest.data:
23:43 dalek rakudo/nom: errors
23:43 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/d4a91f4514
23:43 dalek rakudo/nom: 417acfb | Coke++ | t/spectest.data:
23:43 dalek rakudo/nom: run fudged test
23:43 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/417acfb4f5
23:43 dalek winxed: a5f0086 | NotFound++ | winxedst1.winxed:
23:43 dalek winxed: allow non string values in get_class builtin
23:43 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/a5f0086a7f
23:56 cotto ohai
23:57 kid51 cotto: This post on parrot-dev re locale fr_FR@euro looks like a serious problem.
23:57 NotFound @euro usually means iso-8859-16
23:58 cotto kid51, thanks.  looking now
23:58 NotFound Aka latin1 with euro
23:59 jay If a tree falls in the forest, does it make a sound?  If a Parrot newbie gets the NCI working, so that his baby HLL can generate random numbers using a math library from the open-source R project, would anyone care?

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

Parrot | source cross referenced