Parrot 1.8.0 Zygodactyly released | Latest modified TT's: icanhaz.com/parrotbugs | Parrot Languages: icanhaz.com/parrotlang
Set by moderator on 23 November 2009.
dalek nxed: r231 | julian.notfound++ | trunk/winxed (3 files):
reintroduce -e option mistakenly dropped from stage 0, add -e option to stage 1
00:07
00:14 bluescreen joined
dalek TT #1337 created by pmichaud++: deprecate runtime/parrot/library/Protoobject.pir 00:16
00:26 eternaleye joined 00:50 plobsing joined 01:07 zak_ joined 01:33 cghene joined 01:39 lucian joined 01:47 bogen joined 01:59 zak_ joined 02:11 cconstantine joined 02:28 tetragon joined 03:21 tetragon joined
plobsing hi #parrot 03:51
Tene hi plobsing 03:54
plobsing who should I talk to about eval.pmc's freeze/thaw not working?
chromatic I think you just volunteered! 04:06
plobsing i am going to try and fix it, I just want to know if its already a known issue 04:07
I didn't see anything in trac
chromatic There are a few tickets for related issues. 04:10
04:47 eternaleye joined 04:58 JimmyZ joined 05:36 Ryan52 joined 06:27 JimmyZ_ joined 07:06 jan_ joined 07:12 he__ joined 07:15 uniejo joined 07:16 eternaleye joined
cotto 39.75/1.5 07:39
purl 26.5
dalek rrot: r42814 | cotto++ | trunk/tools/dev/pprof2cg.nqp:
[pprof2cg] final fixes on nqp port. Now it works *and* is 26.5x slower than the perl version.
07:43
moritz cotto: now you have a very good reason to optimize parrot :-) 07:46
JimmyZ Does that mean parrot is 26.5 slower than perl 5? 08:09
08:13 cconstantine joined
moritz no 08:23
kthakore moritz: having fun this morning? :) 08:26
moritz too tired
kthakore lol
moritz: i was refering to the question of parrot v.s perl5 speed 08:27
08:27 riffraff joined 08:28 iblechbot joined
kthakore moritz: i was refering to the question of parrot v.s perl5 speed 08:29
oops
stupid iphone
08:54 elmex joined 09:20 fperrad joined 09:22 fperrad_ joined 09:32 mikehh joined 09:52 theory joined 10:20 masak joined
fperrad seen vadrer 10:28
purl I haven't seen 'vadrer', fperrad
10:31 payload joined 10:40 theory joined
dalek rrot: r42815 | fperrad++ | trunk/runtime/parrot/library/distutils.pir:
[distutils] fix loop in _clean_win32_installer
10:51
10:55 payload joined 11:43 iblechbot joined 12:17 uniejo joined 12:18 JimmyZ joined, mariano__ joined 13:04 mariano__ joined 13:16 lucian joined 13:21 xenoterracide joined 13:29 xenoterracide joined 13:30 xenoterracide joined 13:41 tetragon joined 13:43 cconstantine joined 13:45 xenoterracide joined 13:48 xenoterracide joined 13:52 xenoterracide joined 13:55 xenoterracide joined 14:01 plobsing joined 14:28 he__ joined 14:29 riffraff joined 14:30 cconstantine joined 14:35 riffraff joined 15:02 Psyche^ joined 15:03 lucian joined
Coke purl owner? 15:37
purl owner is hachi, see also #purl
dalek kudo: 2b93c78 | (Solomon Foster)++ | src/setting/Rat.pm:
Rework most of the Rat math functions to use / to construct Rats rather than Rat.new.
15:40
15:55 darbelo joined, bogen joined 16:14 bogen joined 16:15 payload joined
dukeleto mikehh: it would be nice if you could put the name of the test that is being translated in the commit message, in addition to the TT 16:54
dalek rrot: r42816 | dukeleto++ | trunk/t/pmc/filehandle.t:
[t][cage] De-backslash-itis t/pmc/filehandle.t
17:12
17:41 bogen joined
Coke msg hachi I know I asked you to have purl ignore dalek, but there's karma information in there which is more important than the occasional "change" message. Can you have purl unignore dalek? 18:30
purl Message for hachi stored.
Coke (there.)
mikehh dukeleto: it is generally in the first line of the message unless there is more than one 18:31
dukeleto: for example look at the commit you just did 18:32
dukeleto mikehh: that is from the irc bot 18:34
mikehh ah ok
dukeleto mikehh: that is not what shows up when i use "svn log" or "git log" and you cannot see what file is being modified without looking at the commit
Coke you don't need to include thefilename in the comm9it message. 18:35
it's part of the commit info\\
dukeleto whatever. it was just my suggestion. it makes it hard to see what is going on with 10 commits with the same commit message and just different TT #'s 18:36
mikehh dukeleto: I generally haven't put the file there because it is in the email or dalek's commit message 18:37
dukeleto each commit message should be a unique butterfly
mikehh dukeleto: it becomes difficult if you have removed say, trailing spaces, from 3 or 4 files in one commit 18:39
18:39 ascent joined
mikehh dukeleto: unless you commit them separately 18:39
dukeleto: however I will bear it in mind - I used to do that, but thought it was redundent 18:43
dukeleto in my opinion, when one file has been re-written in a new language in a commit, it is useful to name that file in the commit message. in one-line log mode in svn/git, it is not redundant 18:52
Coke you'll get people complaining either way. =-) 18:54
19:09 PacoLinux joined, joeri joined 19:12 bogen joined 19:35 preflex joined 19:37 lucian joined 19:38 cotto joined 19:51 nopaste joined 19:52 eternaleye joined
dalek rrot-plumage: 068ae26 | japhb++ | :
[TESTS] Fix qx() test for Win32
20:21
20:37 eternaleye joined, joeri joined
dalek ptap: fbb061d | dukeleto++ | (12 files):
Convert over to PIR-based Configure and build system

This configuration does not yet compile on the NQP that Parrot has in trunk right now:
  (kadath)(~/git/nqptap master )$ parrot-nqp Configure.pir
Confused at line 4, near ".include '" current instr.: 'parrot;HLL;Grammar;panic' pc 519 (src/stage0/HLL-s0.pir:336) called from Sub 'parrot;NQP;Grammar;comp_unit' pc 4922 (src/stage0/NQP-s0.pir:138) called from Sub 'parrot;NQP;Grammar;TOP' pc 965 (src/stage0/NQP-s0.pir:368) called from Sub 'parrot;Regex;Cursor;parse' pc 282 (src/stage0/Regex-s0.pir:181) called from Sub 'parrot;HLL;Compiler;parse' pc 24 (src/stage0/HLL-s0.pir:32) called from Sub 'parrot;PCT;HLLCompiler;compile' pc 388 (src/PCT/HLLCompiler.pir:287) called from Sub 'parrot;PCT;HLLCompiler;eval' pc 937 (src/PCT/HLLCompiler.pir:532) called from Sub 'parrot;PCT;HLLCompiler;evalfiles' pc 1224 (src/PCT/HLLCompiler.pir:676) called from Sub 'parrot;PCT;HLLCompiler;command_line' pc 1410 (src/PCT/HLLCompiler.pir:763) called from Sub 'parrot;NQP;Compiler;main' pc -1 ((unknown file):-1) As far as I know, NQP does not yet have a version numbering scheme and this makes the situation icky. pmichaud++ has described a good one, it just has not been implemented yet.
20:42
20:45 donaldh joined
japhb dukeleto, why would you use parrot-nqp to run a .pir file, instead of using parrot itself? 20:48
dukeleto japhb: i am sorely confused 20:49
dukeleto blames enormous amounts of turkey
japhb dukeleto, your nqptap commit. You used the command ' parrot-nqp Configure.pir'. That makes no sense. You should use 'parrot Configure.pir' instead. 20:50
And if you're going the PIR route, why not skip Configure entirely and just switch to fperrad's setup.pir system instead? 20:51
kthakore dukeleto: why blame turkey ... it never did nothing to you :9 20:53
dukeleto: don't be a turkey hater ... it only wants your love
dalek rrot: r42817 | fperrad++ | trunk/t/library (4 files):
[t][cage] factorize load_bytecode 'lib.pbc'
20:56
21:01 mariano__ joined
dukeleto japhb: how do (and why should) I use fperrad's system? i used mk_lang_shell 21:12
japhb He just committed in here 20 min ago.
fperrad: Are you still around?
dukeleto, It's actually amazingly cool-simple. 21:13
fperrad japhb, hello
japhb fperrad: dukeleto wants to know how to convert nqptap to setup.pir. 21:14
I figured you could help. ;-)
fperrad japhb, you are right 21:15
dalek ptap: bf1c683 | dukeleto++ | .gitignore:
Previous commit message was post-Thanksgiving-food-coma delirium. Improved .gitignore
21:17
japhb "I'm delirious. Oh, and I edited something." :-) 21:18
21:18 donaldh_ joined 21:32 allison joined 21:43 iblechbot joined 21:53 MoC joined
dukeleto fperrad: how do i convert to setup.pir? what features does it have over what mk_lang_shell gives me? 21:55
fperrad dukeleto, mk_lang_shell generates a skeleton for a compiler built over PGE & NQP 21:58
dukeleto, currently mk_lang_shell generates 2 ways for building 22:01
* parrot Configure.pir (with Makefile.in) which is currently broken (see TT #1279)
* parrot setup.pir
dalek rrot-plumage: 3cda70e | japhb++ | :
Move depsolving to Plumage::Dependencies: first working code
22:03
rrot-plumage: b5d2614 | japhb++ | :
[plumage] Improve comments in HACKS section
fperrad dukeleto, setup.pir contains data which describes your project (basically pathnames, dependencies, ...) 22:05
setup.pir loads the library distutils.pbc which contains all rules needed to build (with PGE, TGE, NQP, NQP-RX, PBC_TO_EXE)
dukeleto fperrad: ok, how do i switch to use setup.pir then? 22:10
japhb fperrad: do you have a "setup.pir howto" document somewhere? 22:11
fperrad dukeleto, there some examples (links) in the runtime/library/distutils.pir 22:12
I try to convert Kea 22:13
dukeleto fperrad: thanks! 22:15
fperrad: that would be a great example for me, and then I can try to do it to nqpTAP 22:16
we need a new column in the parrot language list: configure/build language 22:17
dalek rrot-plumage: d9626c7 | japhb++ | :
[LIB] Convert line missed during Plumage::Dependencies refactoring
22:20
22:22 theory joined
dukeleto fperrad: you have a commit bit on the kea github repo 22:26
nopaste "fperrad" at 79.81.118.39 pasted "[Kea] convert to setup.pir (for dukeleto)" (122 lines) at nopaste.snit.ch/18882 22:27
dukeleto fperrad: can you commit that to the master branch of kea? 22:28
fperrad: and add yourself to CREDITS as well, please :) 22:29
fperrad: Kea is Artistic License 2.0, in case you are wondering 22:30
any one else who wants a commit bit on Kea, just ask me 22:36
japhb Anyone around happen to know how to tell if an optional param in NQP-rx has been supplied or not (:opt_flag in PIR)? I *don't* mean "default to an undefined value". I actually need to know if it was supplied. 22:38
22:42 dngor joined
Tene japhb: the answer is "Don't do that. Find a different way to do it." 22:43
japhb: the generated pir does have a :opt_flag, but it's not used for anything other than setting defaults.
japhb: does nqp support block defaults, though? 22:44
looks like it does, maybe...
oh, no, that just puts the actual block into the variable. 22:45
japhb: I'd do something like making a new class and setting that as the default. class NotSupplied { ... }; sub foo($a=NotSupplied) { if $a ~~ NotSupplied { ... } } 22:46
I bet something like that could work.
I don't know what you're trying to do here exactly, though, so I couldn't say more.
22:46 cconstantine joined
Tene Well, I could, but it wouldn' tbe useful. :) 22:46
fperrad dukeleto, pushed on Kea, now, you have the following commands : 22:56
- parrot setup.pir build
- parrot setup.pir clean
- parrot setup.pir test
- sudo parrot setup.pir install
- sudo parrot setup.pir uninstall
- parrot setup.pir plumage > plumage/kea.json
dalek a: 05aa9ff | unknown++ | (4 files):
convert to setup.pir (distutils)
22:57
a: c58c501 | unknown++ | (4 files):
remove old stuff
TT #1338 created by vkon++: 3 C functions for tcl/tk library 23:06
japhb Tene, thank you for the ideas 23:09
Tene: and FWIW, I was implementing a reduce() function, which classically has two related definitions, one with an initial value supplied, and one without. And you can't just treat the one without an initial value as the same as one with an undefined initial value. In full Perl 6, I would have solved that with MMD, but since that's not available .... 23:14
dukeleto fperrad: thanks!
Tene japhb: Ah.
dukeleto fperrad: how do i tell setup.pir to use my custom test harness? which does it use by default? 23:16
i answered my question 23:25
dalek a: ad8b4be | dukeleto++ | README:
Update README to reflect new build system from fperrad++
23:26
japhb dukeleto or fperrad: drop me an email (or send me a repo link) for the updated kea.json, and I'll update plumage. 23:30
dukeleto japhb: i think i can do that now 23:32
japhb dukeleto, OK, perfect
dalek a: 6032262 | dukeleto++ | (2 files):
Add a plumage metadata file and correct the README
23:37
japhb dukeleto, kea.json is wrong ... it claims Perl 6 in 'provides' and 'keywords'. 23:39
23:39 plobsing joined
dukeleto japhb: oops! 23:39
japhb: incoming 23:41
purl duck!
japhb :-) 23:42
dukeleto msg fperrad parrot setup.pir plumage does not work for me
purl Message for fperrad stored.
dalek a: 05c9b84 | dukeleto++ | plumage/kea.json:
Fix the 'provides' and 'keywords' fields in the Plumage metadata file based on japhb++'s comments
23:43
a: 447b8ac | dukeleto++ | .gitignore:
Improve .gitignore
japhb dukeleto, I thought you switched to just switched to setup.pir for building? The instructions say make .... 23:48
dukeleto japhb: i thought setup.pir does not use Makefile? 23:49
msg fperrad i would like to add custom steps to setup.pir, how hard is that?
purl Message for fperrad stored.
dukeleto =head1 DESCRIPTION 23:50
No Configure step, no Makefile generated.
i want to add a configure setup with a small readme-like printout. i like that step, even if there is nothing to be actually configured 23:51
you can point users to documentation, the irc channel, mailing lists, etc...
japhb dukeleto, that's what I'm saying, kea.json says 'make' for the instruction types for most steps, instead of 'parrot_setup'
dukeleto, FWIW, that's conceptually a different step ... being able to give the user a message is something we ought to treat specially, without hacking it in as a side effect of some normal stage 23:52
dukeleto japhb: i just gave you a commit bit to kea, can you fix it? i had to hand-write that file because generating it wasn't working 23:53
japhb: then i want a "readme" step in plumage
japhb dukeleto, give me a second to finish what I'm working on, then yes.
And a readme step is a reasonable request ... but the question is, what does it do and when does it happen? 23:54
dukeleto japhb: it is an optional step that can be run at any time 23:55
23:56 workbench joined
japhb dukeleto, optional sure. Run at any time seems LTA, since it could happen in the middle of stuff that scrolls it off the screen. 23:56
dukeleto japhb: optional *first* step works for me 23:57
japhb I'm almost thinking that Plumage should collect the readme results from all projects and dependencies, and display them all at once. Sort of like APT does.
dukeleto, then it would have to pause the install -- for each dependency as well. A single plumage install command could be paused several times.
dukeleto japhb: why paused? it just prints stuff out 23:58
japhb: no pausing, just printing. if it is an automated dependency then i guess don't print it
the upper level readme may all the end user actually wants to see
japhb dukeleto, and when the build scrolls the screen past, how does the user see the readme ...
dukeleto japhb: i am thinking about developers typing in the various "parrot setup.pir xxx" commands 23:59
23:59 tetragon joined
dukeleto japhb: i don't care if the readme scrolls by, i just want it printed out 23:59
japhb: it is very short