Camelia, the Perl 6 bug

IRC log for #parrot, 2008-11-15

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:09 AndyA joined #parrot
00:34 dalek r32652 | coke++ | trunk:
00:34 dalek : RT #57428; add new ".HLL <string>" syntax specified in PDD19, and update code to the new usage.
00:34 dalek : This paves the way to rip out the old syntax next release.
00:34 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32652
00:56 bacek_ pmichaud: all parrot tests passed in lex2. Unfortunately rakudo failed to build.
00:56 bacek_ ../../parrot  perl6.pbc --target=pir --output=Test.pir Test.pm
00:56 bacek_ Null PMC access in find_method()
00:56 bacek_ current instr.: 'parrot;PCT;Node;new' pc 93 (src/PCT/Node.pir:98)
00:56 purl Null PMC access in find_method() is the bane of Infinoid's existence.
00:57 bacek_ purl: forget Null PMC access in find_method()
00:57 purl bacek_: I forgot null pmc access in find_method()
00:58 bacek_ is find_method deprecated already?
00:59 cotto coke: http://www.gnu.org/software/bison/manua​l/html_mono/bison.html#Semantic-Actions
01:02 bacek_ ah. it was find_global...
01:06 stockwellb joined #parrot
01:10 Coke hurm. how can I tell if I'm parsing a PIR file?
01:11 Coke inside IMCC - I thought I had it, but it's catch .macros too. (based on pasm_file)
01:12 Coke ... errr. no, some other wierd thing is happening.
01:12 stockwellb I can't find PIR *delete file*.
01:25 Coke cotto; ah. so something that is doing $$=0; is just there for the side effects, I guess.
01:37 Theory joined #parrot
01:42 pmichaud bacek_: yes, lex2 appears to be working except for rakudo.  Jonathan and I are working on it.  It has to do with rakudo's use of get_outer in order to do things to subs
01:43 bacek_ pmichaud: ok.
01:45 * jonathan checks out lex2 branch
01:45 nopaste "coke" at 193.200.132.135 pasted "make p0 illegal in PIR" (16 lines) at http://nopaste.snit.ch/14589
01:45 * bacek_ switching to 'master' to test couple of other patches :)
01:45 dalek r32653 | pmichaud++ | lex2:
01:45 dalek : [pct]:  All immediate blocks should have capture_lex performed on them first.
01:45 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32653
01:45 Coke ... except that seems to cause $I0 to misparse in a .macro
01:46 Coke with that, I get:error:imcc:'I10' is only a valid register name in pasm mode        in file 'runtime/parrot/library/Digest/MD5.pir' line 157
01:46 bacek_ pmichaud: ptw, lex2 actually fails on get_hll_global $P114, ["PAST"], "Stmts"; $P115 = $P114."new"()
01:47 pmichaud bacek_: try it now with r32653 :-)
01:47 dalek r32654 | pmichaud++ | lex2:
01:47 dalek : [rakudo]:  Use get_namespace instead of interpinfo to set $?PACKAGE lex.
01:47 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32654
01:48 pmichaud it might still fail -- there are still some interesting pieces to lexicals that I'm working out.  But getting all core tests to pass is a big first step.
01:48 jimmy joined #parrot
01:49 * bacek_ make an alias for "git checkout local_lex2; git svn rebase; make" :)
01:51 jonathan pmichaud: Did you fix the lexicals problem?
01:51 jonathan (the one we were looking at in the airport)
01:51 pmichaud jonathan: in rakudo?  not yet, but I think I might know why we were getting strange results -- I'm not sure I had realcleaned/rebuild
01:51 pmichaud I'm doing that now.
01:52 jonathan OK, I'm getting a build of it now.
01:52 pmichaud the avante provides excellent notepads and office supplies at the in-room desk so I'm in good shape :-)
01:52 pmichaud although seeing the toys in the desk is a bit of a distraction
01:52 Tene Rather.
01:52 bacek_ 'rm -rf *; git checkout .' is REAL clean :)
01:52 jonathan Ooh...where are the toys?
01:52 Tene jonathan: my desk has windows in the top to see into the drawers.
01:52 pmichaud my desk has a rubik's cube, a deck of cards, an etch-a-sketch, a slinky, a yo-yo, and a fifteen puzzle
01:53 bacek_ pmichaud: rakudo builds perfectly on r32654. Running spectest now.
01:53 * pmichaud practices rebooting the etch-a-sketch.
01:53 pmichaud bacek_: I'd start by 'make test' first
01:53 bacek_ t/00-parrot/01-literals............ No subtests run
01:54 bacek_ for all of them...
01:54 stockwellb please could someone point me in the write direction for deleting a file usnig PIR?
01:54 pmichaud bacek_: yes, that's what I'm getting.
01:54 bacek_ ../../parrot perl6.pbc t/00-parrot/01-literals.t
01:54 bacek_ Segmentation fault
01:54 purl (Core dumped)
01:54 stockwellb s/write/right
01:54 bacek_ 0xb7cd2c05 in Parrot_Sub_nci_get_outer (interp=0x9837040, pmc=0x98a5dc0) at ./src/pmc/sub.pmc:824
01:54 bacek_ 824        PMC *outersub = sub->outer_sub ? sub->outer_sub : PMCNULL;
01:54 bacek_ (gdb) p sub
01:54 bacek_ $1 = (const Parrot_sub * const) 0xdeadbeef
01:55 * jonathan wants dead beef for dinner
01:55 pmichaud yes, that's what we were getting.
01:55 bacek_ not a GC problem... Still failing with -G
01:55 pmichaud food would help, though.
01:55 jonathan That's what you were getting - my slow laptop is not done building it yet! :-P
01:55 pmichaud how fast is your laptop?
01:56 jonathan Slow.
01:56 jonathan I don't actually know.
01:56 * Tene half-solved the rubik's cube.  I wonder if they come in and re-scramble it if I solve it.
01:56 jonathan Ah, 1.7 GHz
01:57 pmichaud mine's only 1200 MHz
01:57 pmichaud right now it's running at 600 MHz, though
01:57 * jonathan wonders why his is so slow...
01:57 * Tene is 2500 x 2
01:57 * pmichaud switches his CPU to "performance"
01:58 pmichaud vroom!
01:58 * Coke switches his IMCC to 'understandable'
01:58 jonathan Coke: You can now svn ci that...
01:58 stockwellb Pretty please...
01:59 pmichaud stockwellb: looking...
01:59 kj joined #parrot
02:00 pmichaud stockwellb: you need to create an 'OS' object, and use the 'rm method on it.
02:00 pmichaud see languages/perl6/src/builtins/io.pir:130 for an example.
02:00 Coke I have no idea why my change here is affecting macro parsing. wierd.
02:00 stockwellb Thank you pmichaud.
02:08 jonathan ...actions.pm takes a loooong time to compile here!
02:08 stockwellb I've got to learn how to grep without looking in the .c files!
02:10 Andy joined #parrot
02:15 dalek r32655 | coke++ | trunk:
02:15 dalek : use of PASM style registers in PIR is [DEPRECATED]
02:15 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32655
02:15 Tene stockwellb: ack --noc should do it
02:15 Andy --nocc
02:16 stockwellb I wasn't using ack, I'll try that.
02:17 * jonathan has stomach rumbles
02:19 * Tene prods jonathan to #pds2008
02:20 pmichaud I'm on #pds2008 and my stomach still rumbles.  :-(
02:20 stockwellb ah ack-grep there it is.
02:20 Andy yeah, it's tragic
02:21 Andy you can also drop the single file in your ~/bin
02:27 pmichaud afk # dinner
02:30 Coke shuttle++
02:30 * Coke missed the launch, curses.
02:33 Coke someone want to write up a test case for 36283 ?
02:33 stockwellb Ok, wow! ack really helps!
02:34 Andy stockwell: :-)
02:55 stockwellb complete my 3rd test rewrite. Thanks for help folks.
03:25 * Coke wonders if any parrot folk play poker.
03:39 jimmy when i try to run: prove t\php\string.t. it can not be run.
03:39 jimmy and using make test works.
03:41 cotto jimmy, those tests are a little strange
03:41 jimmy it seems to parrot cli can not run php file
03:41 cotto They expect to be run from languages/ instead of languages/pipp
03:43 jimmy cotto: works now.thanks. Why is it a little strange?
03:45 cotto I'm not sure why they're written like that, but it shouldn't be hard to fix.
03:46 Coke so that "cd languages && make test" works.
03:46 jimmy perl -I../lib pipp/t/php/string.t works, but perl -I../lib t/php/string.t can't work
03:46 jimmy cd pipp && make test works too.
03:48 jimmy i think it should be independent of the path.
03:52 jimmy Error: file cannot be read: F:/pipp/parrot-dev/languages/pipp/t/php/​../../../../languages/t\php\string_3.php
03:52 jimmy current instr.: 'parrot;PCT;HLLCompiler;panic' pc 152 (src\PCT\HLLCompiler.pir:104)
03:54 Psyche^ joined #parrot
03:56 cotto jimmy, what triggers that?
03:57 jimmy 'perl -I../lib t/php/string.t' or 'prove t/php/string.t'
03:58 cotto It works fine if you cd to languages and run prove pipp/t/php/string.t
03:58 jimmy i don't know how to run php file manually with parrot.
03:58 cotto I'll make it work from languages/pipp as soon as I find a different bug.
03:59 cotto ../../parrot pipp.pbc foo.php
03:59 jimmy i thought it should be independent of the path.
03:59 jimmy not just pipp path
03:59 cotto It will be, once installing is supported.
04:00 cotto For now, it's not (although you can add it to your path if you want to fake it).
04:00 jimmy cotto: thanks.
04:01 cotto glad to help
04:02 jimmy such a ../../parrot pipp.pbc foo.php can't work in windows
04:04 jimmy when a try to run parrot language\pipp\pipp.pbc foo.php, it outputs this:echo basenmae('sdsf/fdsf.html);
04:04 jimmy ?>
04:05 cotto can you nopaste foo.php?
04:06 jimmy <?php
04:06 jimmy echo basenmae('sdsf/fdsf.html);
04:06 jimmy ?>
04:06 cotto nopaste?
04:06 clunker3 http://pasta.test-smoke.org/ or http://paste.husk.org/ or http://nopaste.snit.ch:8001/ or http://rafb.net/paste or http://poundperl.pastebin.com/ or http://paste.scsys.co.uk/
04:06 purl hmmm... nopaste is at http://nopaste.snit.ch/ (ask TonyC for new channels) or http://rafb.net/paste or http://poundperl.pastebin.com/ or http://paste.scsys.co.uk/ or App::Nopaste or tools/dev/nopaste.pl or at http://www.extpaste.com/
04:06 jimmy that's all.
04:07 cotto you forgot the closing quote (and basename is misspelled)
04:08 jimmy yes, can parrot detect those errors?
04:09 nopaste "cotto" at 96.26.202.243 pasted "working version of foo.php" (3 lines) at http://nopaste.snit.ch/14590
04:09 Coke pipp.pbc -could-. not sure if it does.
04:09 cotto Pipp definitely isn't there yet.
04:10 cotto It's a smop to make it work.
04:12 jimmy ok, it seems that is not the parrot problem.
04:13 cotto For now, the limiting factor is fperrad, barney and my tuits.
04:13 jimmy and with right grammar, it is ok now.
04:16 jimmy I will try do some implementation.
04:17 cotto Go for it!
04:25 cotto Hmm.  It appears that something in PCT is adding an extra newline right before eof.
04:26 cotto Is this supposed to happen?
04:33 cotto nm.  I'm stupid.
04:37 jimmy talking to me?
04:39 cotto myself
04:39 jimmy :(
04:47 particle joined #parrot
04:49 jimmy basename was in filesystem group in php, why is in string group in pipp now?
04:50 chromatic joined #parrot
04:50 cotto sounds like a goof
04:52 particle jonathan, kj, pmichaud: we're hacking in the hi-fi room on 3
04:52 jimmy maybe it should be moved to file group
04:53 jonathan particle: ok, we went to the lobby...cming now :-)
04:56 jimmy hello cotto, could i create a patch for it?
04:56 kj joined #parrot
04:56 cotto jimmy, sure.
04:58 allison joined #parrot
04:59 particle allison: we're in the hi-fi room on 3
04:59 allison ah, cool
04:59 allison I was just wondering if there was a good gathering room
05:00 particle there's this one, and some others on 1 and 2 i understand
05:00 allison will see if I can find it...
05:01 chromatic Just to the left as you get off the elevator.
05:01 chromatic Listen for the curses and wailing of their children.
05:01 chromatic lamentation of their children?
05:02 chromatic We're in California; we should remember what the Governator said in 1981.
05:02 chromatic 1982, sorry.
05:02 chromatic Mongol General: Wrong! Conan! What is best in life?
05:02 chromatic Conan: To crush your enemies, see them driven before you, and to hear the lamentation of the women.
05:07 allison joined #parrot
05:10 stockwellb joined #parrot
05:17 nopaste "jimmy" at 202.105.159.228 pasted "[PATCH]Moving some functions to the right group." (317 lines) at http://nopaste.snit.ch/14591
05:18 monotonic /nick particle ginand
05:19 jimmy hello cotto,i had taken a test for it.
05:22 quantumduck QUARK QUARK
05:26 jhorwitz joined #parrot
05:30 cotto jimmy++
05:30 japhb joined #parrot
05:31 notbenh joined #parrot
05:31 dalek r32656 | cotto++ | trunk:
05:31 * cotto kicks dalek
05:31 dalek : [pipp] move some misplaced functions into the proper file
05:31 dalek : patch courtesy of jimmy on #parrot
05:31 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32656
05:37 * stockwellb is seriously digging ack
05:37 Andy I'm glad.  Tell your friends.
05:38 stockwellb Seriously, it's like it turned all the PIR code into an encyclopedia! I was too much of a linux noob to handle grep I guess.
05:39 chromatic I'm sure I still have a grep running in screen on some box somewhere waiting for STDIN.
05:39 stockwellb Bingo!
05:43 jimmy It is a pity that i can't `make vim-install` on windows.
05:44 cotto you can copy the files easily enough
05:45 stockwellb speaking of vim-install, is there an easy way to treat .t files as PIR?
05:46 jimmy i do not know about it.
05:46 jimmy to stockwellb
05:46 cotto stockwellb, yes.  Look at the code at the end of /t/pmc/resizablepmcarray.t (or any other pure PIR test)
05:48 stockwellb @cotto and what should I do with that?
05:48 cotto copy/paste
05:48 purl i guess copy/paste is hard in irc
05:49 stockwellb ?? I want to have vim do syntax highlighting for .t files like .pir: I'm confused.
05:50 cotto Putting the code in a file overrides vim's defaults and tells it how to highlight that file.
05:51 cotto s/code/coda/
05:51 Hinrik in short, make sure you have a syntax file for pir installed, and turn on vim's 'modeline' option
05:52 stockwellb Ok, when I open a .pir file it highlights well. When open a .t file it does not. I ran vim-install so I assume the great .pir highlighting came from that.
05:53 stockwellb I'm looking up modeline right now.
05:53 cotto Does the .t file have a coda?
05:53 stockwellb yes.
05:53 stockwellb @cotta, yes it has a coda.
05:55 cotto Did you try reloading the file? (:e)
05:56 stockwellb @cotta it happens to all .t files new and existing. It's never worked.
05:57 cotto I'm not sure what the problem is then.
05:58 s1n joined #parrot
05:58 notbenh left #parrot
05:58 stockwellb I'm trying to figure out how to turn *on* modeline right now, we'll see if that's it.
05:58 jimmy my gvim is used by default.:(
05:59 stockwellb Hey my gvim works too! Getting closer.
05:59 Hinrik stockwellb: :set modeline
06:00 bsb joined #parrot
06:00 Hinrik :set nomodeline  <-- opposite effect
06:00 stockwellb freaky, after I opened up gvim now vim works too.
06:01 stockwellb So I should *set modeline* in .vimrc?
06:02 Hinrik yeah
06:02 Hinrik or you can put "set nocompatible" there, which turns it on
06:02 Hinrik among other things
06:03 stockwellb other things, good things or bad things?
06:03 Hinrik good things
06:03 purl good things are like "no sales tax" and "no self-service gas" and "$20 car registration per year" etc.
06:03 Hinrik nocompatible breaks compatability with classic vi, and turns on many of vim's features
06:03 cotto oregon?
06:03 purl somebody said oregon was the Beaver state...hehe or one giant park or but just go ahead and say "oary gone" if you want or http://www.odf.state.or.us/gis/gisatlas.html or the home of Eugene or "It's greener here" or "piss off, California" or south of West Canada and north of California or saturated with bandwidth
06:04 * particle wonders if purl lives in oregon
06:04 Hinrik stockwellb: putting it at the top of your .vimrc is a good idea
06:04 Hinrik see ":help nocompatible" for more
06:05 dalek r32657 | chromatic++ | trunk:
06:05 dalek : [IMCC] Fixed a bug in r32508, where I should have written SET_STATE_LOAD_PBC
06:05 dalek : rather than STATE_LOAD_PBC.
06:05 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32657
06:05 stockwellb I used modeline in the .vimrc. Oh the test files look so pretty now!!
06:05 nopaste "particle" at 67.152.86.163 pasted "my .vimrc" (139 lines) at http://nopaste.snit.ch/14592
06:06 stockwellb I feel so inadequate. My .vimrc has like 10 lines.
06:06 Hinrik you should have a look at http://dotfiles.org/.vimrc
06:07 Hinrik for some ideas
06:07 stockwellb I have a couple PC's and I move around between them so I've tried to stay pretty stock.
06:08 cotto I'm lazy so I like to stay pretty stock. ;)
06:08 Hinrik I keep mine in a repository which I sync
06:08 Hinrik on all the computers I might need to edit on
06:09 particle i keep mine in a draft in gmail
06:09 stockwellb I could definately do that, I've got an account a svnrepository.com
06:09 Hinrik along with other dotfiles
06:10 Hinrik stockwellb: my might me useful to you, because it's got comments: http://git.nix.is/?p=hinrik/dotfi​les;a=blob_plain;f=.vimrc;hb=HEAD
06:10 Hinrik my .vimrc*
06:10 stockwellb comments are good!
06:11 stockwellb Pod highlighting!!
06:11 stockwellb dang!
06:12 stockwellb It's like I'm 39 all over again and it's christmas.
06:12 Hinrik that's actually a feature of Perl 5's syntax highlighting, so it doesn't work for all the others (pir, perl6, etc)
06:12 stockwellb well there's some cold water for ya.
06:13 Hinrik if you do edit Perl 5, this syntax file is more up-to-date: http://www.vim.org/scripts​/script.php?script_id=2300
06:13 Hinrik and with fewer bugs
06:14 Hinrik more up to date than the one that comes with vim, that is
06:14 stockwellb I've never edited perl anyting until this last week and that was to delete it in favor of PIR.
06:16 stockwellb I'm just jazzed to see highlighted tests. I've submitted 3 tests to parrotbug so far. It's been very fun.
06:16 chromatic joined #parrot
06:17 stockwellb The highlighting was the only drag, Thank you Hinrik for help clear that up!
06:17 Hinrik no problem
06:18 Hinrik hm, I was wrong about the pod thing, it's shared
06:18 stockwellb between highlighting for .t files and ack, it's been a good day.
06:19 Andy I suggest you sign up for the ack-users mailing liust.
06:19 stockwellb I will, thanks @Andy
06:19 stockwellb why do some of you have an @?
06:20 Hinrik are you not very familiar with IRC?
06:20 Andy Verfied users
06:20 Andy or ops
06:20 Andy or something ike that.
06:20 particle mailing lust?
06:20 particle I CAN HAZ SPAM?
06:20 stockwellb This is the first and only channel for me.
06:20 Hinrik stockwellb: http://en.wikipedia.org/wiki/IRC_channel_operator
06:20 particle opbots, trust stockwellb
06:20 clunker3 But I do not trust you particle
06:20 slavorg Ok
06:20 slavorgn Ok
06:21 chromatic opbots, trust stockwellb
06:21 slavorg But I already trust stockwellb
06:21 clunker3 But I do not trust you chromatic
06:21 slavorgn But I already trust stockwellb
06:21 chromatic clunker3, trust me
06:21 clunker3 But I do not trust you chromatic
06:21 chromatic clunker3, trust chromatic
06:21 clunker3 But I do not trust you chromatic
06:22 stockwellb well, what heck was all that. Thank you @particle?
06:22 particle you seem vaguely human
06:22 stockwellb too dumb to be a bot.
06:23 Hinrik stockwellb: the @ isn't actually part of the user's name, it's just a status symbol. If you omit it, you can use tab-completion to type the name more quickly
06:23 stockwellb Hinrik: I see, nice trick.
06:24 stockwellb Dang, I have status!
06:25 stockwellb Can someone do that with skill and smarts too!
06:27 bruce An even more human name.
06:28 chromatic MY NAME IS BRUCE!
06:28 bruce How old are you?
06:28 dalek r32658 | chromatic++ | trunk:
06:28 dalek : [IMCC] Tied the IMCC runstate for running from a PBC file to the state for
06:28 dalek : running PBC.  This allowed me to collapse two lines that always appeared
06:28 dalek : together into one (and r32657 won't build anyway).
06:28 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32658
06:29 bruce Bruce is a cool name, but I always defer to age when it conflicts.
06:30 bruce I'll use my last name, out of respect.
06:30 stockwell there.
06:34 particle beauty.
06:37 cotto http://www.imdb.com/title/tt0489235/ ?
06:45 stockwell nite.
06:45 stockwell left #parrot
06:45 jimmy i thought make vim-intall should work on windows.but there is a error.
06:45 jimmy make: *** No rule to make target `..\src\ops\\*.ops', needed by `pir.vim'.  Stop
06:55 dalek r32659 | chromatic++ | lex2:
06:55 dalek : [GC] Renamed Parrot_alloc_context() to Parrot_set_new_context().  I want to
06:55 dalek : reuse the old name and extract only the allocation behavior.
06:56 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32659
07:05 dalek r32660 | allison++ | pdd22io:
07:05 dalek : [pdd22io] Add the 'get_fd' method (Unix only).
07:05 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32660
07:24 japhb joined #parrot
07:26 dalek r32661 | chromatic++ | lex2:
07:26 dalek : [GC] Extracted Parrot_allocate_context() from Parrot_set_new_context().
07:26 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32661
07:32 dalek r32662 | chromatic++ | lex2:
07:32 dalek : [PMC] Replaced use of Parrot_set_new_context() with Parrot_alloc_context() in
07:32 dalek : Sub PMC (the motivation for creating Parrot_alloc_context() in the first
07:32 dalek : place).
07:32 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32662
07:40 dalek r32663 | chromatic++ | trunk:
07:40 dalek : [IMCC] Fixed a memory leak where IMCC_INFO(interp)->globals weren't getting
07:40 dalek : freed after compiling a file.
07:40 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32663
08:01 allison joined #parrot
08:24 mberends joined #parrot
08:32 panu joined #parrot
08:42 Debolaz joined #parrot
08:46 jimmy how to check os type in makefile? i want to make vim-install can be used in windows
08:58 cotto what needs to be different between windows and normal?
09:00 jimmy in editor.in file
09:00 jimmy $(HOME) is not exist
09:01 TiMBuS joined #parrot
09:01 jimmy use $(USERPROFILE)
09:01 jimmy and maybe there is another bug
09:02 jimmy let me try it.
09:03 cotto http://www.gnu.org/software/make/ma​nual/make.html#Conditional-Example
09:04 jimmy and it should not gen 'pir.vim: pir_vim.in $(OPS_DIR)/*.ops ops2vim.pl' to 'pir.vim: pir_vim.in $(OPS_DIR)\\*.ops ops2vim.pl'
09:05 jimmy it can not make in windows because this change..
09:06 cotto I'd look at a makefile template that works correctly and copy what it does.
09:15 jimmy ifeq ('Windows_NT',$(OS))
09:15 jimmy HOME    = $(USERPROFILE)
09:15 jimmy endif
09:15 jimmy it does not work
09:18 cotto wouldn't it be "win32"?
09:19 jimmy no
09:19 cotto You made sure the Makefile was regenerated?
09:20 jimmy got the answer
09:21 jimmy it should be ifeq (Windows_NT,$(OS))
09:22 cotto If you want to nopaste a patch, I can commit before I head to bed.
09:22 iblechbot joined #parrot
09:23 jimmy i should some other works do make it working.
09:23 cotto ok
09:24 jimmy this makefile is gened by a script and it do a wrong change, and i don't know if I modify it, it can  work on linux?
09:25 cotto Post here and someone can check it.
09:25 cotto Most of us run Linux.
09:25 jimmy ok.
09:25 jimmy i have go out now. goodbye.
09:26 cotto bye
09:27 bsb left #parrot
10:23 dalek r32664 | cotto++ | trunk:
10:23 dalek : [t] PIRify PMCProxy tests
10:23 dalek : patch courtesy of Bruce Stockwell (bstockwell++)
10:23 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32664
10:26 masak joined #parrot
10:29 cotto I just know that I'm eventually going to confuse him with Baxter Stockman.
10:35 panu joined #parrot
10:42 dalek r32665 | cotto++ | trunk:
10:42 dalek : [t] PIRify OO methods tests
10:42 dalek : patch courtesy of Bruce Stockwell (bstockwell++)
10:42 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32665
10:43 cotto rt is fast today.  I got the message closing that ticket at the same time as the svn commit notification.
10:45 cotto karma cotto
10:45 purl cotto has karma of 180
10:45 cotto I'm turning it around!
10:46 cotto 2*2*3*3*5
10:46 purl 180
11:14 masak karma masak
11:14 purl masak has karma of 51
11:14 masak 17*3
11:14 purl 51
11:17 masak heredocs in Rakudo -- anything in particular that prevents adding those?
11:18 masak I realize they're a bit special from a parsin point of view, so I thought I'd ask before investigating it myself
11:18 masak s/parsin/parsing/
11:36 bacek_ masak: a long way to sync STD.pm with Rakudo's STD.pm
11:36 bacek_ STD.pm?
11:36 purl STD.pm is, like, http://svn.pugscode.org/pugs/src/perl6/STD.pm
11:36 masak bacek_: I suppose. that doesn't quite answer my question, though.
11:36 masak thanks for the link, I was just looking for that :)
11:37 bacek_ masak: there is more things from STD.pm that have higher priority...
11:39 masak bacek_: if you say so. I realize that one can live without heredocs, but I was wondering about the difficulty of implementing it today. I'm not asking someone to actually do it.
11:39 bacek_ masak: 10-20 lines of PIR in src/parser/grammar.pm
11:40 masak that doesn't sound too bad.
11:40 bacek_ masak: but you have to know guts of parsing process :)
11:40 masak bacek_: aye. :)
11:40 bacek_ masak: do you have any testcases for heredocs?
11:40 masak I'm slowly getting the hang of it. I actually fixed a bug in quote_expression.pir a while ago :)
11:41 masak bacek_: I don't know. I'll check.
11:42 bacek_ masak: my assumption about "10-20 lines" isn't quite right...
11:44 masak bacek_: t/spec/S02-literals/quoting.t contains a few tests.
11:47 bacek_ masak: got it
11:51 masak lunch &
11:51 bacek_ S02-literals/quoting looks suspicious. There is no q:heredoc in S02.
11:51 masak maybe it's old.
11:52 masak I think that was the old name for q:to.
11:52 masak & # really
11:55 cognominal joined #parrot
12:05 bsb joined #parrot
12:05 dalek r32666 | fperrad++ | trunk:
12:05 dalek : [File::Spec] win32
12:06 dalek : bare method names are [DEPRECATED]
12:06 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32666
12:06 cotto not just deprecated, but [DEPRECATED].
12:34 ruoso joined #parrot
12:59 ruoso joined #parrot
13:46 Debolaz joined #parrot
13:59 nopaste "pmichaud" at 67.152.86.163 pasted "RT #58392 now fixed in lex2 branch (for masak)" (28 lines) at http://nopaste.snit.ch/14593
14:00 dalek r32667 | pmichaud++ | lex2:
14:00 dalek : [GC]:  Adjust clear_regs() to use the context being cleared
14:00 dalek : (instead of the current interpreter context) to decide how
14:00 dalek : many registers to change.  With this patch, rakudo compiles
14:00 dalek : and passes "make test" again, and RT #58392 is apparently
14:00 dalek : solved.  We still need to fix Parrot_dup_context, but I'm
14:00 dalek : questioning whether that is sufficiently useful to warrant
14:00 dalek : keeping it.
14:00 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32667
14:00 masak pmichaud++ # though this is an understatement
14:01 pmichaud I'll see if we can merge lex2 into trunk today (want to check with allison and others, since we're close to a release date)
14:01 pmichaud and I haven't checked spectest yet -- doing that now (but on my slowish laptop)
14:07 Whiteknight you guys are at PDS?
14:17 pmichaud yes
14:18 pmichaud it's 06:17 here now, so I'll have to wait until breakfast to check :-)
14:18 gmansi joined #parrot
14:19 * Whiteknight is so jealous
14:20 pmichaud wish you were here :-)
14:29 register joined #parrot
14:36 pmichaud looks like 6 spectest files fail
14:36 pmichaud I'm pretty sure I know what the cause is, though
14:54 pmichaud oops, only 5 spectests.  The sixth is the (known) declaration-order-double-free oddity.
14:54 pmichaud afk # breakfast
15:14 particle joined #parrot
15:42 s1n joined #parrot
15:45 ambs joined #parrot
15:46 ambs left #parrot
15:48 ruoso joined #parrot
15:49 johbar joined #parrot
15:49 tewk I got up at 6:00. I've just found my bug due to code due to code duplication between Parrot_sub and Parrot_coro.
15:50 tewk I don't think I would have found it except that I applied a patch a second time to restore some code and I saw that a hunck already present in the file applied cleanly
16:05 Andy joined #parrot
16:08 Psyche^ joined #parrot
16:21 Coke who was working on the Parrot::Test stuff?
16:21 Coke (still failing for me on windows; I vote we remove those tests.)
16:25 dalek r32668 | Whiteknight++ | calling_conventions:
16:25 dalek : [calling_conventions] merge Parrot_build_sig_object_from_varargs and Parrot_build_sig_object_from_varargs2 into a single implementation, update all calls, and run make headerizer (which changed a lot of unrelated stuff)
16:25 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32668
16:29 dalek r32669 | coke++ | trunk:
16:29 dalek : Be slightly more specific about the kinds of win32 this is a problem on.
16:29 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32669
16:38 barney joined #parrot
16:40 allison joined #parrot
17:00 workbench joined #parrot
17:01 dngor joined #parrot
17:03 klapperl joined #parrot
17:12 rob joined #parrot
17:12 chromatic joined #parrot
17:13 kj joined #parrot
17:15 * Tene drinks a coke in honor of Coke, who could not come.
17:17 davidfetter ?
17:19 particle joined #parrot
17:20 jhorwitz joined #parrot
17:21 Tene davidfetter: Parrot Developer Summit this weekend.
17:21 davidfetter ah
17:24 barney see #pds2008
17:24 allison joined #parrot
17:49 chromatic joined #parrot
17:50 gmansi joined #parrot
18:15 dalek r32670 | bernhard++ | trunk:
18:15 dalek : [perl] Parrot::Test::run_command does not take filehandles,
18:15 dalek : but filenames
18:15 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32670
18:17 ewilhelm joined #parrot
18:20 gryphon joined #parrot
18:42 Andy joined #parrot
18:49 dalek r32671 | bernhard++ | trunk:
18:49 dalek : [testing] Parametize test for complete PCT workflow
18:49 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32671
18:49 Whiteknight joined #parrot
18:50 chromatic Whiteknight, you're the 1.0 release manager.  We just voted.
18:52 Whiteknight ...are we going to hit 1.0 by december?
18:52 Whiteknight because I'll work my ass off, but promise no miracles
18:52 chromatic Whenever we hit it, you're it.
18:53 * chromatic doesn't know what makes your head explode, but that's the way the 1.0 release ends.
18:54 Whiteknight how's the summit going?
18:54 * Whiteknight is so upset he had to miss it
18:54 chromatic We have a vision.
18:55 Whiteknight any major changes/refinements to the roadmap?
18:55 chromatic We're reviewing critical features for 1.0.
18:55 Whiteknight And let me guess: The GC that god forgot is high on the list?
18:56 chromatic We haven't reached it yet.
19:03 chromatic We just reached it.
19:06 dalek r32672 | fperrad++ | trunk:
19:06 dalek : [Lua]
19:06 dalek : - add complex library
19:06 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32672
19:06 dalek r32673 | bernhard++ | trunk:
19:06 dalek : [testing] add testcase with a key in the grammar
19:06 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32673
19:11 Whiteknight I need to get this calling_conventions nonsense out of the way so I can get cracking on that GC again
19:11 particle amen
19:14 chromatic Whiteknight, I think you can delete mark() from CPointer.
19:14 chromatic That should fix some of the segfaults.
19:14 Whiteknight I've been kicking that idea around
19:14 Whiteknight because any pointer in the CPointer is going to be present in a stackframe somewhere, at the very least
19:15 Whiteknight I was also thinking about changing mark to test the pointer to make sure it was in the PMC arena first, before trying to mark it blindly
19:17 chromatic Allison and I talked about that.  We both think removing mark() should work now.
19:19 klapperl joined #parrot
19:19 Whiteknight I'm testing it with removing the data->pointer marking, but not the data-sig marking
19:20 Whiteknight yes, that worked. I'm running make test now
19:20 chromatic Run a couple of relevant tests with --runcore=gc-debug too.
19:20 Whiteknight good call on that
19:22 Whiteknight maybe we can get this damn branch merged back in today
19:29 dalek r32674 | bernhard++ | trunk:
19:29 dalek : [t] Add TODO test, where an 'our' var seems to get lost
19:29 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32674
19:32 Whiteknight gotta go, battery dieing. I'll be back in for a status update later
19:37 ewilhelm left #parrot
19:54 jan joined #parrot
19:57 szabgab where are the logs of the channel? The link on http://www.parrotcode.org/misc/irclogs.html seems to end in september
19:57 cotto irclog?
19:57 purl somebody said irclog was http://irclog.perlgeek.de/parrot/today
19:58 cotto although I'm not sure what an infrared clog is
19:59 szabgab its' great, I already found what I needed, thanks
20:00 szabgab someone should add this link to the perrot web site
20:00 Infinoid infrared clog?  isn't that like ruby slippers, but more so?
20:07 dalek r32675 | bernhard++ | trunk:
20:07 dalek : Add reference to RT# 60554
20:07 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32675
20:16 dmknopp joined #parrot
20:23 Theory joined #parrot
20:25 dmknopp ping Coke
20:25 purl I can't find Coke in the DNS.
20:27 particle i have dr pepper
20:27 dmknopp :-)
20:32 Zaba joined #parrot
20:41 bacek_ msg pmichaud #56612 fixed in lex2! Hooray!
20:41 purl Message for pmichaud stored.
20:50 Infinoid anyone around who can test a segfault on darwin/ppc?
20:57 Infinoid heh, 0xdeadbfe7 looks nice and suspicious.
20:57 chromatic I bet it's the vtable entry for that PMC.
20:58 chromatic The one in the VTABLE_does call.
20:58 chromatic If that's the case (and I'm sure it is), then we need to know what creates that PMC and where.
20:59 bacek_ Anyone have admin access to RT? There is few duplicating tickets in perl6 queue.
21:01 rhr joined #parrot
21:04 chromatic Lots of us do.
21:05 Infinoid bacek_: which tickets are dupes?
21:05 Infinoid (I doubt I'm an admin, but I think I can still use the "Merge into:" widget.)
21:05 bacek_ Infinoid: 56976 and 58002
21:05 purl 114978
21:07 Infinoid chromatic: well, I think that's easy.  this test is re-freezing a PackFile object, created by passing a big string to PackFile_unpack().
21:08 Infinoid Of course, that doesn't tell us anything about which pmc within the packfile segment has the problem.
21:08 chromatic That's why the breakpoint on pmc_new_header or whatever.
21:09 Infinoid bacek_: merged
21:09 bacek_ #56684 and #57990 dupes too
21:09 bacek_ Infinoid: thanks
21:10 Infinoid prefix:<\> and prefix:<\\> are the same thing, right?
21:10 bacek_ Infinoid: in this context - yes :)
21:11 Infinoid k, merged.
21:13 bacek_ less that 150 open+new tickets in rakudo queue! :)
21:13 Infinoid bacek_++
21:13 Infinoid er
21:13 Infinoid bacek++
21:15 * bacek_ wonders on which computer "bacek" still connected...
21:17 bacek_ Is it reasonable to create single meta-lex bug? So we can close 4-5 tickets easily on merging lex2 branch?
21:17 particle you want me to kick bacek?
21:17 bacek_ particle: yes, please
21:17 was kicked by particle: bacek_ doesn't like you
21:18 bacek_ yak... It still connected to IRC...
21:18 bacek_ anyway,  it's just small inconvenience
21:18 particle you'll need to find ops in the other channels you frequent, or ask an ircop
21:19 particle ...or Just Deal ;)
21:19 Infinoid bacek_: looks like bacek is connected through another ISP (optusnet) than the one you're connected to right now... maybe a work PC or something
21:19 bacek_ I can "Just Wait"
21:20 rhr joined #parrot
21:20 bacek_ Infinoid: yes... But it my laptop, and it should be switched off...
21:20 bacek_ And I will have a lot of troubles if it isn't.
21:21 Infinoid ohnoes
21:22 bacek_ It's still "on". So, it's not stolen yet :)
21:26 bacek_ Hmm... Why I can't add dependency to my ticket on another ticket?
21:27 bacek_ Infinoid: can you add dependecy on 58392 and 59082 to 60560?
21:27 bacek_ please
21:28 Infinoid in addition to the 56612 and 58916 deps already there?
21:29 Infinoid (done)
21:31 bacek_ Infinoid: yes. And merge 60560 into 56512 :)
21:32 Infinoid is #59512 valid?  for some reason I get "No permission to view ticket".
21:32 Infinoid oh, s/9/6/
21:33 Infinoid there, that's a nice big dependency list.
21:35 bacek_ All tickets from 60560 resolved in lex2 branch already.
21:35 bacek_ pmichaud++ # lexical now works!
21:55 nopaste "bacek" at 123.243.38.218 pasted "any-str.pir.vcs" (13 lines) at http://nopaste.snit.ch/14594
21:55 dmknopp joined #parrot
21:55 bacek_ pmichaud:  http://nopaste.snit.ch/14594 fix for Str.trans in lex2 branch.
21:57 bacek_ pmichaud: all other spectests passed for me with -G...
22:02 * Coke returns from about 4.5 hours of grueling GS apple pie prep/cleanup.
22:04 Coke (no permission to view ticket) usually means someone put it in the spam queue.
22:04 Coke ... or some other queue you don't have perms to.
22:04 Coke (GS==girl scout)
22:05 bacek_ Coke: or just typo in ticket id :)
22:12 dalek r32676 | jonathan++ | trunk:
22:12 dalek : [core] The copy op doesn't need to do a morph to something it then scribbles over, so don't do that. Also try and preserve _metadata - appears not to work yet, but may not be a problem in the op.
22:12 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32676
22:15 ruoso joined #parrot
22:19 mj41 Hi, TapTinder http://tt.ro.vutbr.cz is fresh and online. Good night.
22:31 dmknopp left #parrot
22:33 Whiteknight joined #parrot
22:38 Whiteknight what/where is trac?
22:38 Infinoid trac in general, or is there a parrot trac?
22:39 Coke there is no parrot trac.
22:39 Whiteknight parrot trac
22:39 Whiteknight will there be one?
22:39 Coke if particle has its way.
22:39 Coke it's not a huge priority.
22:39 Coke (given that we already have svn + RT)
22:39 chromatic parrot trac is https://trac.parrot.org/parrot/
22:40 Coke chr
22:40 bacek_ let's rewrite trac in perl6 :)
22:40 Coke ... can we finish one thing first?
22:40 particle let's (re)write perl6 in parrot first
22:40 * chromatic finished eating a cookie
22:40 Whiteknight why choose trac over RT? I'm a big RT fan?
22:41 Whiteknight ...that last one wasn't a question
22:41 particle svn integration
22:41 particle also, it's a good way to triage/clear the rt queue
22:41 particle well, it's *a* way.
22:42 Infinoid heh
22:42 Infinoid "close them all, the important ones will get recreated"?
22:42 Whiteknight Yeah, there are a ton of unclosable and very vague tickets that need to be destroyed
22:42 particle yep
22:42 Coke I would argue that deleting them all is NOT the way to do it.
22:42 Infinoid I heard Larry say that once, but I thought he was joking.
22:42 chromatic They need migration and review, especially at the same time.
22:42 Whiteknight Larry is an adept joker
22:43 * Coke shuts up now, since he's out of the loop this weekend.
22:43 Whiteknight chromatic, how do I pass --runcore=gc-debug to the test harness?
22:43 chromatic TEST_PROG_ARGS= ...
22:44 Whiteknight is that on the commandline?
22:44 chromatic Yes.
22:44 * Whiteknight really needs to get a lot more familiar with the whole test suite
22:45 Infinoid the Parrot testsuite is a moving target
22:45 particle i do miss your views this weekend, will
22:52 Coke I do hope everything gets written up so those of who want to kibbitz after the fact will be able to.
22:52 dalek r32677 | kjs++ | trunk:
22:52 dalek : [pdd19] fix a pod error.
22:52 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32677
22:54 Infinoid RBSP: Remote Bikeshedding Protocol
22:58 particle coke: that's a goal, yes. we have work products, like a roadmap
23:01 cotto parrotvm.org has a sad
23:02 Coke particle: then you can claim the ROADMAP ticket in my queue. enjoy. =-)
23:03 particle i'm writing our timeline now, copying from the wall in front of me
23:04 Whiteknight allison around?
23:05 Tene She's at the opposite end of the table from me.
23:05 Whiteknight so...no?
23:05 Whiteknight :)
23:05 Tene Whiteknight: we nominated you for doing the 1.0 release.
23:05 dalek r32678 | Whiteknight++ | calling_conventions:
23:05 dalek : [calling_conventions] Fix a segfault by disabling the mark VTABLE method on CPointer as per a suggestion from chromatic++. Also, fix a lot of comments and prepare to merge this back into trunk.
23:05 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32678
23:05 Whiteknight yeah, I heard. How did I possibly earn that job title?
23:05 chromatic We thought it would be funny is how.
23:06 Tene I wonder if I have a public IP here...
23:06 Whiteknight oh, well it's hard to disappoint when expectations are so low
23:07 chromatic If you don't want to do that, don't sign up for March 17 :)
23:07 Whiteknight Seriously? We're shooting for 1.0 in March?
23:07 chromatic Seriously.
23:07 purl I'm totally freaking serious.
23:07 Whiteknight I'll have to think of a VERY clever name by then, for such a symbolicly important release
23:08 Whiteknight I'm thinking "tastes like chicken", or "TEH PARROTZ!"
23:10 chromatic particle's writing these down for a wiki page.
23:11 Whiteknight or "isn't vaporware"
23:11 chromatic That was "Reverse Sublimation"
23:12 bacek_ OMG. March, 17. 2009?
23:12 Whiteknight that's what I was thinking! OMG!!
23:13 Whiteknight afk
23:18 dalek r32679 | kjs++ | trunk:
23:18 dalek : [pdd19] update .arg and .result into new forms (.set_arg, etc.)
23:18 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32679
23:19 bacek_ chromatic: (about lex2) Is Closure === Sub now?
23:19 chromatic pmichaud knows better, but I believe so.
23:19 chromatic At least, there's no Closure anymore.
23:19 jonathan bacek_: Yes
23:19 chromatic It's all Sub.
23:19 jonathan Closure goes away.
23:19 bacek_ nice.
23:20 jonathan Aye.
23:20 dalek r32680 | chromatic++ | trunk:
23:20 dalek : Marked PARROT_API as deprecated in favor of PARROT_EXPORT.
23:20 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32680
23:20 bacek_ jonathan: Can you apply http://nopaste.snit.ch/14594 ?
23:20 bacek_ it fixes Str.trans.
23:25 jonathan bacek_: In the lex2 branch, right?
23:25 * Tene pings Whiteknight
23:25 bacek_ jonathan: yes
23:27 TiMBuS joined #parrot
23:28 * Tene is now streaming PDS at http://pleasedieinafire.net:1234/
23:28 Tene VLC should be able to play that url.
23:30 Tene Dunno if audio is coming through, though.
23:38 jonathan bacek_: will apply, thanks
23:41 Tene No, audio isn't working.
23:43 DietCoke joined #parrot
23:43 chromatic /nick DietCoke DietPeachSnapple
23:54 kj joined #parrot

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

Parrot | source cross referenced