Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-01-31

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:09 japhb joined #perl6
00:22 jebix joined #perl6
00:29 cmarcelo joined #perl6
00:42 wknight8111 joined #perl6
01:03 Schwern joined #perl6
01:07 jebix left #perl6
01:08 cnhackTNT joined #perl6
02:31 japhb joined #perl6
02:36 silug joined #perl6
02:39 namelessuser joined #perl6
03:06 Schwern joined #perl6
03:14 dmq joined #perl6
03:27 jjore joined #perl6
03:57 khisanth_ joined #perl6
04:23 REPLeffect joined #perl6
05:04 pugs_svn r19770 | rhr++ | [Unicode.pm] AnyChar, Byte, Codepoint
05:04 pugs_svn r19770 | rhr++ | make codepoint level "universal" per S02, respect $?NF
05:12 monomorph joined #perl6
05:19 alester joined #perl6
05:40 iblechbot joined #perl6
05:43 monomorph joined #perl6
05:43 Aankhen`` joined #perl6
05:54 chacha_chaudhry joined #perl6
05:58 penk joined #perl6
06:29 devogon joined #perl6
06:38 pugs_svn r19771 | rhr++ | [Unicode.pm] StrPos, StrLen, substr
06:54 IRSeekBot joined #perl6
07:05 jisom joined #perl6
07:09 barney joined #perl6
07:13 orafu joined #perl6
07:35 viklund joined #perl6
07:58 cxreg joined #perl6
08:14 kane_ joined #perl6
08:16 Psyche^ joined #perl6
08:19 cosimo joined #perl6
08:21 Auzon joined #perl6
08:53 agentzh left #perl6
09:20 riffraff joined #perl6
09:20 riffraff hi
09:28 moritz_ hi riffraff ;)
09:30 cosimo hi
09:50 wknight-away joined #perl6
09:52 viklund joined #perl6
10:04 zamolxes joined #perl6
10:07 hanekomu joined #perl6
10:22 jisom_ joined #perl6
10:53 ebassi joined #perl6
11:03 njbartlett joined #perl6
11:20 alester joined #perl6
11:26 pugs_svn r19772 | ruoso++ | [smop] Had I said YAY? No... I should say YYYYYYYYYAAAAAAAAAAAAAYYYYYYYYYYYY!!!! test/02_stack.t already runs code written in sm0p code.
11:30 ruoso test/02_stack.t leaks 82 objects :)
11:30 ruoso good to know the lowlevel mem trace works :)
11:30 moritz_ but at least you know it ;)
11:38 pugs_svn r19773 | ruoso++ | [smop] marking a new version, once that the sm0p preprocessor seems to be just fine...
11:46 njbartlett joined #perl6
11:49 spinclad smop++!!
11:50 spinclad hurrah and huzzah!
11:52 moritz_ .oO( can I integrate sm0p into the evalbot? )
11:54 spinclad .oO ( sure tho it may be a fair few releases before it can take any notice )
11:58 ruoso moritz_, at least until there is some more types implented it would be a little pointless..
11:59 ruoso there's no much thing you can do with int and bool ;)
12:03 spinclad well, with lambda for continuations and bools for true = -> ($x, $y) { $x } and false = -> ($x, $y) { $y }, you can go quite a way
12:04 spinclad no i/o though, that could make it hard
12:19 ruoso spinclad, I still don't have a Code type
12:19 ruoso :)
12:28 alester joined #perl6
12:31 cognominal_ joined #perl6
12:34 iblechbot joined #perl6
12:34 jferrero joined #perl6
12:55 Psyche^ joined #perl6
13:03 buubot joined #perl6
13:14 njbartlett joined #perl6
13:24 cmarcelo joined #perl6
13:26 alester joined #perl6
13:35 pugs_svn r19774 | moritz++ | [evalbot] fixed rakudo execution in 'perl6:' target
13:35 exp_evalbot joined #perl6
13:35 moritz_ perl6: say("hi");
13:35 exp_evalbot kp6: OUTPUT[hi␤]
13:35 exp_evalbot ..pugs: OUTPUT[hi␤]
13:35 exp_evalbot ..rakudo: No output (you need to produce output to STDOUT)
13:36 moritz_ I don't get it
13:36 moritz_ bbl&
13:38 ebassi joined #perl6
13:43 smtms joined #perl6
14:08 alester joined #perl6
14:52 exp_evalbot joined #perl6
14:53 moritz_ perl6: say "hi";
14:53 exp_evalbot kp6: OUTPUT[hi␤]
14:53 exp_evalbot ..pugs: OUTPUT[hi␤]
14:53 exp_evalbot ..rakudo: OUTPUT[hi␤]
14:54 [particle] seems to be working, what was the trick?
14:55 moritz_ to restart the evalbot *after* svn up'ping
14:55 [particle] heh
15:05 njbartlett joined #perl6
15:08 Schwern joined #perl6
15:10 orafu joined #perl6
15:17 sri_work joined #perl6
15:17 njbartlett joined #perl6
15:18 Aankhen`` joined #perl6
15:24 rdice joined #perl6
15:36 alester joined #perl6
15:38 cyberpass joined #perl6
15:52 BinGOs_ joined #perl6
16:05 justatheory joined #perl6
16:17 chris2 joined #perl6
16:19 Psyche^ joined #perl6
16:29 BinGOs joined #perl6
16:43 marmic joined #perl6
16:46 jjore joined #perl6
16:47 manfred joined #perl6
16:50 blindfish joined #perl6
17:15 eviltwin_b joined #perl6
17:35 ruoso I was thinking better about the autoboxing...
17:35 ruoso considering $continuation.has_next()
17:35 ruoso this method should return true or false,
17:36 mofino can it punch you if you use it incorrectly?
17:36 ruoso that's the point... how should I deal with it?
17:36 mofino I don't know of any autoboxing devices
17:37 ruoso in theory it can return something that is not a proper Bool value
17:37 mofino (I have no idea what you are talking about)
17:37 mofino :)
17:38 ruoso in the lowlevel implementation, when I call $continuation.has_next() it returns a SMOP__Object*
17:38 mofino ok
17:38 ruoso should I take additional checking steps?
17:39 [particle] does SMOP__Object have a .true() method?
17:39 ruoso SMOP__Object* doesn't have any method... it have only MESSAGE
17:39 allbery_b joined #perl6
17:40 * mofino backs away slowly
17:41 ruoso the methods are implemented inside the message call
17:41 ruoso the way the responder interface decides to
17:41 [particle] where is SMOP__Object defined?
17:41 ruoso include/smop_base.h
17:41 ebassi joined #perl6
17:42 ruoso the thing is how do I make the autoboxing?
17:42 mofino autoboxing?
17:43 ruoso my bool $a = $obj.Bool;
17:43 mofino ...
17:43 ruoso bool is a native type... native types are the only ones I know the C lowlevel struct for
17:43 mofino forces $a to be a bool?
17:44 ruoso all others I only know how to call its responder interface
17:44 mofino or rather, predefines $a to be a bool?
17:44 mofino ok
17:44 ruoso mofino, I'm talking in much lower level
17:44 mofino right
17:45 ruoso what makes it really complicated is the stackless thing...
17:45 mofino you mean this isn't complicated in itself?
17:45 mofino could've fooled me
17:46 ruoso because I need to be able to autobox from the high-level object to the native type without recursing
17:47 mofino I see... I think.
17:48 ruoso because the code that runs the interpreter needs to autobox the return of the $continuation.has_next() call to the native bool
17:48 ruoso so it can decide if it will run the next operation
17:50 ruoso one thing I can do is to force the signature of this low-level methods to return the native bool and fail otherwise
17:50 ruoso hmmm
17:50 [particle] that's i think what i was getting at with the .true() comment
17:50 ruoso hmmm
17:51 ruoso [particle]++
17:52 jjore joined #perl6
17:53 OuLouFu joined #perl6
17:55 REPLeffect joined #perl6
18:16 DarkWolf84 joined #perl6
18:37 macroron joined #perl6
18:37 Jamtech joined #perl6
18:40 macroron joined #perl6
18:40 macroron joined #perl6
18:43 cj anyone have a link to an article on fail-soft exceptions?
18:43 IllvilJa joined #perl6
18:45 barney joined #perl6
18:55 ruoso :) :) :) :) I've just saw a DESTROYALL being called from within the garbage collector :) :) :)
18:55 ruoso using CPS
18:55 ruoso :) :) :)
18:57 TimToady :)++
19:06 pugs_svn r19775 | lwall++ | [STD] listops are technically terms, not prefixes
19:17 jisom joined #perl6
19:18 cosimo joined #perl6
19:20 pbuetow joined #perl6
19:31 [particle1 joined #perl6
19:35 mofino heh
19:48 rdice_ joined #perl6
19:51 alester joined #perl6
19:53 iblechbot joined #perl6
19:58 pugs_svn r19776 | ruoso++ | [smop] Getting better and better... the garbage collection code is already being called using CPS, but it is still segfaulting at some point.
20:03 ruoso actually... it's not the CPS code that is segfaulting...
20:03 ruoso it's the code after that...
20:04 ruoso CPS DESTOYALL is doing just fine...
20:04 ruoso home &
20:10 shlomif joined #perl6
20:23 Lorn_ joined #perl6
20:39 cj http://wp.colliertech.org/cj/?p=175
20:39 lambdabot Title: The Pædantic Programmer � Blog Archive � Perl 6 on the CLI via DLR; A summary
20:40 cj I'm building .deb packages of the DLR, so you debian folks in the audience should have an easier time of contributing, if you're interested.
20:40 cj anyway, I've got /work/ work I need to get to... after lunch.
20:54 pbuetow joined #perl6
20:58 wolverian cj++ # nice
21:08 thoughtpolice joined #perl6
21:21 ebassi joined #perl6
21:26 zev joined #perl6
21:30 meppl joined #perl6
21:36 [particle1 joined #perl6
21:37 gbacon joined #perl6
21:43 pugs_svn r19777 | rhr++ | [Unicode.pm] allow writing to substrs at a different unicode level than the substr call
22:02 Schwern joined #perl6
22:05 rakudo_svn r25388 | jonathan++ | [perl6] Fix breakages to attributes.
22:08 marmic joined #perl6
22:11 Limbic_Region joined #perl6
22:22 jeffreykegler joined #perl6
22:23 rakudo_svn r25389 | particle++ | [rakudo] added perl6doc
22:23 rakudo_svn r25389 | particle++ | this is a working partial implementation of perl6doc,
22:23 rakudo_svn r25389 | particle++ | intended as a beginning for anyone who wants to hack the pod grammar
22:23 rakudo_svn r25389 | particle++ |
22:23 rakudo_svn r25389 | particle++ | svn up && cd languages/perl6 && make Makefile && cd src/utils && make perl6doc(.exe)?
22:30 moritz_ "make Makefile"?
22:30 moritz_ either "make" or "make -f Makefile"
23:01 pugs_svn r19778 | rhr++ | [Unicode.pm] make samebase use a consistent unicode level
23:01 meppl joined #perl6
23:04 rhr_ TimToady: can we have :nf<xx> and :enc<xx> regex modifiers to go along with :codes etc.? e.g. token :codes :nf<d> {...}
23:05 moritz_ why not :codes<nfd> and :bytes<utf-8>?
23:05 TimToady :bytes would also need to know normalization
23:05 rhr_ bytes needs nf also
23:06 moritz_ right
23:06 TimToady though I suppose one could make a case for :bytes<nfd utf-8>
23:07 TimToady or vice versa
23:08 TimToady but I don't see a strong argument either way for bundling/unbundling
23:08 rhr_ me either
23:08 TimToady bundling associates it more clearly in people's minds
23:09 TimToady and I don't know that :enc makes any sense without :bytes
23:09 moritz_ same with :nf<d> without :codes
23:09 TimToady (or :bytes)
23:10 TimToady on the other hand it could be viewed as setting a lexical default
23:10 rhr_ it seems unlikely you'd want a particular nf but not care about codes/bytes
23:10 TimToady "whenever I say :codes below I mean :nf<d>"
23:11 TimToady I dunno, whichever way we do it will be wrong :)
23:11 moritz_ allow all ways? ;-)
23:11 moritz_ in good perl tradition
23:12 TimToady well, in perl tradition, anyway...
23:12 moritz_ pugs: my @arr = <ab cd>; my $scalar = @arr; say $scalar.perl
23:12 exp_evalbot OUTPUT[["ab", "cd"]␤]
23:12 rakudo_svn r25390 | jonathan++ | [rakudo] Attributes should always be named $!foo when actually stored, so implement this. If it's declared $x, make $x an alias to $!x. This should be somewhat more in line with S12.
23:12 moritz_ pugs: my @arr = <ab cd>; my $scalar = @arr; say (+$scalar).perl
23:12 exp_evalbot OUTPUT[2␤]
23:21 sheepmullet joined #perl6
23:21 gbacon joined #perl6
23:22 rhr_ S02:702 has the example substr($string, 42.as(Bytes), 1.as(ArabicChars)) how can 42.as(Bytes) know to create a StrPos (as opposed to StrLen) object associated with $string?
23:22 rhr_ should there be a substr variant that takes two StrLens?
23:22 gbacon joined #perl6
23:24 rakudo_svn r25391 | jonathan++ | [rakudo] Start to handle nested classes. We don't get the nested namespaces right yet, but at least attributes and methods get associated with the correct class now.
23:26 jferrero joined #perl6
23:27 pugs_svn r19779 | cosimo++ | [t] Test suite refactoring.
23:27 pugs_svn r19779 | cosimo++ | Moved various builtins/io under t/spec/S16-fh.
23:28 pugs_svn r19779 | cosimo++ | Fixed pod syntax.
23:28 pugs_svn r19779 | cosimo++ | Added S16 smartlinks.
23:30 mncharity joined #perl6
23:30 mncharity
23:30 lambdabot mncharity: You have 1 new message. '/msg lambdabot @messages' to read it.
23:31 pugs_svn r19780 | cosimo++ | [t] Moved and smartlinked `connect' builtin tests (t/spec/S16-fh)
23:31 cosimo_ joined #perl6
23:33 ManarD- joined #perl6
23:33 mncharity TimToady: thanks
23:37 cosimo_ hi!
23:37 mncharity hmm.  that different grammar rules might or might not wish the grammar to have been .new()ed...  hmm.  maybe it's time to make kp6-ruby more true to the p6 prototype-like oo semantics.  or maybe that's mission creep for kp6 bootstrap (kp6 does non-instance rules... I don't think it does instance rules(?)).
23:37 mncharity but that's a puzzle for later.  bbl &
23:38 mncharity cosimo_: hello :)
23:38 mncharity (I'm just now disappearing) &
23:40 cosimo_ anyone in channel, I'm refactoring S16 tests. I created also "S16-unfiled". Is that ok for now?
23:41 pugs_svn r19781 | cosimo++ | [t] Moved slurp tests under t/spec/S16-unfiled
23:41 pugs_svn r19781 | cosimo++ | Added smartlink to S16/Unfiled/IO.slurp
23:44 jjore-w left #perl6
23:45 pugs_svn r19782 | cosimo++ | [t] Refactored IO.getpeername tests under t/spec/S16-unfiled.
23:45 pugs_svn r19782 | cosimo++ | Added smartlink to S16
23:47 Psyche^ joined #perl6
23:48 cosimo_ ok... got it. :-)
23:55 pugs_svn r19783 | rhr++ | [Unicode.pm] more StrPos/StrLen arithmetic

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

Perl 6 | Reference Documentation | Rakudo