The topic for #perl6 is: pugscode.org/ planetsix.perl.org/ | nopaste: sial.org/pbot/perl6 | pugs: [~] <m oo se> (or rakudo:, kp6:, elf: etc.) (or perl6: for all) | irclog: irc.pugscode.org/
Set by TimToady on 25 November 2008.
thei0s a solution would be the old perl5 style: ${/<single><sth>} 00:00
[particle]1 thei0s: you can look at feather.perl6.nl/~azawawi/html/spec.../rx.t.html to see how STD.pm parses it 00:06
lambdabot Title: ../../t/spec/S05-mass/rx.t 00:07
[particle]1 it'll take me a while to load 7.2MB over my mobile phone
thei0s huh, you are on the net over a mobile?...
[particle]1 yes
getting an iv infusion atm in a hospital 00:09
sounds more dramatic than it is, though
thei0s yes, it sounds dramatic... :)
rakudo_svn r33469 | jonathan++ | [rakudo] Track changes in namespace/class symbol handling in Parrot in code to convert multis to Perl6MultiSub. 00:10
r33470 | jonathan++ | [rakudo] Implement some missing methods and add some documentation to the Perl6MultiSub PMC.
thei0s it looks like this is not covered
[particle]1 pmichaud: still around? 00:19
00:19 smg left
rakudo_svn r33471 | jonathan++ | [rakudo] Re-enable multi dispatch caching, tests continue passing. 00:20
00:32 elmex left
meppl gute nacht 00:34
00:36 meppl left 00:46 bacek joined 00:52 Limbic_Region left 00:55 thei0s left
pmichaud following the postcircumfix notion, $/<single> would likely parse as $<single> and not [$/]<single> 00:59
however, I think it'd be rare to want to match $/ in a regex, and as you can see, it's easy to use brackets to disambiguate.
rakudo_svn r33473 | jonathan++ | [rakudo] .perl for proto-objects. 01:00
r33474 | jonathan++ | [rakudo] First cut of .perl for Signature.
r33475 | jonathan++ | [rakudo] When we have an ambiguous dispatch, report the signatures of the candidates that were ambiguous.
pmichaud [particle]: I'm back. :-)
will have to leave again shortly.
jnthn: wouldn't .perl on a protoobject need to return its longname? 01:01
01:02 lambdabot left
jnthn pmichaud: Hmm. Yes. :-) 01:02
But we haven't done .WHERE yet, I don't think.
No
.WHO
[particle]1 pmichaud: i'm trying to figure the best tree to represent cmdline options 01:03
actually, right now i'm testing my grammar, which parses everything in S06 so far
don't know if it parses correctly, but it does parse
pmichaud I tend to think of cmdline options as array-like things and not tree-like things.
01:04 lambdabot joined
pmichaud unless, of course, you mean array of tree-like things :-) 01:04
[particle]1 well, i need to differentiate between options and resources 01:06
but still get them in order
rule arguments { [ $<argument>=[ <option> | <resource> ] ]* ... } 01:07
jnthn pmichaud: I've added a comment to the ticket for .WHO saying .perl for Proto Object should be updated when it's done.
[particle]1 is what i have now
that gives me in-order, and by-type arrays 01:08
pmichaud I'm not sure you can tell for each element if it's an option or a resource, though. 01:09
$<argument> will just be an array of text-like objects with no submatches.
have to run -- bbl 01:10
[particle]1 ok, i've modified to something better
thanks
01:14 DemoFreak joined
jnthn [particle]1: How's the S16 spec going? 01:18
.oO( I think it's S16... )
01:19
[particle]1 19
jnthn Ah. :-)
The one you're working on.
[particle]1 i'm writing tests for my grammar
jnthn Ah, OK. Code work. :-)
[particle]1 if i can keep a nice regression suite, i can make sure i haven't missed anything
jnthn Yes. 01:20
[particle]1 the grammar is still in progress, and will be the basis for my synopsis
it's code-first-speccing
jnthn Aha, good plan.
[particle]1 er, test-first-design?
anyway... :)
i'm agile like that.
01:23 alester_ joined
[particle]1 gotta run & 01:36
01:36 [particle]1 left 01:49 smg joined 01:50 bacek left 02:02 DemoFreak left 02:15 cognominal left 02:24 eternaleye joined 02:32 hercynium_ left 02:40 [particle]1 joined 02:54 sail0r joined 03:00 sail0r left 03:05 drbean left 03:06 drbean joined 03:08 cookys left, cookys joined 03:14 Psyche^ joined 03:18 stephens left 03:24 alester_ left 03:30 Patterner left, Psyche^ is now known as Patterner 03:31 ChrisDavaz joined 03:39 alc joined 04:04 wayland76 joined
wayland76 Well, I'm back, but my screen's only 800x600 (anyone else hate Xorg sometimes?) :) 04:05
Patterner I violate the spirit of linux and use a binary gfx driver. but I have 2048x1536. Har.Har.Har. 04:06
04:21 alester_ joined 04:23 ChrisDavaz left 04:34 pnu_ joined, pnu left 05:27 ChrisDavaz joined 05:35 drbean_ joined 05:36 drbean left
pugs_svn r24148 | hinrik++ | [util/perl6.vim] fix interpolated contextualizers, add more keywords, more todo items 05:37
05:40 xinming joined 05:55 xinming_ left 05:59 lambdabot left 06:00 justatheory joined 06:02 lambdabot joined 06:08 drbean joined 06:13 ab5tract_ joined, drbean__ joined, [particle]1 left 06:15 ab5tract_ left 06:16 ab5tract_ joined 06:17 drbean left, ab5tract_ left 06:18 drbean_ left 06:19 drbean__ left, drbean joined 06:25 drbean left 06:26 drbean joined 06:37 jrockway left, lisppaste3 left 06:38 jrockway joined
wayland76 Patterner: I installed the binary driver, and it locked up my whole computer when I tried to get both screens going :) 06:38
Patterner ouch 06:39
Evil ATI or Good Nvidia?
06:40 xinming_ joined 06:45 buubot left, buubot joined 06:48 alester_ left 06:49 drbean_ joined
literal damn you Perl 6 06:59
vim syntax highlighting of unicode stuff and unspace is quite impossible 07:00
:)
07:02 drbean left 07:04 xinming left 07:13 stephens joined, [particle]2 joined 07:14 apeiron left 07:16 adc_penner joined 07:31 [particle] left 07:34 stephens left 07:39 DemoFreak joined 08:08 adc_penner left 08:09 ashizawa joined 08:12 adc_penner joined
literal perl6: say "yay" if 1<3 08:16
p6eval elf 24148, pugs, rakudo 33477: OUTPUT[yay␤]
pugs_svn r24149 | hinrik++ | [util/perl6.vim] literal string fixes, support hyperoperators, keyword reorganization, more todo items 08:32
08:38 iblechbot joined
literal perl6: 050.perl 08:41
p6eval rakudo 33477: OUTPUT[Leading 0 does not indicate octal in Perl 6␤]
..pugs: RESULT["50"]
..elf 24149: RESULT["40"␤]
moritz_ rakudo: say 050
p6eval rakudo 33477: OUTPUT[Leading 0 does not indicate octal in Perl 6␤50␤]
moritz_ elf FAIL
literal very much so 08:42
08:42 drbean_ left, drbean joined
moritz_ rakudo's output didn't include the '50' due to a p6eval weirdness 08:42
perl6: print 050.perl 08:43
p6eval pugs: OUTPUT[50]
..rakudo 33477: OUTPUT[Leading 0 does not indicate octal in Perl 6␤50]
..elf 24149: OUTPUT[40]
literal perl6: say 1e2 08:47
p6eval elf 24149, pugs, rakudo 33477: OUTPUT[100␤]
literal perl6: say 1E1 08:49
p6eval elf 24149, pugs, rakudo 33477: OUTPUT[10␤]
literal perl6: say 1. 08:51
p6eval rakudo 33477: OUTPUT[Statement not terminated properly at line 1, near "."␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤]
..pugs: OUTPUT[*** ␤ Unexpected end of input␤ expecting ".", "\187", ">>", "=", "^", operator name, qualified identifier, variable name, "...", "--", "++", "i", array subscript, hash subscript or code subscript␤ at /tmp/X0aIBBAze0 line 1, column 7␤]
..elf 24149: OUTPUT[Parse error in: /tmp/p6CVKUYqSH␤panic at line 1 column 0 (pos 0): Can't understand next input--giving up␤WHERE: say 1.␤WHERE:/\<-- HERE␤ STD_red/prelude.rb:99:in `panic'␤ STD_red/std.rb:76:in `scan_unitstopper'␤ STD_red/std.rb:224:in `comp_unit'␤ STD_red/std.rb:210:in
..`_UNIT'...
moritz_ I think that's actually correct (that it's a parse error) 08:52
literal ok
08:55 nothingmuch left 08:58 bacek joined 09:07 zamolxes left, elmex joined 09:11 araujo left 09:13 kane_ joined 09:18 adc_penner left 09:23 jferrero joined
pugs_svn r24150 | hinrik++ | [util/perl6.vim] improved highlighting of numbers, <> quote, and variables 09:29
09:49 nothingmuch joined 09:50 DemoFreak left 09:55 thei0s joined 09:56 wayland76 left 10:15 alc left 10:20 smg left 10:22 nothingmuch left 10:46 zamolxes joined 10:55 smg joined 11:02 ChrisDavaz left 11:10 knollix_ru joined 11:17 knollix_ru left 11:28 smg left 11:42 masak joined 11:44 ChrisDavaz joined
bacek pugs: my ($a,$b,@c) = 1..5; say ~@c 11:51
p6eval pugs: OUTPUT[3␤]
bacek hmmm
pugs: my ($a,@b,$c) = 1..5; say ~@b 11:52
p6eval pugs: OUTPUT[2␤]
11:52 aindilis left 11:53 aindilis joined
bacek pugs: my ($a,@b,$c) = 1..5; say $c 11:54
p6eval pugs: OUTPUT[3␤]
bacek prefer to have $c eq 5...
masak bacek: how would @b know to take exactly three elements? 11:56
bacek masak: how [*-1] works?
masak what if there were two arrays, `my ($a, @b, $c, @d)`
bacek: I've been thinking about that too ([*-1]) 11:57
I honestly don't know.
bacek masak: good question :)
masak seems like magic to me
11:58 bsdperl left
bacek vote for postcircumfix:<?> 11:59
($a,@b,$c,@d) = 1..5; will produce @b ~~ (2,3,4) 12:00
($a,@b?,$c,@d) = 1..5; will produce @b ~~ (2) :) 12:01
masak postcircumfix ? in parameter lists already has other semantics.
12:07 Lorn joined
bacek pugs: grammar Foo { rule Token { \w+ }; rule ws { \s+| 'W'+ }; rule Tokens { <Token> <Token>}; }; say "foo WWW bar" ~~ Foo::Tokens 12:09
p6eval pugs: OUTPUT[*** No compatible multi variant found: "&Foo::Tokens"␤ at /tmp/DrOz8QlL3O line 1, column 97 - line 2, column 1␤]
bacek pugs: grammar Foo { rule Token { \w+ }; rule ws { \s+| 'W'+ }; rule Tokens { <Token> <Token>}; }; say "foo WWW bar" ~~ Foo
p6eval pugs: OUTPUT[␤]
bacek pugs: grammar Foo { rule Token { \w+ }; rule ws { \s+| 'W'+ }; rule TOP { <Token> <Token>}; }; say "foo WWW bar" ~~ Foo
p6eval pugs: OUTPUT[␤]
bacek pugs: grammar Foo { rule Token { \w+ }; rule ws { \s+| 'W'+ }; rule TOP { <Token> <Token>}; }; say "foo" ~~ Foo 12:10
p6eval pugs: OUTPUT[␤]
bacek pugs: grammar Foo { rule Token { \w+ }; rule ws { \s+| 'W'+ }; rule TOP { <Token> <Token>}; }; say ("foo" ~~ Foo).perl
p6eval pugs: OUTPUT[Bool::False␤]
bacek interesting...
masak bacek: it's not a good idea at this time to call a rule 'ws', methinks.
it's a bug in PGE.
bacek it's 'rule'
masak yes. so? 12:11
bacek masak: 'rule' should use 'ws' rule between tokens
But I agreed with 'bug in PGE' :)
s/d// 12:12
pugs: grammar Foo { rule Token { \w+ }; rule ws { [\s| 'W']+ }; rule TOP { <Token> <Token>}; }; say ("foo" ~~ Foo).perl 12:15
p6eval pugs: OUTPUT[Bool::False␤]
bacek pugs: grammar Foo { rule Token { \w+ }; rule ws { [\s| 'W']+ }; rule TOP { <Token>+}; }; say ("foo" ~~ Foo).perl
p6eval pugs: OUTPUT[Bool::False␤]
bacek it's... weird 12:16
perl6: grammar Foo { rule Token { \w+ }; rule ws { [\s| 'W']+ }; rule TOP { <Token>+}; }; say ("foo" ~~ Foo).perl
p6eval rakudo 33477: OUTPUT[maximum recursion depth exceeded␤current instr.: 'parrot;PGE;Match;new' pc 25 (compilers/pge/PGE/Match.pir:54)␤]
..pugs: OUTPUT[Bool::False␤]
..elf 24150: OUTPUT[Can't locate object method "cb__RegexDef" via package "EmitSimpleP5" at ./elf_f line 1612.␤]
12:27 jimmy__ joined
jimmy__ rakudo: grammar Foo { rule Token { \w+ }; rule ws { \s+| ''W''+ }; rule Tokens { <Token> <Token>}; }; say "foo WWW bar" ~~ Foo::Tokens; 12:27
p6eval rakudo 33477: OUTPUT[foo WWW ␤]
jimmy__ rakudo: grammar Foo { rule Token { \w+ }; rule ws { \s+| ''W''+ }; rule Tokens { <Token><.ws><Token>}; }; say "foo WWW bar" ~~ Foo::Tokens; 12:28
p6eval rakudo 33477: OUTPUT[foo WWW ␤]
jimmy__ rakudo: grammar Foo { rule Token { \w+ }; rule ws { \s+| ''W''+ }; rule Tokens { <Token><ws><Token>}; }; say "foo WWW bar" ~~ Foo::Tokens;
p6eval rakudo 33477: OUTPUT[foo WWW ␤]
jimmy__ rakudo: grammar Foo { rule Token { \w+ }; rule ws { \s+| ''W''+ }; rule Tokens { <Token> }; }; say "foo WWW bar" ~~ Foo::Tokens;
p6eval rakudo 33477: OUTPUT[foo ␤]
jimmy__ rakudo: grammar Foo { rule Token { \w+ }; rule ws { \s+| ''W''+ }; rule Tokens { <Token><ws> }; }; say "foo WWW bar" ~~ Foo::Tokens;
p6eval rakudo 33477: OUTPUT[foo ␤]
jimmy__ rakudo: grammar Foo { rule Token { \w+ }; rule ws { \s+| 'W'+ }; rule Tokens { <Token><ws> }; }; say "foo WWW bar" ~~ Foo::Tokens;
p6eval rakudo 33477: OUTPUT[foo ␤]
12:29 [particle] joined, [particle]1 joined
jimmy__ rakudo: grammar Foo { rule Token { \w+ }; rule ws { \s+| 'W'+ }; rule Tokens { <ws> }; }; say "foo WWW bar" ~~ Foo::Tokens; 12:29
p6eval rakudo 33477: OUTPUT[␤]
moritz_ rakudo: Grammar A { rule stuff { \d+ \d+}; token ws { 'A'+ } } say "3A4" ~~ A::stuff 12:31
p6eval rakudo 33477: OUTPUT[Statement not terminated properly at line 1, near "A { rule s"␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤]
moritz_ rakudo: Grammar A { rule stuff { \d+ \d+ }; token ws { 'A'+ } }; say "3A4" ~~ A::stuff
p6eval rakudo 33477: OUTPUT[Statement not terminated properly at line 1, near "A { rule s"␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤]
moritz_ rakudo: grammar A { rule stuff { \d+ \d+ }; token ws { 'A'+ } }; say "3A4" ~~ A::stuff
p6eval rakudo 33477: OUTPUT[␤]
12:31 ejs joined
moritz_ so overriding <ws> from rakudo doesn't work. 12:31
jimmy__ yes
12:33 [particle]2 left
masak ...and calling something 'ws' is not a good idea from the beginning, due to ticket number <mumble mumble>. 12:34
moritz_ masak: calling something 'text' is equally confusing, as you surely remember :-) 12:35
masak yes, that's the bug.
too bad, 'text' is a useful, common name
moritz_ rename that to ____pge__text__should__never__be__exposed, and nobody will ever find out with black box testing :-) 12:36
masak I've been thinking along similar thoughts. 12:38
but I'll leave that in pmichaud++'s competent hands.
12:58 smg joined
pmichaud the problem is that PGE confuses Match's .text with a grammar's .text 13:02
in the case of <ws>, the issue is that the thing that invokes a rule isn't creating the correct sort of Match object.
right now Match objects are intimately tied to grammars 13:04
(so that inheritance can work)
masak pmichaud: are you blocking on the spec in some regards? 13:05
jimmy__ <.ws> and <ws> are the same ?
pmichaud same rule, yes. <.ws> is non-capturing, <ws> is capturing.
masak jimmy__: the latter "captures" into $/, the former doesn't.
jimmy__ i saw. 13:06
13:06 ashizawa left
jimmy__ so, PGE should be improved ? 13:06
moritz_ I think it's the rakudo "bindings" to PGE 13:07
(but PGE also needs to be improved, it needs to handle longest-token-matching)
pmichaud the immediate issue is rakudo's interfacing with PGE
masak ...and Perl 6 closures.
pmichaud the next issue after that is that we don't have the official syntax for invoking a rule from a grammar 13:08
and the issue after that is that PGE needs to be improved to follow the spec (whatever it ends up being)
moritz_ and the spec might change a bit, if $/.tokens or some such will be incorporated
pmichaud (that could actually be a somewhat significant change) 13:13
13:15 apeiron joined
rakudo_svn r33478 | pmichaud++ | [rakudo]: spectest-progress.csv update: 227 files, 4703 passing, 0 failing 13:20
13:23 vixey joined
masak ($/.tokens)++ 13:32
13:33 jimmy__ left 13:37 [particle]1 left 13:42 [particle]1 joined 13:49 cognominal joined 13:50 cognominal left 13:53 cognominal joined 13:56 [particle]2 joined, [particle]3 joined 13:57 masak left 14:01 [particle] left 14:02 cdavaz joined 14:03 ChrisDavaz left 14:06 jferrero left 14:07 Lunchy left, Lunchy joined 14:08 Lunchy left 14:09 Lunchy joined 14:12 [particle]1 left 14:19 lisppaste3 joined 14:23 ejs1 joined 14:33 ejs left 14:36 jhorwitz joined 14:40 zamolxes left 14:41 zamolxes joined 14:49 hercynium joined 14:55 smg left
ruoso later & 15:00
15:00 ruoso left 15:04 ejs1 left 15:13 alester left, apeiron left 15:20 rindolf joined 15:21 apeiron joined 15:23 Exodist joined 15:24 masak joined 15:33 DemoFreak joined
masak rakudo: say "我想租一辆自行车。" 15:35
p6eval rakudo 33480: OUTPUT[我想租一辆自行车。␤]
masak impressive.
15:45 cdavaz left
masak rakudo: say "我想租一辆自行车。".chars 15:55
p6eval rakudo 33481: OUTPUT[9␤]
masak yup.
moritz_ didn't know that p6eval was that unicode safe :-) 15:57
masak no, it's a positive surprise :)
15:59 eternaleye left 16:05 stephens joined 16:06 ejs joined 16:09 [particle]2 left 16:17 thei0s1 joined 16:20 zamolxes_ joined 16:21 zamolxes left 16:23 thei0s1 left, thei0s1 joined 16:26 smg joined 16:29 rindolf left 16:33 thei0s left 16:52 zamolxes_ left, smg left
[particle]3 creativecommons.org/weblog/entry/11045 17:00
lambdabot Title: Non-Commercial study questionnaire - Creative Commons
17:00 [particle]3 is now known as [particle] 17:03 ejs left 17:09 ejs joined
masak [particle]: I agree with Stephen, the last to comment on that post. the 21% question is impossible to answer correctly. 17:12
[particle] i'm at 56% and sick of this survey already 17:15
masak I dropped it at 21%, but even before that I didn't like the alternatives. 17:16
[particle] agreed
i wonder how much of pugs's CGI.pm rakudo can parse now 17:17
and the other ext/ modules 17:18
it'd be a good test for STD.pm, too, i suppose
masak aye
[particle] masak: do you have highlighted November code yet?
masak [particle]: define 'highlighted November code'. 17:19
[particle] azawawi's script
run against November codebase
masak [particle]: haven't tried that, no.
what should I expect to find?
[particle] wonder if there's a way to plug in a highlight engine to SVN::Web etc 17:20
masak would be neat.
[particle]: but don't go revive CGI.pm before we can develop a decent Web.pm :) 17:21
masak has to go now
17:22 masak left 17:27 buu joined 17:28 ejs left 17:35 jan__ left 17:36 alester joined, DemoFreak left 17:37 jan_ joined 17:46 meppl joined 17:49 ejs joined 17:51 apeiron left 17:56 M8YCjC56g joined 17:58 M8YCjC56g left 17:59 diakopter joined 18:02 charsbar_ joined 18:04 diakopter left, diakopter joined 18:07 araujo joined 18:09 shachaf joined 18:20 schmalbe joined 18:21 apeiron joined 18:22 [particle]1 joined, [particle] left, smg joined, [particle]1 is now known as [particle] 18:27 diakopter left 18:29 diakopter joined 18:32 ejs left 18:34 sri_kraih joined 18:39 sri_kraih left 18:53 ryanc left 18:54 adc_penner joined
thepler rakudo: (undef === undef).say 18:55
p6eval rakudo 33482: OUTPUT[0␤]
rakudo_svn r33483 | bernhard++ | [codingstd] Fix some glitches: c_parens, tabs and trailing_space 19:10
PerlJam Are most of the perl6 modules that people have developed in the pugs repo? 19:15
moritz_ PerlJam: either there, or in the repo of the November wiki 19:16
19:17 ryanc joined 19:21 ejs joined 19:24 renormalist joined 19:26 [particle]1 joined 19:31 [particle] left 19:40 [particle] joined 19:46 Lorn left 19:48 schmalbe left 19:58 [particle]1 left
rakudo_svn r33487 | pmichaud++ | [rakudo]: Add inline PIR to Perl 6 subroutines. 20:10
20:10 mncharity joined
mncharity no coding yesterday. did see a fun talk - Saul Greenberg's Enhancing Creativity Through Toolkits crpit.com/confpapers/CRPITV28Greenberg.pdf www.google.com/url?sa=U&start=1...AYs-qQ8oGg 20:16
lambdabot Title: Enhancing Creativity with (Groupware) Toolkits
mncharity (I don't know that the web video matches the talk)
sigchi committee in town. lots'o talks. :) 20:17
rakudo_svn r33488 | moritz++ | [cage] trailing whitespace 20:20
mncharity cage? 20:21
moritz_ mncharity: cage cleaning for the bird
20:21 kane_ left
mncharity :) 20:22
20:31 Hinrik joined
Hinrik perl6: say 'a\\b\'' 20:31
p6eval pugs, rakudo 33489: OUTPUT[a\b'␤]
..elf 24150: OUTPUT[a\b\'␤]
moritz_ mncharity: do you haev a bug tracker for elf? ;-) 20:32
perl6: say 'a\\b\''.chars 20:33
p6eval pugs, rakudo 33489: OUTPUT[4␤]
..elf 24150: OUTPUT[5␤]
pugs_svn r24151 | moritz++ | [t/spec] add a quoting test by Hinrik++ 20:35
mncharity moritz_: ??? To report to the mncharity and TimToady of early Spring that some combination of STD and STD_red is being sloppy with strings? Known. Even at the time. Since then, the STD.pm string code has been rewritten, and STD_red is in maintenance-only mode, awaiting disposal. Since it turned out no one was interested in writing p6 prelude, elf has been about bootstrap, not bits and pieces. 20:43
So a bug tracker wouldn't help. They're for coordinating work among developers, or tracking details. No developers, and nothing to track just now. Just a clearly staked path to bootstrap, being walked slowly... 20:44
moritz_ mncharity: it seems you didn't notice the smiley ;-) 20:45
mncharity ;)
PerlJam moritz_: when you hit that close to a nerve, smileys don't help :)
mncharity I think it was an "elf FAIL" comment in the backlog seen a few minutes ago. :) 20:46
moritz_ sorry for that
not important for bootstrap, that one 20:47
mncharity oh, so very no problem. #re sorry
moritz_ mncharity: what's your plan right now? first bootstrap, then try to get more developers on board? or the other way round?
mncharity re string, STD_blue is giving a valid string parse, so modulo my having a very incomplete understanding of nibbles and quibbles and etcbibbles, escaping should be working in elfblue. 20:48
moritz_ lol # etcbibbles
20:50 ruoso joined
mncharity re plan, bootstrap and then developers. 20:50
ruoso Hello! 20:51
mncharity Though I'd welcome anyone working on prelude written in p6, either on elf or rakudo.
hi ruoso :)
ruoso hi mncharity
I must say I make mine your words
SMOP will need prelude written in Perl 6
also
mncharity, are you aware of v6/smop/src-s1p/*pm 20:52
?
mncharity there are bits of prelude scattered around. in pugs, elf, elsewhere(?). any thoughts on how to attract someone to work on prelude? 20:53
re aware, no, well, not sure, looking...
svn.pugscode.org/pugs/v6/smop/src-s1p/
lambdabot Title: pugs - Revision 24151: /v6/smop/src-s1p 20:54
ruoso mncharity, the src-s1p directory is my intended place for prelude in SMOP
20:56 sjwalters left
mncharity neat. the ClassHOW and Object code aren't things elf can handle any time soon. But once you start putting in things like pug's Prelude.pm, some of that should be elfable. 20:58
20:58 sjwalter joined
mncharity svn.pugscode.org/pugs/src/perl6/Prelude.pm 20:58
20:58 sjwalter left 20:59 bacek left
mncharity elf currently has svn.pugscode.org/pugs/misc/elf/elf_...Prelude.pm svn.pugscode.org/pugs/misc/elf/elf_...tivesP5.pm svn.pugscode.org/pugs/misc/elfish/o...vesSBCL.pm 21:00
there's various other stuff scattered around. I'm not sure how much of it is worth salvaging, if any.
21:00 eternaleye joined 21:02 apeiron left
ruoso mncharity, SMOP is not able to run all of ClassHOW and Object yet... 21:02
we're working on mildew to make it work
I started by ClassHOW and Object just because SMOP is all about OO, so that was pretty much the most reasonable place to start 21:03
mncharity nod
ruoso mncharity, take a look at mildew/t
you'll see what it can run alreadey
I need the map operator now, so I can implement ClassHOW.can 21:04
and then I can have ClassHOW.dispatch
mncharity One suggestion, as I notice the empty Any.pm. I'd suggest organizing core methods by method, rather than scattering them across class files. Spec and spec changes tend to impact methods, rather than classes. And there are a _lot_ of classes. 21:05
ruoso mncharity, take a look at v6/mildew/Map.pm 21:06
mncharity svn.pugscode.org/pugs/v6/mildew/t/
ruoso that's a sketch on how the map implementation would be added to the prelude
lambdabot Title: pugs - Revision 24151: /v6/mildew/t
mncharity svn.pugscode.org/pugs/v6/mildew/Map.pm
knowhow? 21:07
21:07 apeiron joined
ruoso mncharity, yes... a Pure Prototype Object 21:07
(it should appear in S12 sometime)
*someday
knowhow is important for bootstrap reasons 21:08
and is important for prototype-based oo
mncharity, I should leave now... 21:09
ruoso later &
ruoso will try to backlog...
mncharity cheers :)
21:09 ruoso left
mncharity thanks for the pointers 21:09
moritz_: re bootstrap and then developers: though, there are a couple of people around Boston who are interested in pushing p6, so the idea has been floating around of doing a sprint. Boston ruby group manages a weekly meeting (to hack; normal meeting; bar; ruby movies). Perhaps could try for a 1st and 3rd Wednesday of the month, elf and p6 hacking at <someplace with wifi and free food>. 21:15
Or perhaps at some perl conference, though my travel budget approximates zero at the moment. 21:16
Tene Anyone here feel like looking up some Perl 6 specs for me about the behavior of try {} blocks? 21:19
mncharity /me shakes head, sorry, hacking... 21:22
21:23 ejs left 21:25 zamolxes joined, bacek joined
moritz_ "A try block by default has a CATCH block that handles all exceptions by ignoring them." 21:26
perlcabal.org/syn/S04.html#Exception_handlers
lambdabot Title: S04
moritz_ that seems to imply control exceptions, IMHO 21:28
(and notices that in Perl 5 an eval { ... } block also catches return() )
$ perl -wle 'sub f { eval { return; }; print "alive" }; f()'
alive
21:35 apeiron left 21:40 apeiron joined
pugs_svn r24152 | hinrik++ | [t/spec] remove Windows line endings from S06-signature/type-capture.t 21:42
mncharity moritz_: any thoughts on attracting developers? 21:50
moritz_ mncharity: docs & blog 21:53
a nice architectural overview (that explains all abbreviations ;-), and a short hacking howto (where to change what, what do you need to rebuild, how to test etc.) 21:54
mncharity good thoughts. blog is raw exposure. the others are about visitor experience. have we been getting visitors, and if so, do we have feedback on what made it more/less likely they would contribute? 21:57
moritz_ when I mention elf on perlmonks, I often got asked "elf? what's that?", so I gave them the link 21:59
I thought about contributing to elf as well, but I found it a bit deterrent (description used abbreviations I didn't know, so little docs, no overview what features are working) 22:00
mncharity: my offer for you is: I can try to set up a 'make spectest' for elf similar to that of rakudo 22:01
mncharity: ie a test target that's supposed to run cleanly, and for which it's worth to fudge tests 22:02
mncharity: I don't know if that makes sense in the current stage, but as soon as it does, tell me
mncharity re deterrent, ah, good to know. re offer/spectest, nice. re "as soon as it does, tell me", will do. 22:08
is parrot ready to accept prelude code written in p6?
moritz_ not yet (you knew that, didn't you?) 22:10
though most pieces are in place now
class Array is also { ... } works now
22:11 justatheory left
moritz_ and today pmichaud added inline PIR to rakudo 22:11
don't know what else is needed right now
pmichaud we're getting closer
we need to fix method generation (jonathan++'s version is a little heavier weight than I want)
PerlJam what does prelude need that rakudo doesn't have?
pmichaud PerlJam: depends on what we expect to write in Prelude. 22:12
rakudo will be moving nearly all of its builtins to Perl 6 wrappers, at least.
if not actual Perl 6 code within the wrappers.
moritz_ (and if it's just to get the signatures right ;-) 22:13
mncharity moritz_: re "(you knew that, didn't you?)", no. last I heard, a few months back, was rsn.
pmichaud well, signatures and multidispatch are one of the driving reasons for it, yes.
jonathan and I both took vacations.
PerlJam well, I'm looking at pugs/src/perl6/Prelude.pm. I think whatever is in there is what we expect to write :)
moritz_ mncharity: that's wasn't entirely serious as well :)
PerlJam doesn't know what "is builtin" or "is unsaef" are supposed to do 22:14
moritz_ PerlJam: 'is unsafe' was obviously used for pugs' safe mode
PerlJam: and I guess 'is builtin' is a pugs hack
pmichaud I expect rakudo's Prelude to be much longer than the current Prelude.pm
and fairly different, as well. 22:15
we'll have a lot of class Any is also { method ... ; method ... ; method ... ;}
to define most of the builtins
mncharity yay
PerlJam feels like monkey patching, but official :) 22:16
pmichaud well, when we can write the methods in pure Perl 6, we will; when we can't, we'll use inline PIR.
eventually I suspect we'll separate out the pure Perl 6 parts and leave them with stubs to be filled in with the PIR
so that we'll have a pure Perl 6 Prelude.pm with { ... } for the parts we didn't write in Perl 6 22:17
and a PIR-Prelude.pm with q:PIR for the parts we wrote in PIR (filling in the parts we didn't write in Perl 6)
all of which will be Perl 6 syntax.
I better disappear for a while or I won't have my presentation finished. bbl. 22:18
mncharity thanks for the update.:) 22:19
22:21 bacek left
Hinrik perl6: say 1 if 'a'eq'a' 22:24
p6eval elf 24152, pugs, rakudo 33492: OUTPUT[1␤]
22:28 Limbic_Region joined 22:32 b_jonas joined
b_jonas hello! are the slides (or transscript or something) of the 2008 state of the onion keynote up somewhere? 22:33
22:34 smg left
b_jonas ah, irc logs say from 2008-10-08 that "TimToady probably won't publish this year's since it was a tech talk/demo of STD.pm 22:35
"
pity
meppl good night 22:49
b_jonas by the way, thanks for fixing the search feature of the irc logs page 22:50
-> moritz
moritz_ b_jonas: I didn't fix anything, the failures seem random :/ 22:51
22:52 meppl left
[particle] ok, my grammar successfully parses all cmdline options in S06. baseline complete. now to attack my additions. 22:56
b_jonas heh 22:58
Limbic_Region b_jonas - Larry emailed me back - said that a very similar talk is available via youtube at his google chicago talk 23:01
b_jonas - www.youtube.com/watch?v=JzIWdJVP-wo
lambdabot Title: YouTube - Larry Wall Speaks at Google
b_jonas ah, thanks 23:02
I wonder what should go to [id://153] 23:03
Tene Can someone tell me what $! should be after a try{} that threw an exception?
Limbic_Region b_jonas - btw, your homenode pic on perlmonks no longer matches the caption
b_jonas I still have a caption? 23:04
I thought I removed that so I don't have to change it
let me see
uh huh
ok, this time I'll just remove it and don't add what this picture is (chrismas decoration on a shop in Wien) 23:05
Tene ah, there's the spectest 23:06
moritz_ Tene: which could be wrong :/
Tene t/spec/S02-magicals/dollar_bang.t
23:06 dr_df0 joined
dr_df0 pugs: my @a=<1 2 3 4>; my @b=<1 2 3 4>; my @c = @a >>+<< @b; say @c 23:07
p6eval pugs: OUTPUT[2468␤]
Limbic_Region pugs: my @a=<1 2 3 4>; my @b=<1 2 3 4>; my @c = @a >>+<< @b; say @c.perl
p6eval pugs: OUTPUT[\(2.0, 4.0, 6.0, 8.0)␤]
Tene I guess it makes sense to have Exception always return 1 for get_bool...
moritz_ yes, because if $! isn't set it's undef, not an Exception 23:08
Tene Are there any false exception values?
I would'nt think there were...
23:08 adc_penner2 joined
[particle] Exception;false 23:08
:)
moritz_ die 0;
[particle] does exit throw an exception?
Tene so: try { die 0; }; say 'True' if $!; 23:09
moritz_ dunno if it should act as a proxy for capture that die() saw
Tene Does that print?
moritz_ dunno
Tene Maybe it should call get_bool on its payload?
moritz_ "If you test a C<Failure> for C<.defined> or C<.true>, it causes C<$!> 23:12
to mark the exception as I<handled>;"
"Because the contextual variable C<$!> contains all exceptions collected in the
current lexical scope [...]"
uhm.
Tene moritz_: could I get you to review dollar_bang.t and update it?
moritz_ So $! is a collectioin of exceptions... 23:13
PerlJam moritz_: but you probably only get to look at the "top" one in item context.
23:13 adc_penner2 left
moritz_ Tene: I tried that not-so-long-ago, and couldn't find the appropriate specs 23:13
Tene: maybe I need to send a mail to p6l for clarification, so that might take a while.
[particle] assume it means something that's reasonable to implement until we know what it really means 23:14
moritz_ actually just having Excpetion.get_bool returning always 1 would give us a few more passing tests 23:15
Tene I'll have it always return 1 for now. Can you ask p6l? 23:19
moritz_ I'm writing the mail right now. 23:20
Tene: actually dollar_bang.t looks saner than I remembered ;-) 23:22
23:23 adc_penner left
Tene make sure to ask for clarification of what the default argument referred to in test 8 is. 23:23
or 9 or whichever 23:24
the end
23:24 b_jonas left
moritz_ will do. 23:26
pugs_svn r24153 | tene++ | Unfudge a few tests to track new passes in Parrot. 23:27
moritz_ mail sent, going to bed now. 23:30
Tene Thank you. 23:34
23:37 iblechbot left 23:42 renormalist left 23:48 eternaleye left
Hinrik perl6: say 1x2 23:50
p6eval pugs: OUTPUT[*** ␤ Unexpected "x2"␤ expecting "_", fraction, exponent, term postfix, operator, ":" or ","␤ at /tmp/1f70jZkvX3 line 1, column 6␤]
..elf 24153: OUTPUT[11␤]
..rakudo 33494: OUTPUT[Syntax error at line 1, near "say 1x2"␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤]
Hinrik perl6: say 1 x 2
p6eval elf 24153, pugs, rakudo 33494: OUTPUT[11␤]
Hinrik perl6: say "ok" if 1eq1 23:52
p6eval elf 24153: OUTPUT[ok␤]
..pugs: OUTPUT[*** ␤ Unexpected "eq1"␤ expecting "_", "-", "+", exponent, term postfix or operator␤ at /tmp/ZSuf0Brfre line 1, column 14␤]
..rakudo 33494: OUTPUT[Syntax error at line 1, near "if 1eq1"␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤]
Hinrik I see