pugscode.org/ | nopaste: sial.org/pbot/perl6 | ?eval [~] <m oo se> | We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: irc.pugscode.org/
Set by diakopter on 11 July 2007.
00:00 meppl joined
cosimo To anyone on these frequencies. Is it correct to mark todos as `#?pugs:' rather than `#?perl6:' ? 00:00
00:00 lambdabot left
[particle] yes, but pugs doesn't understand it yet 00:01
TimToady sure, if it's an old todo
00:01 lambdabot joined
TimToady pugs will be taught 00:01
with our fantastic new preprocessor
cosimo yes, I mean old ones that were already in the tests.
TimToady go ahead and change them
[particle] pugs is old & busted. <the implementation yet to be named> is the new hotness.
00:01 jferrero left
japhb_ TimToady: to bad we can't just pipe it through Tom anymore .... 00:02
TimToady it's a shell game
we should call our preprocessor "fudge" 00:03
japhb_ mightily resists the urge to go back into free-association mode on codenames for the preprocessor 00:04
TimToady you write it, you can name it. :)
cosimo I should assume that things like: "#?pugs: todo($reason,1)" are not going to work. Correct?
[particle] cosimo: can you expand on what you mean by "not going to work"? 00:05
japhb_ TimToady: I've already got my hands full with one Perl 6/Parrot project ... I can only shave so many yaks at once. :-)
TimToady they'll jus tlook like comments to Perl currently
to pugs that is 00:06
and the test will fail anyway...
cosimo Look here svn.pugscode.org/pugs/t/spec/S29-str/split.t
There's `:todo<$todo>' 00:07
Does this make sense with the new directives
?
[particle] yes, it makes sense. the term following the directive is executed at runtime 00:08
so $todo will work
cosimo I see. thanks!
TimToady it's using it as a boolean to mark the test as todo
at runtime 00:09
which we can perhaps continue to support
cosimo isn't `$todo' the reason for marking test as todo?
TimToady except then it's not platform independent
default is 0, which presumably doesn't mark it todo 00:10
cosimo seem to recall that :todo worked the other way around... 00:11
like :todo(n_of_tests, reason)
probably...
TimToady the old flag just applied to the current is() or ok(), so no count needed 00:12
00:12 Andy_ joined
TimToady if #?pugs: todo sets a $*TODO counter, the sub probably needs to pay attention to that instead of having a $todo parameter 00:12
cosimo I'm confused now... 00:13
Idea: drop the $todo flag in the sub, and put the #?pugs: todo() directive on the line before the call to `split_test' 00:15
even if $todo = 0
which makes me think it was a fast and easy way to make that test todo or not
TimToady indeed, it's called only once, so just assume someone will put #?foo: todo in front of the call 00:16
if they need to mark it todo
or, in worst case, put a bare block around the call 00:17
so just drop the $todo parameter, yes
cosimo ok
pugs_svn r19489 | cosimo++ | Removed the $todo flag (was disabled anyway). If needed, we will add a '#?perl6: todo' marker 00:20
00:21 Limbic_Region joined 00:22 cosimo left 00:23 thoughtp1lice joined, thoughtpolice left 00:24 thoughtp1lice is now known as thoughtpolice
pugs_svn r19490 | ruoso++ | [smop] SMOP__LOWLEVEL__OP__Free as an operator available to the high-level, as there can be a node referencing this call in the stack, in the CPS object destruction... 00:30
00:30 Auzon joined
pugs_svn r19491 | ruoso++ | [smop] changing the Perl 6 code snippet for the CPS object destruction to use the constants instead of bare identifiers 00:31
r19492 | ruoso++ | [smop] updating the Perl 6 snippet in the test... Everytime I start thinking about writing the lowlevel test I realise that something is missing. Lets hope this is the last time I realise it... 00:34
00:37 Southen left, pjcj left, pjcj joined, Southen joined, Southen_ joined
ruoso weird is that for the lowlevel I need the highlevel and for the highlevel I need the lowlevel... bootstrap is a confusing thing... (I hope I do find my way out...) 00:39
if anyone jumps in and help writing the test code for the lowlevel :P 00:40
00:43 jhorwitz left
pugs_svn r19493 | ruoso++ | [smop] some more comments in the 01_smop_lowlevel.c test 00:49
ruoso sleep &
Auzon Good night ;) 00:50
00:54 Southen left
meppl good night 00:57
00:59 ruoso left, meppl left 01:06 braceta left 01:12 lyokato_ joined 01:15 devogon left 01:18 cnhackTNT joined 01:25 nipotaway is now known as nipotan 01:32 jjore left 01:39 Jedai joined 01:47 jferrero joined 01:56 Torment left 02:07 Caelum left 02:09 Caelum joined 02:10 jferrero left 02:22 wknight8111 joined 02:34 agentzh left 02:45 Southen_ left, Southen_ joined 02:46 Southen joined 03:02 Southen_ left 03:03 Southen left 03:04 gongyiliao joined 03:06 agentzh joined 03:18 penk joined 03:29 Torment joined 03:40 BillR joined 03:42 BillR left 03:47 takanori_ left, Jedai left 04:04 takanori joined, jjore joined 04:13 Limbic_Region left
spinclad [hold for uplogging:] re ___STACK___: could this become C< $MY::STACK >, along with C< $CALLER::STACK >, C< $OUTER::STACK > (perhaps) and such? The MY:: and CALLER:: ones at least could be tools in CPS conversion, if i hit my guess. 04:16
s/[hold .*:]// # oops 04:17
04:36 nothingmuch left 04:40 nishanth joined 04:53 ChanServ sets mode: +o diakopter 04:54 diakopter sets mode: +o TimToady, diakopter sets mode: -o diakopter, wknight8111 left
diakopter TimToady: 'is the just the' in Functions.pod 04:55
TimToady it's in pugs repo, so you can fix it. :) 05:05
05:16 Aankhen`` joined 05:26 bsb joined 05:55 Auzon left 06:01 alc joined 06:02 kanru left 06:07 DarkWolf84 left 06:10 WAR-GOD joined 06:16 WAR-GOD left 06:17 thoughtpolice left 06:30 shachaf is now known as slbkbs 06:36 penk left 06:39 gongyiliao left 06:40 kanru joined 06:43 slbkbs is now known as shachaf 06:49 shachaf is now known as slbkbs 06:50 shachaf joined 06:52 slbkbs left 06:59 penk joined 07:00 mncharity left, mncharity joined 07:07 cnhackTNT left 07:09 cosimo joined 07:20 cosimo left 07:23 jisom joined 07:35 devogon joined 07:38 cnhackTNT joined 07:47 sachu joined
sachu Hi. I would like to start contributing to Pugs. I was looking around for bugs to try fixing. The list I could find, following the "All open tickets" link at dev.pugscode.org/wiki/ , is very small (27 entries) and looks like mostly like housekeeping issues. I would like something more "code-like" to work on -- part of the idea is that I will learn better Haskell and Perl in the effort... 07:53
lambdabot Title: Pugs - Trac
sachu ...to track down and fix the bug. Am I looking in the wrong place, or are there no hard-core bugs in Pugs? (I already have a committer Id). If the former, could you point me to the current bugs list?
moritz_ sachu: the bug list is the list of failing test cases 07:54
allbery_b pugs is kinda not being actively developed; it's somewhere in the middle of a massive overhaul audreyt was doingbefore she fell sick (adding the Meta-Object Protocol) 07:55
moritz_ sachu: run "make smoke" and then look at smoke.html
sachu moritz_,allbery_b: thanks. Does this mean that there is not much to be done right now in pugs? 07:56
allbery_b not in pugs per se. much of the actual development these days is in kp6 (also in the pugs tree), mostly in the lisp backend IIRC
moritz_ sachu: it means that you are free to do whatever you want with pugs 07:57
;-)
sachu (wondering what to do now!) thank you for the help. would you happen to know an opensource project that is being actively developed and uses Haskell? 08:00
allbery_b check the haskell.org wiki 08:01
off the top of my head, darcs
sachu thanks 08:02
08:03 aindilis left, aindilis joined
sachu allbery_b: what happened to audreyt? is she ok now? 08:07
moritz_ sachu: she has to live a life with much stress, which implies less to no pugs hacking
allbery_b she got hepatitis. she's recovered from that mostly but doctors have told her to live a low-stress lifestyle for a while to make sure it doesn't recur
sachu ok 08:10
allbery_b (before she got ill, it was like she never slept or rested...)
body can take only so much of that kind of abuse, then the reserves are gone and the $#!+ hits the fan, and you're never the same 08:11
happened to me just over 10 years ago, since then haven't had anything like the energy or resilience I originally had 08:12
sachu (and nobody has taken over that mantle yet?)
allbery_b (I got "walking bronchitis" instead of hepatitis: try to treat it, it'd switch lungs or be replaced by flu for a while)
too much of it was in audrey's head, I think
08:12 masak joined
sachu hmmm... 08:12
allbery_b or possibly on her laptop and now stuck there 08:13
in any case, some of the early decisions in pugs came back to haunt it (perl6 allows a wider range of identifier names than the parser in pugs can accept without a massive from-the-ground-up rewrite, for example) 08:14
so, while it was a useful starting point, it's probably not worth putting too much effort into unless you want to use what's there as an example but start from scratch 08:15
(pugs' big advantage was that haskell has awesome support for writing language interpreters/compilers, so it was relatively quick to make a working perl6 prototype. but being quick, not everything was thought through fully, like the parsing) 08:17
08:20 iblechbot joined
allbery_b and it did what it set out to do: by implementing a working perl6 prototype it kickstarted perl6 work which had gotten bogged down and was going nowhere 08:22
allbery_b is multitasking, sorry 08:23
08:24 cosimo joined, nishanth left 08:30 chacha_chaudhry joined 08:41 nothingmuch joined 08:50 chacha_chaudhry left 09:15 jferrero joined 09:20 braceta joined 09:28 mmorrow joined
mmorrow hey, i just darcs got the pugs repo, and noticed that the last recorded patch is from may 2007. 09:29
so the darcs repo isn't up to date, then?
09:29 Southen joined
allbery_b may 2007? sounds like you hit the old one 09:30
mmorrow yeah
where's the newbie
?
i got from darcs.pugscode.org/ 09:31
lambdabot Title: Index of /
allbery_b oh. it's not in darcs, it's in svn
mmorrow ahh
thanks
allbery_b svn.pugscode.org/pugs 09:32
lambdabot Title: Revision 19493: /
allbery_b (darcs doesn't handle large numbers of patches well. darcs2 is supposed to fix that but they're still working bugs and perofrmance issues out of it and it didn't exist at all when the darcs pugs repo was getting really slow) 09:34
mmorrow ha. i first got without the --partial flag...15000+ patches
allbery_b yep 09:35
gets painful when it goes to reconcile them all :)
mmorrow sounds like fun to me!
09:36 jferrero left 09:40 Southen left, qmole_ left, Southen joined 09:42 pen1 joined, qmole_ joined, qmole__ joined 09:43 Southen left 09:47 pen2 joined 09:49 qmole left 09:55 Southen joined 09:59 masak left 10:00 penk left 10:04 Southen left 10:05 pen1 left 10:13 stevan_ left 10:16 pen2 left 10:17 cnhackTNT left 10:22 sachu left 10:31 alc left 10:48 chris2 joined 10:59 lyokato_ left 11:00 lyokato_ joined, lyokato_ left 11:01 wknight-away joined 11:10 falesca joined 11:15 jferrero joined 11:26 iblechbot left 11:48 njbartlett_ left 11:51 polettix left 11:52 nipotan is now known as nipotaway 11:54 Botje left, jisom left 11:55 Alias_ joined 11:57 Botje joined 12:00 polettix joined 12:23 wknight-away left 12:24 ebassi joined 12:44 Southen joined 12:46 cmarcelo joined 12:53 kanru left, kanru joined 12:56 wknight-away joined, lorn joined 12:57 lorn is now known as Lorn 12:58 polettix left, polettix joined 13:00 chris2 left 13:04 Lorn left 13:09 njbartlett_ joined 13:13 lorn joined 13:15 iblechbot joined 13:30 skids left 13:33 jferrero left 13:34 njbartlett_ left 13:35 ispy_ joined 14:03 Andy_ left 14:24 [particle] left 14:32 skids joined 14:34 [particle] joined 14:38 njbartlett_ joined 14:44 pjcj left, pjcj joined 14:45 manfred joined 14:46 jhorwitz joined, njbartlett_ left 14:56 kanru left 14:57 rdice joined 15:12 meppuru joined 15:18 TJCRI joined, lorn is now known as Lorn 15:19 meppuru is now known as meppl 15:41 kanru joined 16:15 [particle] left 16:26 [particle] joined 16:30 jferrero joined 16:31 icwiener joined 16:33 blindfish joined 16:40 barney joined 16:55 blindfish left 17:20 njbartlett_ joined 17:22 jjore left, cosimo left, IllvilJa left 17:23 justatheory joined 17:28 pdcawley joined 17:31 njbartlett_ left 17:42 IllvilJa joined 17:48 meppl left, justatheory_ joined 17:49 justatheory left 17:51 meppuru joined 17:53 blindfish joined 17:54 blindfish left 17:56 cognominal_ left 18:01 njbartlett_ joined 18:02 [particle] left 18:07 [particle] joined 18:29 jjore joined 18:30 ebassi left 18:46 jjore left 18:48 jjore joined 18:50 DarkWolf84 joined 18:51 icwiener left, icwiener joined 19:05 icwiener left 19:06 icwiener joined, icwiener left, icwiener joined 19:07 icwiener left 19:08 icwiener joined
meppuru good night 19:09
19:11 meppuru is now known as meppl 19:12 meppl left 19:40 rindolf joined 19:45 ruoso joined 19:52 jferrero left 20:06 barney left 20:07 rdice left, ruoso left 20:12 rindolf left 20:35 pjcj_ joined 20:36 pjcj left
pugs_svn r19494 | cosimo++ | Converted quotemeta.t to unix format (?) 21:08
21:09 justatheory_ left, justatheory joined
moritz_ @tell cosimo the line endings of quotemeta.t looked fine before, and if they were wrong additional carriage returns shouldn't damage the markup like that 21:10
lambdabot Consider it noted.
pugs_svn r19495 | cosimo++ | Converted some *.t scripts to unix format (?) 21:12
21:19 Aankhen`` left 21:22 manfred left 21:23 Blasi joined 21:34 rindolf joined, chris2__ joined 21:35 chris2__ left, chris2 joined
wknight-away is there an svn for perl 6? I just checked out the parrot trunk and perl 6 isn't in there 21:37
moritz_ wknight-away: it's in languages/perl6/
wknight-away i just checked out and there is no /languages subfolder 21:38
21:38 wknight-away is now known as wknight8111
moritz_ which repo URL are you using? 21:38
svn.perl.org/parrot/trunk/languages/perl6/ 21:39
lambdabot Title: Revision 24891: /trunk/languages/perl6
wknight8111 svn.perl.org/parrot/trunk <-- what I used
lambdabot Title: Revision 24891: /trunk
moritz_ that's what I use, and there's a languages/ folder in there 21:40
wknight8111 Okay, i see it when i browse. I'll try to update or something. Thanks 21:41
moritz_ I mean I use the same as you do
yw
21:55 marmic left, jhorwitz left 21:57 justatheory left 21:59 marmic joined 22:06 ispy_ left 22:10 Lorn left 22:11 pdcawley left 22:30 cmarcelo left 22:31 Schwern joined 22:36 TJCRI left 22:39 rindolf left 22:42 ashleyb joined 22:51 _ccc joined 22:52 jferrero joined
_ccc for zip(@bar; @foo) -> $b, $f {...} doesn't work as advertised on runpugs - is this just a bug, or a change in zip or for 22:53
moritz_ I think a bug in pugs
pugs: for <a b c> Z <1 2 3> -> $a, $b {say $a, ": ", $b }
exp_evalbot OUTPUT[a1: b2ā¤c3: ā¤] 22:54
moritz_ pugs: for <a 1 b 2 c 3> -> $a, $b {say $a, ": ", $b }
exp_evalbot OUTPUT[a: 1ā¤b: 2ā¤c: 3ā¤]
22:54 cmarcelo joined
moritz_ so it seems infix:<Z> doesn't work as expected either 22:54
_ccc not flattening 22:55
moritz_ pugs: <a b> Z <1 2>
exp_evalbot RESULT[(("a", "1"), ("b", "2"))]
moritz_ aye
_ccc pugs: eager(<a b> Z <c d>)
exp_evalbot OUTPUT[*** ā¤ Unexpected "Z"ā¤ expecting operator, ":" or ")"ā¤ at /tmp/kQT77uftyy line 1, column 13ā¤]
moritz_ _ccc: I think the "slice" context changes where introduced after audreyt got thick
pugs: my $a = lazy { say "foo"; }; say "bar"; 22:56
exp_evalbot OUTPUT[barā¤]
moritz_ so lazy works, eager doesn't
ironic, isn't it? ;-)
_ccc true
22:59 namit joined 23:01 polettix left 23:04 icwiener left 23:05 _ccc left 23:09 polettix joined 23:11 cosimo joined 23:19 dduncan joined, dduncan left
pugs_svn r19496 | cosimo++ | Test suite refactoring. 23:22
r19496 | cosimo++ | unspecced/chop.t tests were already moved to t/spec/S29-str/chop.t.
r19497 | cosimo++ | Test suite refactoring. 23:29
r19497 | cosimo++ | Moved all array-related tests under S29 (t/spec/S29-array).
r19497 | cosimo++ | Changed 1 todo test with the new compiler directive.
r19497 | cosimo++ | --Questa linea, e quelle sotto di essa, saranno ignorate--
r19497 | cosimo++ |
r19497 | cosimo++ | D t/builtins/arrays/shift.t
r19497 | cosimo++ | D t/builtins/arrays/pop.t
r19497 | cosimo++ | D t/builtins/arrays/push.t
r19497 | cosimo++ | D t/builtins/arrays/splice.t
r19497 | cosimo++ | D t/builtins/arrays/unshift.t
r19497 | cosimo++ | A t/spec/S29-array
r19497 | cosimo++ | A t/spec/S29-array/shift.t
r19497 | cosimo++ | A t/spec/S29-array/pop.t
r19497 | cosimo++ | A t/spec/S29-array/push.t
r19497 | cosimo++ | A t/spec/S29-array/splice.t
r19497 | cosimo++ | A t/spec/S29-array/unshift.t
23:29 Limbic_Region joined 23:37 iblechbot left
pugs_svn r19498 | cosimo++ | [t] Refactored delete() tests into S29-array and S29-hash 23:43
r19499 | cosimo++ | [t] Refactored `exists' builtin tests into S29-array and S29-hash 23:52
23:53 skids left 23:58 jiing left, IllvilJa left