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:01
cmarcelo left
00:06
theorb joined
00:19
theorbtwo left
00:23
REPLeffect left,
REPLeffect joined
00:30
jferrero left
00:33
jferrero joined
00:43
devogon left
00:57
cmarcelo joined
01:05
IllvilJa left
01:09
thoughtp1lice joined
01:10
jisom left
01:17
ludan joined
01:18
Kattana left
01:19
chris2 left
01:25
thoughtpolice left
01:31
jhorwitz left
01:33
alc joined,
justatheory left
01:34
ludan left
01:39
meppel left
01:40
meppel joined
01:43
cnhackTNT joined
01:54
thoughtp1lice left
02:03
renormalist joined
02:05
renormalist left
02:17
mj41___ joined
02:23
jferrero left
02:26
jferrero joined
02:30
jferrero left
02:32
mj41 left
02:34
jisom joined
02:41
mncharity left
02:42
idiotmax left
|
|||
meppel | good night | 02:45 | |
Auzon | See you | ||
meppel | ;) | ||
02:47
meppel left
02:51
BinGOs left
02:52
BinGOs joined
02:56
agentz1 joined
03:03
agentz1 left
03:04
jisom left
03:12
lichtkind left
03:17
dduncan joined
03:18
Limbic_Region left
03:29
integral left
03:30
integral joined
03:34
glion joined
03:43
BinGOs left
|
|||
glion is pondering his first #perl6 question | 03:49 | ||
Hi everyone! | 03:50 | ||
say i wanted to use only one perl6 feature, the new sigil rules | |||
are there ast transform tools to do that now? | 03:51 | ||
i.e. perl5 w/perl6 sigils -> ast -> perl5 ast -> for executing as regular perl5 | 03:52 | ||
Tene | Hi! | 04:00 | |
There's a Perl 5 source filter. | |||
04:06
tlb left
|
|||
glion | 04:07 | ||
04:07
tlb joined
|
|||
glion | i see that Perl6::Subs would be an example | 04:07 | |
04:10
tlb left
|
|||
Tene | Perl6::Variables | 04:11 | |
04:14
xdg joined
04:15
justatheory joined,
REPLeffect left
04:19
REPLeffect joined
04:32
hcchien left
04:34
neuromu joined
04:59
xdg left
05:19
cmarcelo left,
REPLeffect left
05:48
jferrero joined
05:52
Schwern left
05:54
Schwern joined
05:57
penk joined
05:59
Schwern left
06:00
Schwern joined
06:03
penk left,
Ashizawa joined
06:25
neuromu left
06:26
Squern joined
06:28
Schwern left
06:30
Squern left,
Squern joined
06:43
ruz left
06:44
DarkWolf84 left
06:55
kanru joined
07:01
BinGOs joined
07:09
jferrero left
07:11
jferrero joined
07:17
ruz joined
07:18
devogon joined
07:20
penk joined
07:21
penk left
07:28
justatheory left
07:41
drrho joined
07:49
DarkWolf84 joined
08:03
cnhackTNT left
08:04
penk joined,
cnhackTNT joined
08:06
cnhackTNT left
08:07
cnhackTNT joined
08:15
dduncan left
08:20
bbkr__ left
08:21
mj41____ joined,
mj41____ is now known as mj41
08:25
bbkr__ joined,
renormalist joined
08:33
iblechbot joined
08:36
revdiablo left,
orevdiabl joined
08:37
mj41___ left
08:49
IllvilJa joined
08:51
franck___ joined
08:52
elmex joined
09:02
akreal left
09:03
akreal joined
09:11
masak joined
09:18
agjal joined,
H0LE joined
09:20
jferrero left
09:23
explorer joined
09:24
explorer left
09:30
akreal left,
akreal joined
09:36
Maddingue left,
Maddingue joined
09:45
ruoso left
09:48
agjal is now known as meppel
10:03
ebassi joined
10:09
hcchien joined
10:16
cnhackTNT left
10:24
drbean left
10:26
drbean joined
10:39
ebassi left,
DarkWolf84 left,
BinGOs left,
felipe left,
lambdabot left,
zev left,
test left,
rhr left,
spinclad left,
c9s left,
nothingmuch left,
jrockway left,
gugod left,
takanori left,
Yappo_ left,
awwaiid left,
pravus left,
rafl left,
Gothmog_ left,
cj left,
shachaf left,
funktio left,
obra left
10:40
ebassi joined,
DarkWolf84 joined,
BinGOs joined,
felipe joined,
lambdabot joined,
Gothmog_ joined,
gugod joined,
rhr joined,
jrockway joined,
takanori joined,
c9s joined,
cj joined,
test joined,
Yappo_ joined,
shachaf joined,
nothingmuch joined,
spinclad joined,
zev joined,
rafl joined,
pravus joined,
awwaiid joined,
obra joined,
funktio joined
10:42
franck___ left
10:53
ispy_ joined
10:54
IllvilJa left
11:00
nipotan is now known as nipotaway
11:01
mattz joined
11:03
meppel left
11:04
IllvilJa joined
11:14
franck___ joined
11:17
jisom joined
11:26
ferreira joined
11:28
fglock joined
11:35
Ashizawa left
|
|||
fglock | [particle]: ping | 11:46 | |
PerlJam: ping | |||
11:47
ruoso joined
11:50
IllvilJa left
11:51
IllvilJa joined
11:54
masak left
12:07
ruoso left
|
|||
moritz_ | many ping timeouts today ;) | 12:07 | |
12:08
jisom left
12:15
ruoso joined
12:18
franck___ left
12:25
ebassi is now known as ebassi|lunch,
ebassi|lunch left
12:30
cmarcelo joined
12:32
masak joined,
Limbic_Region joined
|
|||
fglock | hmm - S12: VAR is a no-op on a non-scalar variables and values | 12:38 | |
I thought VAR(@x) worked | |||
12:39
pkeane left
12:41
renormalist left
|
|||
fglock | I wonder if [particle] implemented END | 12:42 | |
I'm investigating BEGIN | |||
in kp6 we have two scenarios | 12:45 | ||
either detect side effects immediately when BEGIN finishes running, | 12:46 | ||
or "dump" the whole environment when the compiler emits code | 12:47 | ||
12:56
ebassi joined
|
|||
fglock | I'm looking for BEGIN examples in the synopsis, | 13:00 | |
I don't see examples where BEGIN side effects need to be recorded | |||
BEGIN { COMPILING::<$?FOO> = 42 } # this can be special cased | 13:01 | ||
$.r = BEGIN { rand } # this can be handled just like "return" | 13:02 | ||
13:04
IllvilJa left
|
|||
fglock | does Perl 6 need to support this: | 13:10 | |
pugs: my $x; BEGIN { $x = 3 }; say $x | |||
exp_evalbot | OUTPUT[3ā¤] | ||
fglock | kp6: my $x; BEGIN { $x = 3 }; say $x | 13:11 | |
exp_evalbot | r19226: OUTPUT[3ā¤] | ||
13:18
cognominal left
13:19
cognominal joined
13:22
iblechbot left
13:26
Limbic_Region left
13:51
pmurias joined
|
|||
pmurias | pugs: my $x=4; BEGIN { $x = 3 }; say $x | 13:54 | |
exp_evalbot | OUTPUT[4ā¤] | ||
13:58
chruck joined
|
|||
[particle] | pmichaud++ # all 00-parrot and 01-sanity tests pass | 14:09 | |
fglock | [particle]: i've just seen it :) | 14:12 | |
[particle]: I think I can workaround the kp6-parrot problems with VAR(), | 14:14 | ||
but i'm still wondering about BEGIN | |||
[particle] | yes, i see that :) | 14:15 | |
14:15
jhorwitz joined
|
|||
fglock | it's possible to rewrite kp6 to use plain tables instead of Env, but i'm not sure we should go that route | 14:15 | |
pmurias | fglock: Env is? | 14:17 | |
fglock | pmurias: the closure structure that Pad points to | ||
which makes possible to run BEGIN blocks | 14:18 | ||
pmurias | fglock: thanks | 14:19 | |
fglock: "plain tables" you mean not using the perl5 lexicals, but emulating them ourself? | 14:24 | ||
fglock | no, just keep a table of lexicals, without creating a compile-time representation | 14:25 | |
which means, you forbid BEGIN | |||
hmm - i don't like that | 14:26 | ||
let's see it the other way out: | |||
does it make sense to rewrite kp6 using perl6? | |||
[particle] | then you need to wait for perl6 to have BEGIN | 14:27 | |
pmurias | [particle]: you should use onion as the project name ') | ||
s/')/;) | |||
i always get confused by perl6 vs Perl 6 | 14:28 | ||
[particle] | for perl6? yeah, i like that | ||
pmurias | [particle]: you like onion? | 14:29 | |
as a name | |||
fglock | looking at the perl6 roadmap | 14:30 | |
[particle] | yes, i've always liked onion. i don't know why we haven't used it | 14:32 | |
bbi20m & | 14:34 | ||
14:35
Ara4n joined
14:36
Ara5n left
|
|||
fglock | hey, I don't need perl6 to have BEGIN - I need perl6 to have eval() | 14:38 | |
in order to implement BEGIN in Perl6-in-Perl6 | 14:39 | ||
unless there is an alternate way | |||
pugs_svn | r19227 | pmurias++ | [kp6-perl5] an experimental emitter which attemts to use caching, a bit more work on caching | 14:44 | |
pmurias | fglock: a method can be a Method or a Code instance or a perl5 CODE? | 14:52 | |
s:1st/or/,/ | |||
fglock | a method should always be a Method, but the kp6-perl5 MOP accepts anything | 14:53 | |
pugs_svn | r19228 | pmurias++ | [kp6-perl5] fixed a small error | 14:54 | |
pmurias | fglock: Code objects are passed to add_method by kp6 itself | 14:55 | |
fglock: could you look at what am i doing wrong in the method caching part? | |||
14:56
TJCRI joined
|
|||
fglock | ok | 14:56 | |
pmurias | MOP:381 | ||
14:58
Psyche^ joined
|
|||
fglock | pmurias: sorry, I need some time to understand that | 15:02 | |
pmurias: i'm trying to figure out an implementation strategy over Parrot | 15:08 | ||
15:08
penk left,
penk joined
|
|||
pmurias | fglock: fine | 15:08 | |
15:12
polettix joined
15:14
Patterner left,
Psyche^ is now known as Patterner
15:27
JarJarBinks joined,
iblechbot joined
15:39
JarJarBi1ks left
|
|||
pmurias | fglock: i think the "dump" the whole enviroinment way when the compiler emits code could be cleaner | 15:45 | |
PerlJam | fglock: pong | 15:47 | |
fglock | PerlJam: unping # i've got some answers in #parrot | ||
thanks | |||
PerlJam | cool | 15:48 | |
15:52
TJCRI left
16:01
franck___ joined
16:05
pen1 joined
16:06
rindolf joined
16:15
manne joined
16:16
hoelzro joined,
ajs left
|
|||
hoelzro | is there a method that I can call to retrieve a list of the methods of an object? | 16:17 | |
Juerd | No | 16:18 | |
Well, unless you write one :) | |||
16:18
pbuetow left
|
|||
hoelzro | hmm | 16:19 | |
pmurias | Juerd: there is one | ||
16:19
penk left,
pbuetow joined
|
|||
Juerd | pmurias: And it magically knows which subroutine is a method and which one isn't? | 16:19 | |
Oh, wait, this is #perl6 :) | 16:20 | ||
Sorry, thought for a second that this was a Perl 5 channel. | |||
hoelzro | nope | ||
manne | what about .HOW.methods? | ||
hoelzro | I can do it in Perl5 easily enough =P | ||
16:21
pbuetow left,
Psyche^ joined
|
|||
hoelzro | I think that worked | 16:21 | |
pmurias | manne: it returns method desciptors | ||
* descriptors | |||
in Perl6 in kp6 it retuns the list of method names | 16:22 | ||
kp6: say (1.HOW).methods; | |||
exp_evalbot | r19228: OUTPUT[incrementperlsmartmatchStrtrueHOWWHATā¤] | ||
[particle] | kp6: .say for (1.HOW).methods; | 16:23 | |
exp_evalbot | r19228: OUTPUT[syntax error at position 0, line 1 column 0:ā¤.say for (1.HOW).methodsā¤^ HEREā¤] | ||
16:24
ispy_ left
|
|||
[particle] | kp6: $_.say for (1.HOW).methods; | 16:24 | |
exp_evalbot | r19228: OUTPUT[no method 'say' in Class 'Undef'ā¤ at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 345ā¤ KindaPerl6::Runtime::Perl5::MOP::__ANON__('HASH(0x8160e4c)', 'say') called at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 169ā¤ | ||
..main::DISPATCH('HASH(0x8160e4c)', 'say') called at compiled/perl5-kp6-mp6/lib/KindaPerl... | |||
manne | hm, not sure I understand the difference between method and method descriptor :( | ||
hoelzro | is kp6 actually usable now? | ||
[particle] | kp6: say $_ for (1.HOW).methods; | ||
er, somewhat, apparently :) | 16:25 | ||
hoelzro | last time I messed around with Perl6, pugs was the way to go | ||
exp_evalbot | r19228: OUTPUT[no method 'APPLY' in Class 'Undef'ā¤ at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 345ā¤ KindaPerl6::Runtime::Perl5::MOP::__ANON__('HASH(0x8160e4c)', 'APPLY', 'HASH(0x8e819ac)') called at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 169ā¤ | ||
..main::DISPATCH('HASH(0x8160e4c)', 'APPLY', 'HASH(0x8e819ac)') ca... | |||
16:25
pbuetow joined
16:27
Kattana joined
16:36
hoelzro left
16:38
Patterner left,
Psyche^ is now known as Patterner
16:53
ywpg joined
16:54
ywpg left
16:55
masak left
|
|||
pasteling | "fglock" at 82.154.252.25 pasted "[parrot perl6] add BEGIN block parsing to grammar.pg" (25 lines, 694B) at sial.org/pbot/29273 | 17:03 | |
17:03
macae joined
17:05
pmichaud joined
17:08
hoelzro joined
|
|||
hoelzro | what's the Perl 6 equivalent to $"? | 17:08 | |
pmichaud | hoelzro: STD.pm says it's the .join() method | 17:09 | |
hoelzro | I see | ||
thanks | |||
17:11
pmichaud left
17:14
hoelzro left
17:19
IllvilJa joined
17:24
chris2 joined
|
|||
pasteling | "fglock" at 82.154.252.25 pasted "[parrot perl6] simple BEGIN block handling" (44 lines, 1.3K) at sial.org/pbot/29274 | 17:25 | |
avar | nice | 17:33 | |
parrot is really looking less horrid these days from a compiler writer's perspective. That TGE.pir stuff was ass:) | |||
pasteling | "fglock" at 82.154.252.25 pasted "[parrot perl6] simplest BEGIN block test" (7 lines, 61B) at sial.org/pbot/29275 | 17:35 | |
avar | how's perl6/nqp (whichever that is) speed wise? | 17:36 | |
17:36
hoelzro joined,
hoelzro left
17:37
agjal joined
|
|||
[particle] | avar: Files=26, Tests=208, 17 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) | 17:38 | |
that's for 00-parrot and 01-sanity tests | 17:39 | ||
no idea how that compares to kp6 | |||
17:41
Limbic_Region joined
17:42
franck___ left
|
|||
fglock | [particle]: nevermind comparing to kp6 - compare to perl5 instead :) | 17:45 | |
17:46
hoelzro joined
17:47
jhorwitz left
17:48
jhorwitz joined
|
|||
hoelzro | kp6: say 1..('9' / 2) | 17:48 | |
exp_evalbot | r19228: OUTPUT[no method 'APPLY' in Class 'Int'ā¤ at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 345ā¤ KindaPerl6::Runtime::Perl5::MOP::__ANON__('HASH(0x8e762b4)', 'APPLY') called at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 169ā¤ | 17:49 | |
..main::DISPATCH('HASH(0x8e762b4)', 'APPLY') called at - line 18ā¤] | |||
hoelzro | hmm | ||
17:49
hoelzro left
|
|||
rindolf | rgs: thanks for the upload of perl-5.10.0 | 17:51 | |
rgs | hello rindolf !!! | 17:53 | |
yes, 5.10.0 is out. | |||
[particle] | is 5.10 going out! yay! rgs++ | ||
we'll have parrot out momentarially | |||
rindolf | [particle]: which version of Parrot? | 17:54 | |
[particle] | 0.5.1 | ||
Juerd | Can't you bump that to 0.5.10? ;) | 17:55 | |
17:56
dlocaus joined
|
|||
moritz_ | ;-) | 17:56 | |
[particle] | i've also got punie (perl 1 on parrot) working, but not passing all original tests yet | 17:57 | |
by next year, we should have perl1 written in perl6 :) | 17:58 | ||
18:03
manne left
18:09
Limbic_Region left
|
|||
pmurias | [particle]: i that pace will have perl5 on parrot in 5 years and perl6 in 6 | 18:13 | |
[particle] works faster... | 18:14 | ||
18:16
kane_ joined
|
|||
pasteling | "fglock" at 82.154.252.25 pasted "[parrot perl6] BEGIN blocks can return a value" (25 lines, 916B) at sial.org/pbot/29276 | 18:21 | |
18:23
justatheory joined,
explorer joined
18:24
b_jonas joined
18:25
drrho left
18:31
ebassi left
18:39
rindolf left
18:58
pbuetow left
19:02
explorer left,
pbuetow joined
19:17
ebassi joined
19:22
Kattana left,
jcpiza left
19:33
xdg joined
19:34
jjore-m joined
19:43
macae left
19:51
ispy_ joined
20:11
akreal left
20:12
mncharity joined
20:24
kaether joined
20:25
barney joined
20:27
fglock left
20:37
buubot left,
buubot joined
20:46
jjore-m left,
rgs left
20:47
rgs joined
20:51
TJCRI joined
20:54
ebassi left
20:57
f0rth left,
f0rth joined
20:58
cookys_ joined
21:01
cookys left
21:03
buubot left,
kaether left,
buubot joined
21:04
hcchien left
21:05
jjore-m joined
21:09
barney left
21:12
ebassi joined
21:18
thoughtpolice joined
21:19
kane_ left
21:25
chris2 left
21:29
buubot left
|
|||
pugs_svn | r19229 | pmurias++ | [kp6-perl5] all tests pass with the caching emitter enabled however we don't do any real caching yet | 21:31 | |
21:32
buubot joined
|
|||
avar | haha | 21:32 | |
21:42
dlocaus left
|
|||
pmurias | avar: the commit isn't a silly as the description ;) | 21:45 | |
21:47
agjal is now known as meppel
21:49
jjore-m left
|
|||
avar | w 3 | 21:49 | |
22:03
ispy_ left
22:07
b_jonas left
22:09
jisom joined
22:13
buubot left,
buubot joined
22:22
buubot left
22:25
buubot joined
22:26
charsbar left,
charsbar joined
22:31
pmurias left
22:43
luqui joined,
ebassi left
22:46
TJCRI left
22:54
lichtkind joined
|
|||
lichtkind | TimToady: may i ask a question | 22:54 | |
Juerd | I think you just did! :) | 22:56 | |
Tene | I considered saying that, but no question mark. | 23:01 | |
23:01
ebassi joined
|
|||
lichtkind | Juerd: yeah but he seems offline | 23:05 | |
moritz_ | bugs.debian.org/cgi-bin/bugreport.cgi?bug=444711 pugs package for debian is orphaned - anybody wants to take over? | 23:06 | |
Juerd | Tried email? | ||
lambdabot | Title: #444711 - O: pugs -- Perl 6 Implementation - Debian Bug report logs | ||
lichtkind | Juerd: nop but it isnt that important right now | ||
Juerd | rafl: Weren't you the maintainer of the pugs deb? | ||
23:15
Caelum left
23:16
luqui left,
iblechbot left
23:17
polettix left
23:19
pen1 left
23:41
penk joined
|
|||
avar | Juerd: yes | 23:46 | |
23:47
polettix joined
|
|||
avar | hrm, it was removed from testing over a year ago | 23:47 |