»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend!
Set by sorear on 4 February 2011.
00:01 maja left, cdarroch left 00:02 alester left 00:03 maja joined 00:06 leprevost joined 00:13 plobsing joined 00:23 stifynsemons left 00:28 bbkr left 00:36 cosimo joined 00:52 bbkr joined 00:58 woosley joined 01:00 woosley left 01:01 hercynium left 01:11 mtk left 01:14 am0c joined 01:16 qiyong joined 01:20 mtk joined 01:25 stifynsemons joined 01:37 stifynsemons left 01:38 stifynsemons joined 01:48 stifynsemons left 02:00 noganex joined 02:03 noganex_ left 02:43 mikehh_ joined, whiteknight left 02:44 mikehh left 02:50 stifynsemons joined 03:03 stifynsemons left 03:10 _twitch joined 03:21 stifynsemons joined 04:02 bacek left 04:20 nymacro joined 04:23 Su-Shee_ joined
mberends good morning Su-Shee_ 04:24
04:26 Su-Shee left 04:54 hudnix left, hudnix joined 05:28 drbean left 05:40 GinoMan joined 05:51 charsbar left 05:52 charsbar joined
sorear good * #perl6 05:52
05:53 stifynsemons left
mberends good evening sorear 05:53
05:55 lamstyle_ is now known as lamstyle, lamstyle left, lamstyle joined 06:05 drbean joined, jaldhar left, jaldhar joined 06:09 drbean left 06:12 drbean joined 06:14 somenamenotregis joined 06:15 somenamenotregis left 06:16 drbean left 06:18 drbean joined 06:23 drbean left
tadzik good day 06:26
mberends morning tadzik
06:27 xinming_ joined
tadzik what a wonderful week it is 06:29
06:29 drbean joined
sorear how so? 06:29
mberends: I hear you're having goto issues *lure* *lure* 06:30
06:30 xinming left
tadzik sorear: I passed my driving exam, plus I'm going for probably the most exciting holidays I've had for months, maybe even counting the holiday season. And they will be Perl6-related 06:31
mberends sorear: it's a nasty itch. My sekrit project lures me stronger, though.
sorear out 06:32
tadzik so, I don't mind how things are :)
mberends tadzik: congrats on the driving license. Now only two more sleeps, and then the mini P6 hackathon really begins :) 06:33
06:34 cosimo left 06:40 drbean left
tadzik aye :) 06:40
06:42 drbean joined 06:47 necrodearia left 06:48 kaare_ joined 06:49 necrodearia joined, GinoMan left 07:10 robinsmidsrod left, cjk101010 joined 07:11 robins joined 07:15 mfranc joined 07:24 gdey_ left 07:25 donri joined, drbean_ joined 07:26 Mowah joined, drbean left 07:29 gdey_ joined 07:32 fhelmberger joined 07:37 justatheory left 07:38 drbean_ left 07:40 Su-Shee_ is now known as Su-Shee 07:42 mberends left 07:53 mberends joined
mberends donri: inventing toy languages on Parrot is exactly why pmichaud++ made the Parrot Compiler Toolkit. 07:53
donri Yea :) 07:54
moritz_ not just toy languages
donri Basing the syntax of a bastardization of Python + LISP + Haskell and some Perl 6, can you imagine 07:55
07:55 shi joined
donri i.imgur.com/6mIxi.png hooray making a vim syntax file before anything else 07:57
mberends I think Perl 6 is doomed to remain a toy language unless we can make at least one implementation that people outside of its developer circle choose to use on a large scale. 07:58
donri Agreed. That day is not doomed to not come, I would think, but might take years. 07:59
mberends aye
tadzik ie eleven years? :) 08:03
mberends a hundred years was (I hope jokingly) posited as the expected lifetime of Perl 6, so we have plenty of wiggle room. The greatest danger is that alternative projects lure away most of the developers before that chosen-by-ousiders implementation is delivered. 08:08
donri You mean in a hundred years it will be obsoleted? 08:11
With the singularity just around the corner I'm not so sure ;) 08:12
08:12 drbean joined
mberends donri: I am sure that a hundred years will see such unimaginable changes in computer architecture that there will be many currently unanticipated new language requirements. 08:13
donri Exactly
08:13 robins is now known as robinsmidsrod
donri Maybe the nanoclouds will run Erlang because of the heavy dependency on communication 08:14
mwahahah
mberends looks for his Erlang manual and realises he doesn't have one 08:15
08:16 Eevee left 08:20 drbean left 08:22 drbean joined
mberends it's sunny but freezing here in NL. sunny++ freezing-- 08:23
donri slightly-too-cold++ > slightly-too-hot-- 08:27
mberends jnthn would agree with you, but having lived in Africa, I like it hot 08:28
donri I like boys hot but weather is best served cold. :) 08:29
08:36 Eevee joined 08:50 tzhs joined
jnthn mberends: Sounds like nice weather. ;) 08:56
morning all, btw :)
08:59 mtk left
moritz_ \o 08:59
09:02 am0c left 09:08 mtk joined 09:13 tzhs left 09:18 tzhs joined 09:25 tzhs left 09:28 daxim joined 09:43 dakkar joined 09:49 woosley joined 10:00 agentzh joined 10:06 bacek joined 10:19 f00li5h left 10:28 leprevost left
tadzik o/ 10:32
11:09 nymacro left 11:11 nymacro joined 11:37 qiyong left 11:58 coldhead left 12:04 donri left, donri joined, zanga_zanga joined 12:06 zanga_zanga left 12:09 pumphaus left 12:10 woosley left, pumphaus joined 12:11 agentzh left 12:12 cognominal left 12:15 woosley joined 12:30 bluescreen10 joined 13:37 amkrankruleuen left 13:39 amkrankruleuen joined 13:45 stifynsemons joined 13:49 jferrero left 14:01 stifynsemons left 14:04 woosley left
moritz_ it's quiet in here. 14:05
donri lies, moritz_ just spoke 14:06
moritz_ I spoiled it!
donri have you no shame
14:09 plobsing left 14:13 spq joined 14:22 JimmyZ joined, jaldhar left 14:23 jaldhar joined 14:24 bluescreen10 left 14:26 amkrankruleuen left 14:29 pnu left 14:32 pnu joined 14:33 amkrankruleuen joined 14:34 pmurias_ joined, pmurias_ left, pmurias joined
pmurias sorear: ping 14:34
phenny: tell sorear could you explain what does newrwlist var do exactly? 14:35
phenny pmurias: I'll pass that on when sorear is around.
14:38 cogno joined, cogno left, cogno joined 14:46 cogno left 14:56 spq left 14:59 awoodland joined
PerlJam greetings 14:59
moritz_ o/
15:00 pigdude joined 15:03 pigdude left, pigdude joined 15:04 pmurias left 15:05 shi left 15:11 kaare_ left 15:12 mkramer joined
takadonet morning all 15:15
PerlJam good morning takadonet
15:16 bluescreen10 joined, wtw left 15:18 MayDaniel joined 15:21 tom_tsuruhara joined, tom_tsuruhara left 15:22 tom_tsuruhara joined, cjk101010 left
sorear phenny: tell pmurias Do you know the difference between [1,2,3] and @([1,2,3]) ? newrwlistvar is exactly like newscalar, but gives the result the flattening bit. 15:23
phenny sorear: I'll pass that on when pmurias is around.
sorear: 14:35Z <pmurias> tell sorear could you explain what does newrwlist var do exactly?
15:23 Axius joined 15:26 _twitch left 15:31 orafu left
takadonet pyrimidine: ping 15:32
15:40 plobsing joined
sorear good * #perl6 15:41
takadonet sorear: yo 15:42
15:50 mkramer1 joined 15:51 kaare_ joined 15:53 mkramer left, pmurias joined
pmurias sorear: hi 15:55
phenny pmurias: 15:23Z <sorear> tell pmurias Do you know the difference between [1,2,3] and @([1,2,3]) ? newrwlistvar is exactly like newscalar, but gives the result the flattening bit.
15:57 Axius left 15:58 JimmyZ left 15:59 stifynsemons joined 16:07 wooden joined
sorear phenny: hi 16:13
pmurias: hi
16:13 tyatpi_ left
pmurias sorear: i found a bug in niecza, commiting test for it.. 16:14
dalek ecza: 345f499 | pmurias++ | / (2 files):
[cl-backend] added division
16:15
ecza: e477540 | pmurias++ | t/bug.t:
added test for bug
pmurias sorear: SAFE.pm6 has a 1/0, that's not valid Perl 6
rakudo: say 1/0
p6eval rakudo 74dcce: OUTPUT«Inf␤»
pmurias or is it?
pugs: 1/0
p6eval pugs: OUTPUT«*** Illegal division by zero␤ at /tmp/786Eb9JH0S line 1, column 1 - line 2, column 1␤»
plobsing rakudo: say (1/0).perl 16:16
p6eval rakudo 74dcce: OUTPUT«1/0␤»
16:16 Patterner left
sorear pmurias: niecza's handling of numbers is quite wrong; but there have been more important things to worry about :/ 16:17
pmurias sorear: see the bug 16:18
sorear: it seems the pseudo-inlining pass turns some infix:<=> calls in constants incorrectly
16:19 Psyche^ joined, Psyche^ is now known as Patterner
sorear pmurias: = in constants is syntactically special 16:19
niecza: sub infix:<=>($,$b) { say $b }; constant quux = 1; my $a; $a = 2; 16:20
p6eval niecza v3-26-g77a9821: OUTPUT«2␤»
sorear looks right to me
that's not pseudo-inlining at work - it's special-cased in STD and in the actions
16:21 hercynium joined
sorear pugs: sub infix:<=>($,$b) { say $b }; constant quux = 1; 16:21
p6eval pugs: OUTPUT«*** ␤ Unexpected "$,$"␤ expecting formal parameter or ")"␤ at /tmp/X5YKhdECge line 1, column 15␤»
sorear pugs: sub infix:<=>($a,$b) { say $b }; constant quux = 1;
p6eval pugs: OUTPUT«*** ␤ Unexpected "="␤ expecting ":" or "("␤ at /tmp/PrnWzqQyiy line 1, column 48␤»
16:26 daxim left 16:29 kulp joined, kulp left 16:34 pmurias left, dsp_ left 16:35 plainhao joined 16:38 GinoMan joined 16:40 mtk left 16:42 dsp_ joined 16:46 fhelmberger left 16:47 cibs left 16:49 mtk joined, risou joined, pmurias joined, tyatpi_ joined
pmurias sorear: other thing, all the bif_* opcodes take containers as arguments, once we have an container removal optimalisation pass that will have to change 16:50
16:53 cogno joined
pyrimidine takadonet: pong 16:54
16:54 MayDaniel left, cogno left
sorear phenny: tell TimToady pmurias and I disagree on what sub infix:<=>($,$a) { say $a }; constant foo = 5; # should do 16:57
phenny sorear: I'll pass that on when TimToady is around.
sorear pmurias: I'm still waiting for a revelation on container removal. As long as post-declared subs can have is rw arguments, I don't think it's feasable. 16:58
pmurias sorear: i don't have a strong opinion on that
17:00 tyatpi_ left
jnthn sorear: Looking at STD and pondering implementation sanity, I agree with your interpretation. 17:00
pmurias sorear: we will need a proper optimalisation framework to do that 17:01
that is something hoopl based rather then adhoc code transformations
sorear nothing whole program can be reasonably done here 17:02
we need something fairly fast and sub-at-a-time, because as soon as a named sub is closed it can potentially be called 17:03
I asked TimToady earlier about sub...sub...sub... BEGIN { eval "sub" ~ (0..9).pick }
totally legit 17:04
pmurias hm?
jnthn hopes that can be relaxed for 6.0.0 17:05
pmurias you mean using eval to generate a sub name?
jnthn pmurias: No, calling subs in the current compilation unit in a BEGIN 17:06
If they're outside of the BEGIN itself, of course.
sorear in general, every time a BEGIN block is seen, all previous subs need to be callable 17:07
that includes implicit BEGINs in use, constant, enum, subset, etc 17:08
jnthn Easy to say, total nuisance to do.
17:09 mkramer1 left
jnthn Guess we'll end up needing to, though. :/ 17:09
17:10 pmurias left, justatheory joined 17:13 alester joined, pmurias joined
pmurias we can do the optimalisations after the last BEGIN 17:15
the optimiser doesn't have to be fast, if the optimiser takes 30sec to make the setting or a commonly used module a few times faster it's worth it
sorear: how can i compile SAFE.pm6 without a setting? 17:18
17:19 cibs joined 17:23 pmurias left 17:25 pmurias joined
sorear pmurias: on-stack replacement is a hard problem 17:26
theoretically, we should wait until the end of the MAIN CHECK to do sensitive optimizations 17:28
I'm not really sure how this should work
it's SAFE.setting, and it *is* a setting 17:29
I think you can just use -Bxxx -C SAFE
pmurias i want to run SAFE.setting with -Bclisp
and i don't want it to load lib/SAFE.setting 17:30
sorear: my understanding is that we will do whole program optimalisations once to program is safe to disk as .nam
sorear you don't need to do anything special - SAFE.setting is special cased to not load itself at NieczaFrontendSTD:497
pmurias in order to support calling subs out of BEGIN we will need to change our model to constructing the program picewise and then serialising it 17:34
17:35 mberends left
pmurias sorear: the psuedo-inliner doesn't handle the insides of infix:</> if i do that 17:37
sorear: would you mind the optimiser being in haskell (so that we don't need to rewrite hoopl) 17:39
17:40 dsp_ left 17:42 awoodland left 17:43 mberends joined, cdarroch joined, cdarroch left, cdarroch joined 17:47 pmurias left 17:48 pmurias joined 17:51 mfranc left
sorear pmurias: what do you mean? -C CORE and -C SAFE work fine, they're used in the Makefile 17:53
pmurias: yes, I oppose Haskell componenets. I just got done getting rid of all the Perl 5 components - I'm now quite pleased that the compiler can run in a single process 17:55
pmurias bjj& 17:57
17:57 pmurias left
sorear bjj? 17:57
18:00 mkramer joined 18:01 noganex left, mkramer1 joined, cjk101010 joined 18:03 lue left, lue joined 18:05 mkramer left, noganex joined 18:06 bluescreen10 left 18:09 dakkar left 18:10 ashleydev joined 18:18 ashleydev left, dsp_ joined 18:22 bluescreen10 joined 18:23 ashleydev joined 18:27 GinoMan left 18:28 AphelionZ joined 18:30 plobsing left 18:39 bluescreen10 left 18:40 risou left 18:46 jaldhar left 18:47 lue left 18:48 lue joined, AphelionZ left 18:49 AphelionZ joined, AphelionZ left 18:51 pmurias joined 18:55 nymacro left 19:01 ashleydev left, araujo left 19:10 pmurias left
mberends lue: are you working on the P6 to GCC project you blogged about? (rdstar.wordpress.com/2011/01/22/so...6-on-gcc/) I highly recommend Andy Shitov's Boost/Spirit based "Personal Perl 6 compiler" as a proof of concept. Demo: perl6.ru/p6c Russian talk: talks.shitov.ru/ppt/kzpw2009/inside...mpiler.pdf Source (in Subversion): svn://svn.shitov.ru/p6c 19:10
19:19 allbery_b left 19:24 allbery_b joined 19:25 araujo joined, plobsing joined 19:28 cjk101010 left
tadzik wklej.org/id/485775/ -- wouldn't that fix this and that? 19:39
moritz_ tadzik: try it :-) 19:40
tadzik hmm
it probably won't break anything :) I'll see if it works and maybe commit
19:42 masak joined
masak lol hi zebras 19:42
tadzik hmm, seems that nqp can't parse "if 5 && 7 > 5" 19:43
hai masak!
or it can
moritz_ nqp: say(3) if 5 && 7 > 5;
p6eval nqp: OUTPUT«3␤»
moritz_ nqp-rx: say(3) if 5 && 7 > 5; 19:44
nqprx: say(3) if 5 && 7 > 5;
p6eval nqprx: OUTPUT«3␤»
moritz_ nqprx: if 5 && 7 > 5 { say('OH YES') };
p6eval nqprx: OUTPUT«OH YES␤»
moritz_ doesn't see the problem
tadzik it's just me forgotting to use say with parens :)
forgetting I think
moritz_ I do that all the time too 19:45
tadzik but the patch doesn't parse for some reason
ooh, I see it 19:46
...why two underscores? :(
it won't fit in my vim now
yay, it works! 19:52
19:55 dsp_ left, dsp_ joined, ashleydev joined
masak std: my $______ 19:58
p6eval std 4608239: OUTPUT«ok 00:01 119m␤»
masak oh the obfuscation possibilities.
tadzik std: my $__\o/ 20:00
p6eval std 4608239: OUTPUT«===SORRY!===␤Confused at /tmp/viSNab8iqx line 1:␤------> my $__\⏏o/␤ expecting any of:␤ postfix␤ postfix_prefix_meta_operator␤Parse failed␤FAILED 00:01 120m␤»
jnthn std: ::_______
p6eval std 4608239: OUTPUT«ok 00:01 118m␤»
masak std: ::__::__::__ 20:01
p6eval std 4608239: OUTPUT«ok 00:01 118m␤»
dalek kudo: af66096 | tadzik++ | src/Perl6/Module/Loader.pm:
When loading a module, don't use .pir if it's older than the .pm
tadzik yay, my 17th commit :)
20:01 pigdude left 20:04 ashleydev left
jnthn tadzik++ :D 20:11
masak I can't believe we didn't have that one already. tadzik++
jnthn That'll save some confusion. :)
20:13 bluescreen10 joined
tadzik like with last Test.pm update 20:15
I wonder how many # XXX LHF live in the source tree
moritz_ ack for the rescue
tadzik almost a quarter of a percent of commits are mine :P 20:16
flussence for variable name obfuscation, PHP probably wins: $£€¥  = 1; 20:18
.u  
phenny U+00A0 NO-BREAK SPACE ( )
U+0020 SPACE ( )
20:19 bluescreen10 left 20:23 ashleydev joined
plobsing jnthn: is it worth converting Zavolaj to use the new Parrot pointer types (old ones are deprecated), or will nom be bringing larger changes here? 20:24
jnthn Zavolaj is worth updating. 20:27
nom may enable a bunch of stuff but Zavolaj will certainly go on existing beyond it.
(e.g. nom may help Zavolaj be better, but isn't a replacement for it.) 20:28
plobsing but will my changes just get swallowed up in a sea of nom changes in a couple of weeks (a case where I'd classify it as "not worth it")
basically, how much does nom change the inner workings of Zavolaj? 20:29
jnthn Zavolaj mostly works off signature and object introspection. The APIs for those will change little so far as Zavolaj is concerned. 20:31
plobsing OK 20:32
jnthn So ti's certainly worth it.
*it's
20:33 bluescreen10 joined 20:37 coldhead joined
mberends \o/ zavolaj updates! 20:42
20:44 pigdude joined, tyatpi_ joined, pigdude left 20:52 mberends left 20:53 mberends joined, plobsing left 20:55 ab5tract joined 20:57 stkowski joined 20:59 masak left 21:09 plobsing joined 21:14 plainhao left 21:15 takadonet left 21:21 mikehh_ is now known as mikehh, y3llow_ joined, pothos_ joined 21:23 pothos left, y3llow left 21:24 pothos_ is now known as pothos, y3llow_ is now known as y3llow, dsp_ left 21:26 jferrero joined 21:28 Rotwang joined 21:37 bluescreen10 left 21:46 dsp_ joined 21:57 plobsing left 22:03 gdey_ left 22:10 meraxes_ left 22:13 flussence_ joined 22:16 flussence left
dalek ecs: e1c674c | (Dave Whipp)++ | S32-setting-library/Numeric.pod:
Add conjugate method (for RT 76602)
22:23
22:30 araujo left 22:35 kulp joined 22:36 kulp left 22:37 eeffnnknnf joined 22:40 araujo joined 22:45 whiteknight joined 22:46 kaare_ left 22:47 gdey_ joined
dwhipp I was able to push directly to perl6/specs, but rakudo/rakudo.git is denied. Should I fork and send a pull request, or can I get a commit bit for rakudo (or should I be editing a different branch)? 22:53
22:54 Rotwang left 22:56 dalek left, kensanata joined 22:57 diakopter left
tadzik you might not have a commit bit to rakudo 22:58
people like Pull Requests, I observed
23:00 TimToady left, sorear left
dwhipp I think I have commit bit for specs and tests, but not rakudo itself. Pull requests aren't hard though 23:01
23:02 GinoMan joined 23:03 gdey_ left 23:06 tom_tsuruhara left 23:11 eeffnnknnf left 23:13 necrodearia is now known as mizerydearia 23:26 leprevost joined 23:34 gdey_ joined 23:39 Mowah left 23:46 plobsing joined 23:47 hercynium left 23:51 AphelionZ joined 23:56 athomason joined