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:05 theorb joined 00:07 polettix left 00:11 xdg joined 00:17 theorbtwo left 00:22 justatheory left, justatheory joined 00:23 justatheory left, justatheory joined 00:24 justatheory left 00:29 justatheory joined
Patterner well, you see lots of architecture in europe which is older than the USA :) 00:37
00:38 amnesiac joined 00:41 kaether joined 00:44 justatheory left 00:49 REPLeffect left 00:50 nipotaway is now known as nipotan 01:00 lyokato joined, vel joined 01:10 ting left 01:14 ting joined 01:17 ting left 01:20 drupek12 joined 01:30 ting joined 01:35 theorbtwo joined 01:37 drupek12 left 01:46 Greenn joined, allbery_b joined 01:48 theorb left 01:52 allbery_ joined 01:53 allbery_ left 02:00 Limbic_Region left 02:05 agentzh left 02:11 drbean_ left 02:28 weinig joined 02:34 _baton_ joined 02:35 _baton_ left 02:52 weinig left 03:20 justatheory joined, ahmadz_ left 03:37 xdg left 03:39 Partizx joined 03:44 amnesiac left 03:50 agentzh joined 03:58 JarJarBi1ks is now known as JarJarBinks 04:13 [particle] left 04:15 Partizx left 04:39 weinig joined, weinig left, weinig joined 04:45 vel left 05:03 REPLeffect joined 05:13 devogon joined 05:27 jisom joined 05:36 justatheory left 05:37 [particle] joined 05:41 Ashizawa joined 05:42 zamolxes left 05:48 rfordinal_ left 05:49 rfordinal joined 06:01 amnesiac joined 06:05 IllvilJa joined 06:10 REPLeffect left 06:35 weinig left, dduncan joined 06:41 weinig joined 06:44 thoughtpolice left, Schwern joined 06:49 weinig left 06:55 iblechbot joined 07:17 mncharity left 07:21 zamolxes joined 07:29 amnesiac left 07:30 Aankhen`` joined 07:43 DarkWolf84 left 07:46 dduncan left 07:48 franck___ joined 08:10 snearch joined 08:13 salzh joined 08:19 snearch left 08:23 flokuehn joined 08:24 masak joined 08:32 kaether_ joined 08:33 jisom_ joined 08:34 andara joined 08:36 kaether left, kaether_ is now known as kaether 08:50 drbean joined, jisom left 08:55 ruoso joined 08:59 lyokato_ joined 09:02 tflorez joined 09:08 dwave left 09:10 elmex joined 09:12 hcchien left, hcchien joined, lyokato left 09:13 lyokato joined 09:17 hakobe is now known as hkb_lab, chris2 joined 09:22 NatashaT joined, flokuehn_ joined 09:23 NatashaT left, flokuehn_ left, flokuehn_ joined
moritz_ good morning * 09:24
09:24 flokuehn_ left
moritz_ or good localtime() ;-) 09:24
masak good localtime(), moritz_ 09:25
09:28 lyokato_ left, lyokato_ joined 09:36 fglock joined 09:40 flokuehn left, dwave joined 09:42 lyokato left 09:44 xinming left 09:45 xinming_1 joined, xinming_ is now known as xinming 09:49 drupek12 joined 09:50 flokuehn joined 10:00 Yappo left 10:01 baest left 10:07 salzh left 10:20 franck___ left 10:24 flokuehn left 10:25 jisom_ left 10:27 IllvilJa left
pugs_svnbot r17743 | fglock++ | [kp6] Pad, COMPILER cleanup 10:30
diff: dev.pugscode.org/changeset/17743
lambdabot Title: Changeset 17743 - Pugs - Trac 10:31
10:40 weinig joined 10:41 weinig left 10:42 weinig joined 10:43 xinming left 10:46 weinig left 10:55 nipotan is now known as nipotaway, xinming_1 left 11:01 rindolf joined 11:04 franck___ joined, Ashizawa left 11:08 ruz left 11:12 ruz joined 11:20 xinming joined 11:32 nipra is now known as ExaByte 11:34 xinming left 11:43 JarJarBi1ks joined 11:55 JarJarBinks left 12:05 flokuehn joined
masak ?eval "hi" 12:07
pugs: say "hi" 12:08
exp_evalbot OUTPUT[hiā¤]
masak pugs: say "hi".WHAT
exp_evalbot OUTPUT[Strā¤]
masak pugs: say "hi".WHAT.methods
exp_evalbot OUTPUT[*** No such method in class Str: "&methods"ā¤ at /tmp/DRsV4ayRta line 1, column 5 - line 2, column 1ā¤]
masak oh, right
pugs: say ("hi".WHAT).methods
exp_evalbot OUTPUT[*** No such method in class Str: "&methods"ā¤ at /tmp/MCk4kwIGCf line 1, column 5 - line 2, column 1ā¤]
moritz_ pugs: say "hi".HOW.methods
exp_evalbot OUTPUT[["reverse","chop","index","quotemeta","join","chars","bytes","split","LIST","ITEM","bless"]ā¤]
masak moritz_: thx
moritz_ masak: kp6 has the precedence bug, not pugs ;) 12:09
masak ah
of course
actually, I was looking for a .pos in Str
S05 made me believe there would be one
moritz_ kp6: ("str.HOW).methods
exp_evalbot r17743: OUTPUT[Syntax Errorā¤]
moritz_ kp6: ("str".HOW).methods 12:10
exp_evalbot r17743: OUTPUT[[ 'perl', 'str', 'true', 'HOW', 'WHAT', ]ā¤]
masak ("str".HOW).HOW
kp6: ("str".HOW).HOW
exp_evalbot r17743: OUTPUT[no method 'perl' in Class 'Class'ā¤]
masak heh
moritz_ pugs: $_="foo"; m/o/; say .pos
exp_evalbot OUTPUT[*** No such method in class Str: "&pos"ā¤ at /tmp/JUkUG4Sykl line 1, column 21 - line 2, column 1ā¤]
12:11 ferreira joined
masak I don't know how to refer to specific lines in the synopses, but it's under "Modifiers" 12:12
the :c modifier
moritz_ I know it should exist in some form, yes 12:16
masak now I see -- I should have checked the tests first 12:18
they are marked as TODO
I wonder if that's one of those things that don't conflict with audreyt++'s MO branch
so that it'd be safe to implement .pos 12:19
moritz_ masak: you should try ;)
masak actually, I'd like to
moritz_ masak: there's no use waiting if we don't know how long
masak true
I'll probably have time to take a look at it this week 12:22
and also, some of the failing tests
they're fun to try and resolve, almost like little crime novels 12:23
&
12:24 xinming joined, cmarcelo joined 12:25 rindolf left, xdg joined 12:27 platypus joined 12:31 xinming left 12:40 xinming joined 12:52 lyokato_ left, DarkWolf84 joined 13:02 pmurias joined
pmurias moritz_: $foo.bar.baz bug is not caused by precedence issues 13:02
moritz_ pmurias: then what's the problem? 13:03
13:03 drupek12 left
pmurias term_meth dosn't call itself recursivly but call term 13:03
kp6: $foo[1][2] 13:04
exp_evalbot r17743: OUTPUT[DISPATCH: calling INDEX KindaPerl6::Runtime::Perl5::DispatchSugar::Dispatch=HASH(0x818ef40) on invalid object:$VAR1 = {};ā¤ā¤ at lib-kp6-mp6-p5/KindaPerl6/Runtime/Perl5/MOP.pm line 32ā¤ main::DISPATCH('undef', 'INDEX',
..'KindaPerl6::Runtime::Perl5::DispatchSugar::Dispatch=HASH(0x81...') called at - line 16ā¤]
moritz_ so it's a grammar bug?
pmurias moritz_: yes
masak pmurias: what's the fix?
have term_meth call term_meth instead of term? 13:05
pmurias i think so (trying it out now)
but you have also to avoid infinit recursion 13:06
masak yes... 13:08
pmurias masak: do you want to try to fix it? :)
masak I'm at $work right now, so not very convenient
pmurias ok
masak I'll have some time tomorrow or later this week, but I was going to try to get Str.pos into Pugs 13:09
is there a graphing tool out there that generates a nice directed acyclic graph out of a set of dependencies? 13:13
moritz_ dot 13:14
neato
masak: it generated my keyring deps: moritz.faui2k3.org/images/tn_keyring.png 13:15
masak moritz_: thx
moritz_ masak: this is the full version: moritz.faui2k3.org/images/tn_keyring.png ;-)
no, wrong
moritz.faui2k3.org/images/keyring.png 13:16
masak looks complicated
moritz_ that's after one big and two smaller key signing parties ;) 13:17
masak my version of firefox went mildly neurotic over the larger version 13:18
13:18 polettix joined
moritz_ ie it crashed? 13:18
that happens from time to time ;)
masak it says it loaded it and is showing it scaled at 3%
13:18 drupek12 joined
szbalint heheh mine too masak 13:18
masak but it's showing a white surface with nothing on it
and no way to zoom in 13:19
szbalint I ran out of 2 gigs of memory :)
moritz_ well, it's 14840x18299 pixels
szbalint it's a big image
masak yes
moritz_ and firfox doesn't do any antialiased rendering
that's why I also provide a map viewer: moritz.faui2k3.org/mapit/showmap
lambdabot Title: Web of Trust Visualization- Moritz Lenz
moritz_ of course that's utterly useless, but nice to have anyway ;) 13:20
masak :)
how feature-complete is v6? 13:22
it seems to be pretty solid on grammars
[particle] masak: you can use Graph::Easy as a front end to dot... it's a nice module 13:24
masak [particle]: great, thx! 13:25
13:28 GeJ left, GeJ joined 13:32 pmurias left, JarJarBi1ks left, devogon left, ting left, rgs left, wolverian left, Juerd left, yves__ left, Grrrr left, sri_ left, spinclad left, integral left, jhorwitz joined, xdg left 13:33 platypus left, pmurias joined, JarJarBi1ks joined, devogon joined, ting joined, rgs joined, wolverian joined, Juerd joined, yves__ joined, Grrrr joined, sri_ joined, spinclad joined, integral joined, thepler joined 13:35 xinming left 13:38 TJCRI joined
fglock masak: i'm using v6.pm at work 13:39
pugs_svnbot r17744 | fglock++ | [kp6] 'proto' 13:41
diff: dev.pugscode.org/changeset/17744
lambdabot Title: Changeset 17744 - Pugs - Trac
13:42 xinming joined
pmurias fglock: hi! 14:03
fglock hi
14:03 daxim joined 14:05 platypus joined 14:32 IllvilJa joined
pugs_svnbot r17745 | fglock++ | [kp6] 'multi' 14:35
diff: dev.pugscode.org/changeset/17745
lambdabot Title: Changeset 17745 - Pugs - Trac
[particle] fglock: are you going to layer p6 on top of kp6, or is it just going to grow into p6? 14:37
fglock [particle]: there are some problems i'd like to discuss; both are possible 14:38
[particle] i know it's not mp6, but what features are "enough"
k
fglock kp6 already has enough for running 6-in-6, but not enough for runnin STD (which is the roadmap) 14:39
running
[particle] hrmm
fglock so we now have 2 roadmaps 14:40
one is for running STD, the other for bootstrapping kp6
[particle] yeah, it's better to run STD at a lower level, for performance
moritz_ fglock: the roadmap has many gaps... for example, when will concurrency be added?
14:40 JarJarBinks joined
avar meesa want concurrency too 14:40
moritz_ fglock: or are these features considered optional?
avar moritz_: concurrency of what? 14:41
moritz_ avar: threads, events, STM
fglock moritz_: concurrency is not needed for STD or for bootstrapping, so it is optional for now
we can develop concurrency in... parallel 14:42
moritz_ ;)
so the plan is basically "first get STD.pm working, then do the Rest"? ;-) 14:43
14:43 [particle1 joined, xinming left
[particle1 has begun playing with intel threading building blocks for parrot 14:43
fglock it's more like - let's not forget STD
avar concurrency is also largely the problem of the runtime which kp6 offloads to something else
14:43 amnesiac joined
moritz_ avar: right... let's ask the parrot folks ;) 14:44
fglock kp6 already has junctions, and it is up to the runtime to decide on dispatching (though Junction is implemented in Perl 6)
avar Yeah, basically implemented as an array now right? 14:45
moritz_ avar: right
not basically, exactly
avar yeah, any is just a loop with an early exit if it finds something:) 14:46
moritz_ right
so is none
fglock yes, the array stores the junction data, but the actual implementation is up to the low-level runtime
avar it would probably be faster as a hash but that's a bit too early an optimization probably:)
moritz_ avar: that doesn't help for regex matching etc. 14:47
14:47 xinming joined
fglock [particle]: jonathan was considering working on a parrot backend for kp6 14:47
[particle1 is a junction a set or a bag? 14:48
avar bag
[particle1 so hash won't work well
avar some operations would be faster, not sure if it's a net win
[particle1 avar: right, that's for later, though (for me, anyway) 14:49
fglock: yes, i'd like to talk to him about that, when he has tuits again
fglock [particle1: re 6-in-6 problems, there are a few things that are hard to do in Perl 6 14:50
like pads
[particle1 that's hard in any language :) 14:51
does kp6 'return' implementation use exceptions? 14:52
fglock there is a workaround for now, but it would be nice if Perl 6 had support for high-level pads
14:52 JarJarBi1ks left
fglock [particle1: no (or, not yet) 14:53
avar like my $symbols = $CALLER::; or something like that?
[particle1 ok, nqp needs 'return' and i was hoping kp6 had something helpful
hey, [particle], would you cease to exist, so i can become you once more? 14:54
time out, you bugger.
fglock [particle1: it would be possible to desugar kp6 to nqp
[particle1 hrmm
fglock avar: we need to be able to execute code inside a given pad; kpe currently uses an eval() trick 14:55
kp6
[particle1 so, pad contains blocks? 14:56
fglock yes, pads are objects that contain closures 14:57
[particle1 okay. they're not in the grammar, but that seems okay. right now, nqp/perl6 do closure has-a pad
kp6 is pad contains-a closure 14:58
*has-a
fglock it's more like Pad instances contain native closures
Block instances are a separate thing 14:59
14:59 [particle] left
fglock this is specific to the perl5 backend 15:03
but 6-in-6 will need something like that too 15:05
[particle1 so, are you currently working toward STD? 15:06
or towards 6on6
moritz_ 6on6 implies STD, doesn't it?
[particle1 depends where the bootstrap is 15:07
pmurias moritz_: 6-in-6? 15:08
15:08 weinig joined 15:09 [particle1 is now known as [particle]
pugs_svnbot r17746 | fglock++ | [kp6] updated roadmap 15:09
diff: dev.pugscode.org/changeset/17746
lambdabot Title: Changeset 17746 - Pugs - Trac
fglock we have 2 parallel projects: working towards STD (see last commit), and bootstrapping kp6
moritz_ updates the HTML version 15:11
pugs_svnbot r17747 | fglock++ | [kp6] fixed last commit 15:12
diff: dev.pugscode.org/changeset/17747
lambdabot Title: Changeset 17747 - Pugs - Trac
15:13 vel joined 15:18 hkb_lab is now known as hakobe
pugs_svnbot r17748 | fglock++ | [kp6] more roadmap updates 15:21
diff: dev.pugscode.org/changeset/17748
lambdabot Title: Changeset 17748 - Pugs - Trac
fglock moritz_: done, i think :)
moritz_ fglock: ok ;-)
15:24 zamolxes left, pmurias left
fglock re 6-*-6 implies STD: yes, but there will be pre-christmas versions 15:25
[particle] 5.99-on-5.98 15:26
or better 5.999-on-5.99
moritz_ lol
and then finally a christmas-on-pre_christmas ;) 15:27
15:29 zamolxes joined
xinming prefers the 6.0(-)0.1 :-D 15:31
5.99 is still perl 5. But 6.0 means we enter perl 6 world now. 15:32
15:32 zamolxes left 15:33 REPLeffect joined
moritz_ debian uses ~ for negative version numbers, so 6.0~5 < 6.0 15:33
[particle] so perhaps it's 6-.01i-on-6-.1i
when the imaginary component disappears, we have real perl 6
moritz_ nice pun ;-)
TimToady masak: it's not entirely clear that strings should know their .pos anymore. It's more like positions know their string. Otherwise a string can't be shared between threads 15:34
and the positions used in S05 will be stored in the current match state, not in the current matched string 15:35
masak TimToady: that makes me very happy
TimToady you might still refer to it as .pos, but only because $_ is likely to track the match state
(within rules)
moritz_ so $_ is a "match state" in regexes, not the current string?
TimToady correct. 15:36
moritz_ ok ;)
masak TimToady: S05 is not up-to-date in that case
15:36 zamolxes joined
moritz_ ETOOSLOW 15:36
TimToady used to be $/, but that's going away
no, it's not; I have pending changes
$/ isn't going away entirely
moritz_ erm
TimToady it's still the user's link to the last match
but that's all it is
moritz_ will it go away, or just replaced by a different symbol?
TimToady within a rule $/ changes to $_ for the current match state, probably 15:37
(that's part of why "andthen" got defined the way it was)
there are several other changes to S05 that Damian, Patrick, and I have been thrashing on recently 15:38
mostly simplifications of various sorts
most $<foo> just change to $foo
(within the rule)
for instance
and current <+ws> probably settles on <.ws> 15:39
moritz_ for non-capturing groups only?
what about char classes? 15:40
TimToady <ws> captures, <.ws> doesn't
as it was, either <[...]> or <+[...]>
moritz_ ok
TimToady and you can use either <+alpha> or <.alpha> to suppress capture
15:41 masak left
TimToady anyway, that's the direction it seems to be heading at the moment 15:41
main incompatible change is that <?foo> no longer eats positions
(and that's a change we already made) 15:42
also, there will be some kind of syntax for declaring my variables directly within the rule without having to fake them up in the signature
15:43 ruoso left
TimToady also, setting the value of a reduction closure is likely to change from "return" to "reduce" because what the rule really returns is the next match state with the reduction value attached 15:47
afk & 15:48
15:54 flokuehn left 15:57 ExaByte is now known as nipra 15:58 vel left 16:00 vel joined 16:08 barney joined 16:16 baest joined 16:36 justatheory joined 16:37 jjore-w left 16:41 jjore-w joined, andara left 16:42 justatheory left 16:43 justatheory joined 16:51 justatheory left 16:54 xinming left
pugs_svnbot r17749 | lwall++ | [STD] approximation of new standard grammar syntax (won't run yet) 16:54
diff: dev.pugscode.org/changeset/17749
lambdabot Title: Changeset 17749 - Pugs - Trac
16:58 xinming joined 17:09 snearch joined 17:19 justatheory joined 17:22 franck___ left 17:27 TJCRI left 17:30 snearch left 17:31 Psyche^ joined 17:32 TJCRI joined 17:33 dvorak_ joined 17:35 xinming left 17:41 vel left 17:47 Patterner left, Psyche^ is now known as Patterner 18:01 cerridwen left, baest left 18:04 ruoso joined 18:05 Limbic_Region joined 18:08 Patterner left, baest joined, cerridwen joined, Psyche^ joined, Psyche^ is now known as Patterner 18:16 Psyche^ joined 18:19 hcchien left 18:21 vel joined 18:22 dvorak joined, dvorak_ left 18:23 xinming joined 18:26 drrho joined 18:27 snearch joined 18:34 Patterner left, Psyche^ is now known as Patterner 18:36 polettix left 18:38 amnesiac left 18:42 drupek12 left, drbean left 18:44 fglock left 18:45 jisom joined 18:58 drupek12 joined 19:00 vel left, IllvilJa left 19:01 ferreira left 19:07 weinig left
TimToady moritz_: S05 is now updated (more or less) 19:17
[particle] i'd say "more" :) 19:18
pugs_svnbot r17750 | lwall++ | Strings no longer attempt to keep track of their "pos". 19:22
diff: dev.pugscode.org/changeset/17750
lambdabot Title: Changeset 17750 - Pugs - Trac
19:25 drrho left 19:26 vel joined 19:35 jamesmck left 19:37 vel left 19:50 weinig joined 19:52 kjwcode joined 19:54 xdg joined 19:57 jisom left 20:02 polettix joined, snearch left 20:03 polettix left, xinming left 20:05 weinig_ joined, weinig left, barney left 20:07 polettix joined 20:11 polettix left 20:15 chris2 left
moritz_ TimToady: what about the somewhat weird hash matching? is that going to change eventually? 20:16
TimToady might well
20:43 Greenn left 20:49 rindolf joined 20:56 theorbtwo left 20:57 theorbtwo joined, ahmadz joined
ahmadz hi 20:57
moritz_ good evening ahmadz ;)
moritz_ heeds off to bed 20:58
rindolf Hi ahmadz 20:59
moritz_: night
21:00 elmex left 21:03 hoelzro joined 21:04 drupek12 left 21:07 hoelzro left 21:11 iblechbot left 21:13 xinming joined 21:14 TJCRI left 21:18 jhorwitz left 21:22 daxim left
ahmadz feather.perl6.nl:8096/p6_syntax_highlighter/ 21:25
lambdabot Title: Test
21:27 dmiles_afk joined
pugs_svnbot r17751 | azawawi++ | [p6_syntax_highlighter] Perl6 JS Browser Syntax highlighter script 21:38
diff: dev.pugscode.org/changeset/17751
lambdabot Title: Changeset 17751 - Pugs - Trac
21:45 drupek12 joined 21:50 rindolf left 22:01 pelagic joined 22:10 kjwcode left 22:14 Limbic_Region left 22:15 Limbic_Region joined 22:21 xdg left 22:22 xdg joined 22:24 xdg left 22:26 justatheory_ joined 22:30 drbean joined 22:38 Aankhen`` left 22:42 justatheory left 22:49 kanru joined 22:55 IllvilJa joined 22:57 pelagic left 23:12 dmiles_afk left 23:16 YinSakens joined 23:36 vel joined 23:39 cmarcelo left