Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-01-15

Perl 6 | Reference Documentation | Rakudo

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

All times shown according to UTC.

Time Nick Message
00:00 TimToady we should call our preprocessor "fudge"
00:01 * japhb_ mightily resists the urge to go back into free-association mode on codenames for the preprocessor
00:02 TimToady you write it, you can name it. :)
00:02 cosimo I should assume that things like: "#?pugs: todo($reason,1)" are not going to work. Correct?
00:02 [particle] cosimo: can you expand on what you mean by "not going to work"?
00:03 japhb_ TimToady: I've already got my hands full with one Perl 6/Parrot project ... I can only shave so many yaks at once.  :-)
00:03 TimToady they'll jus tlook like comments to Perl currently
00:03 TimToady to pugs that is
00:03 TimToady and the test will fail anyway...
00:04 cosimo Look here http://svn.pugscode.org/pu​gs/t/spec/S29-str/split.t
00:04 cosimo There's `:todo<$todo>'
00:04 cosimo Does this make sense with the new directives
00:04 cosimo ?
00:05 [particle] yes, it makes sense. the term following the directive is executed at runtime
00:06 [particle] so $todo will work
00:06 cosimo I see. thanks!
00:06 TimToady it's using it as a boolean to mark the test as todo
00:06 TimToady at runtime
00:06 TimToady which we can perhaps continue to support
00:07 cosimo isn't `$todo' the reason for marking test as todo?
00:07 TimToady except then it's not platform independent
00:07 TimToady default is 0, which presumably doesn't mark it todo
00:08 * cosimo seem to recall that :todo worked the other way around...
00:09 cosimo like :todo(n_of_tests, reason)
00:09 cosimo probably...
00:09 TimToady the old flag just applied to the current is() or ok(), so no count needed
00:09 Andy_ joined #perl6
00:10 TimToady if #?pugs: todo sets a $*TODO counter, the sub probably needs to pay attention to that instead of having a $todo parameter
00:10 cosimo I'm confused now...
00:12 cosimo Idea: drop the $todo flag in the sub, and put the #?pugs: todo() directive on the line before the call to `split_test'
00:13 cosimo even if $todo = 0
00:13 cosimo which makes me think it was a fast and easy way to make that test todo or not
00:13 TimToady indeed, it's called only once, so just assume someone will put #?foo: todo in front of the call
00:14 TimToady if they need to mark it todo
00:14 TimToady or, in worst case, put a bare block around the call
00:15 TimToady so just drop the $todo parameter, yes
00:15 cosimo ok
00:17 pugs_svn r19489 | cosimo++ | Removed the $todo flag (was disabled anyway). If needed, we will add a '#?perl6: todo' marker
00:18 Limbic_Region joined #perl6
00:19 cosimo left #perl6
00:20 thoughtp1lice joined #perl6
00:27 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:28 Auzon joined #perl6
00:29 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 pugs_svn 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:35 pjcj joined #perl6
00:35 Southen joined #perl6
00:35 Southen_ joined #perl6
00:36 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:37 ruoso if anyone jumps in and help writing the test code for the lowlevel :P
00:46 pugs_svn r19493 | ruoso++ | [smop] some more comments in the 01_smop_lowlevel.c test
00:47 ruoso sleep &
00:47 Auzon Good night ;)
00:54 meppl good night
01:10 lyokato_ joined #perl6
01:15 cnhackTNT joined #perl6
01:37 Jedai joined #perl6
01:44 jferrero joined #perl6
02:07 Caelum joined #perl6
02:20 wknight8111 joined #perl6
02:31 agentzh left #perl6
02:43 Southen_ joined #perl6
02:43 Southen joined #perl6
03:01 gongyiliao joined #perl6
03:03 agentzh joined #perl6
03:15 penk joined #perl6
03:27 Torment joined #perl6
03:38 BillR joined #perl6
03:39 BillR left #perl6
04:01 takanori joined #perl6
04:01 jjore joined #perl6
04:13 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:14 spinclad s/[hold .*:]//  # oops
04:38 nishanth joined #perl6
04:52 diakopter TimToady: 'is the just the' in Functions.pod
05:02 TimToady it's in pugs repo, so you can fix it.  :)
05:13 Aankhen`` joined #perl6
05:23 bsb joined #perl6
05:59 alc joined #perl6
06:07 WAR-GOD joined #perl6
06:37 gongyiliao left #perl6
06:37 kanru joined #perl6
06:47 shachaf joined #perl6
06:57 penk joined #perl6
06:57 mncharity joined #perl6
07:07 cosimo joined #perl6
07:17 cosimo left #perl6
07:21 jisom joined #perl6
07:33 devogon joined #perl6
07:36 cnhackTNT joined #perl6
07:44 sachu joined #perl6
07:51 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 http://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:51 lambdabot Title: Pugs - Trac
07:51 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?
07:52 moritz_ sachu: the bug list is the list of failing test cases
07:52 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:52 moritz_ sachu: run "make smoke" and then look at smoke.html
07:53 sachu moritz_,allbery_b: thanks. Does this mean that there is not much to be done right now in pugs?
07:54 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
07:54 moritz_ sachu: it means that you are free to do whatever you want with pugs
07:54 moritz_ ;-)
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?
07:58 allbery_b check the haskell.org wiki
07:58 allbery_b off the top of my head, darcs
07:59 sachu thanks
08:00 aindilis joined #perl6
08:04 sachu allbery_b: what happened to audreyt? is she ok now?
08:05 moritz_ sachu: she has to live a life with much stress, which implies less to no pugs hacking
08:05 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
08:07 sachu ok
08:08 allbery_b (before she got ill, it was like she never slept or rested...)
08:08 allbery_b 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:09 allbery_b happened to me just over 10 years ago, since then haven't had anything like the energy or resilience I originally had
08:09 sachu (and nobody has taken over that mantle yet?)
08:09 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)
08:10 allbery_b too much of it was in audrey's head, I think
08:10 masak joined #perl6
08:10 sachu hmmm...
08:10 allbery_b or possibly on her laptop and now stuck there
08:12 allbery_b 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:12 allbery_b 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:14 allbery_b (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:18 iblechbot joined #perl6
08:20 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:20 * allbery_b is multitasking, sorry
08:21 cosimo joined #perl6
08:27 chacha_chaudhry joined #perl6
08:39 nothingmuch joined #perl6
09:12 jferrero joined #perl6
09:17 braceta joined #perl6
09:25 mmorrow joined #perl6
09:26 mmorrow hey, i just darcs got the pugs repo, and noticed that the last recorded patch is from may 2007.
09:26 mmorrow so the darcs repo isn't up to date, then?
09:27 Southen joined #perl6
09:27 allbery_b may 2007?  sounds like you hit the old one
09:28 mmorrow yeah
09:28 mmorrow where's the newbie
09:28 mmorrow ?
09:28 mmorrow i got from http://darcs.pugscode.org/
09:28 lambdabot Title: Index of /
09:29 allbery_b oh.  it's not in darcs, it's in svn
09:29 mmorrow ahh
09:29 mmorrow thanks
09:29 allbery_b http://svn.pugscode.org/pugs
09:29 lambdabot Title: Revision 19493: /
09:31 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:32 mmorrow ha. i first got without the --partial flag...15000+ patches
09:32 allbery_b yep
09:32 allbery_b gets painful when it goes to reconcile them all :)
09:33 mmorrow sounds like fun to me!
09:37 Southen joined #perl6
09:39 pen1 joined #perl6
09:39 qmole_ joined #perl6
09:39 qmole__ joined #perl6
09:44 pen2 joined #perl6
09:53 Southen joined #perl6
10:45 chris2 joined #perl6
10:57 lyokato_ joined #perl6
10:59 wknight-away joined #perl6
11:07 falesca joined #perl6
11:12 jferrero joined #perl6
11:52 Alias_ joined #perl6
11:55 Botje joined #perl6
11:57 polettix joined #perl6
12:21 ebassi joined #perl6
12:41 Southen joined #perl6
12:44 cmarcelo joined #perl6
12:51 kanru joined #perl6
12:53 wknight-away joined #perl6
12:54 lorn joined #perl6
12:55 polettix joined #perl6
13:06 njbartlett_ joined #perl6
13:10 lorn joined #perl6
13:12 iblechbot joined #perl6
13:32 ispy_ joined #perl6
14:29 skids joined #perl6
14:31 [particle] joined #perl6
14:35 njbartlett_ joined #perl6
14:41 pjcj joined #perl6
14:43 manfred joined #perl6
14:43 jhorwitz joined #perl6
14:55 rdice joined #perl6
15:09 meppuru joined #perl6
15:15 TJCRI joined #perl6
15:38 kanru joined #perl6
16:23 [particle] joined #perl6
16:28 jferrero joined #perl6
16:28 icwiener joined #perl6
16:30 blindfish joined #perl6
16:37 barney joined #perl6
17:18 njbartlett_ joined #perl6
17:20 justatheory joined #perl6
17:25 pdcawley joined #perl6
17:40 IllvilJa joined #perl6
17:45 justatheory_ joined #perl6
17:48 meppuru joined #perl6
17:51 blindfish joined #perl6
17:58 njbartlett_ joined #perl6
18:04 [particle] joined #perl6
18:26 jjore joined #perl6
18:45 jjore joined #perl6
18:47 DarkWolf84 joined #perl6
18:49 icwiener joined #perl6
19:03 icwiener joined #perl6
19:04 icwiener joined #perl6
19:06 icwiener joined #perl6
19:07 meppuru good night
19:37 rindolf joined #perl6
19:42 ruoso joined #perl6
20:32 pjcj_ joined #perl6
21:06 pugs_svn r19494 | cosimo++ | Converted quotemeta.t to unix format (?)
21:07 justatheory joined #perl6
21:07 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:07 lambdabot Consider it noted.
21:10 pugs_svn r19495 | cosimo++ | Converted some *.t scripts to unix format (?)
21:20 Blasi joined #perl6
21:32 rindolf joined #perl6
21:32 chris2__ joined #perl6
21:32 chris2 joined #perl6
21:34 wknight-away is there an svn for perl 6? I just checked out the parrot trunk and perl 6 isn't in there
21:34 moritz_ wknight-away: it's in languages/perl6/
21:35 wknight-away i just checked out and there is no /languages subfolder
21:36 moritz_ which repo URL are you using?
21:36 moritz_ https://svn.perl.org/parrot/trunk/languages/perl6/
21:36 lambdabot Title: Revision 24891: /trunk/languages/perl6
21:37 wknight8111 https://svn.perl.org/parrot/trunk <-- what I used
21:37 lambdabot Title: Revision 24891: /trunk
21:37 moritz_ that's what I use, and there's a languages/ folder in there
21:38 wknight8111 Okay, i see it when i browse. I'll try to update or something. Thanks
21:38 moritz_ I mean I use the same as you do
21:38 moritz_ yw
21:56 marmic joined #perl6
22:28 Schwern joined #perl6
22:39 ashleyb joined #perl6
22:49 _ccc joined #perl6
22:49 jferrero joined #perl6
22:50 _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:50 moritz_ I think a bug in pugs
22:51 moritz_ pugs: for <a b c> Z <1 2 3> -> $a, $b {say $a, ": ", $b }
22:51 exp_evalbot OUTPUT[a1: b2␤c3: ␤]
22:51 moritz_ pugs: for <a 1 b 2 c 3> -> $a, $b {say $a, ": ", $b }
22:51 exp_evalbot OUTPUT[a: 1␤b: 2␤c: 3␤]
22:52 cmarcelo joined #perl6
22:52 moritz_ so it seems infix:<Z> doesn't work as expected either
22:52 _ccc not flattening
22:52 moritz_ pugs: <a b> Z <1 2>
22:52 exp_evalbot RESULT[(("a", "1"), ("b", "2"))]
22:52 moritz_ aye
22:53 _ccc pugs: eager(<a b> Z <c d>)
22:53 exp_evalbot OUTPUT[*** ␤    Unexpected "Z"␤    expecting operator, ":" or ")"␤    at /tmp/kQT77uftyy line 1, column 13␤]
22:53 moritz_ _ccc: I think the "slice" context changes where introduced after audreyt got thick
22:53 moritz_ pugs: my $a = lazy { say "foo"; }; say "bar";
22:53 exp_evalbot OUTPUT[bar␤]
22:53 moritz_ so lazy works, eager doesn't
22:54 moritz_ ironic, isn't it? ;-)
22:54 _ccc true
22:57 namit joined #perl6
23:07 polettix joined #perl6
23:08 cosimo joined #perl6
23:16 dduncan joined #perl6
23:16 dduncan left #perl6
23:19 pugs_svn r19496 | cosimo++ | Test suite refactoring.
23:19 pugs_svn r19496 | cosimo++ | unspecced/chop.t tests were already moved to t/spec/S29-str/chop.t.
23:26 pugs_svn r19497 | cosimo++ | Test suite refactoring.
23:26 pugs_svn r19497 | cosimo++ | Moved all array-related tests under S29 (t/spec/S29-array).
23:26 pugs_svn r19497 | cosimo++ | Changed 1 todo test with the new compiler directive.
23:26 pugs_svn r19497 | cosimo++ |  --Questa linea, e quelle sotto di essa, saranno ignorate--
23:26 pugs_svn r19497 | cosimo++ |
23:26 pugs_svn r19497 | cosimo++ | D    t/builtins/arrays/shift.t
23:26 pugs_svn r19497 | cosimo++ | D    t/builtins/arrays/pop.t
23:26 pugs_svn r19497 | cosimo++ | D    t/builtins/arrays/push.t
23:26 pugs_svn r19497 | cosimo++ | D    t/builtins/arrays/splice.t
23:26 pugs_svn r19497 | cosimo++ | D    t/builtins/arrays/unshift.t
23:26 pugs_svn r19497 | cosimo++ | A    t/spec/S29-array
23:26 pugs_svn r19497 | cosimo++ | A    t/spec/S29-array/shift.t
23:26 pugs_svn r19497 | cosimo++ | A    t/spec/S29-array/pop.t
23:26 pugs_svn r19497 | cosimo++ | A    t/spec/S29-array/push.t
23:26 pugs_svn r19497 | cosimo++ | A    t/spec/S29-array/splice.t
23:26 pugs_svn r19497 | cosimo++ | A    t/spec/S29-array/unshift.t
23:27 Limbic_Region joined #perl6
23:40 pugs_svn r19498 | cosimo++ | [t] Refactored delete() tests into S29-array and S29-hash
23:49 pugs_svn r19499 | cosimo++ | [t] Refactored `exists' builtin tests into S29-array and S29-hash
23:58 pugs_svn r19500 | cosimo++ | [t] Moved `exists' builtin tests under S29-array and S29-hash.
23:59 cosimo left #perl6

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

Perl 6 | Reference Documentation | Rakudo