pugscode.org | temporary feather address: perl6.wall.org | sial.org/pbot/perl6 | ?eval [~] <m oo se> | We do Haskell, too | > reverse (show (scanl (*) 1 [1..] !! 4)) Set by allbery_b on 24 March 2007. |
|||
dduncan | TimToady, is pod like code comments, in that you should be able to put it on any new line and have it work (save for within multi-line quotes? | 00:01 | |
I found before that Pugs was having trouble when pod is present, in places that it shouldn't be | 00:02 | ||
I'm assuming that wasn't part of the spec, but thought I would ask | |||
00:02
baest joined
|
|||
dduncan | the test t/syntax/parsing/pod_in_multi_line_exprs.t demonstrates the issue | 00:04 | |
00:07
baest joined
00:10
mr_ank joined
00:57
jisom joined
|
|||
dmq | particle you around? | 01:00 | |
oh never mind. | 01:03 | ||
:-) | |||
good old browser history reveals all. | 01:04 | ||
01:07
nipotaway is now known as nipotan
01:21
rashakil_ joined
01:36
dolmans joined
02:14
jisom joined
02:18
eden_c joined
02:26
lambdabot joined
03:44
sri__ joined
03:57
perlmonkey2 left
04:27
amnesiac joined
04:37
jisom joined
04:48
nekokak_ joined
04:58
Alias__ joined
05:14
cognominal joined
05:40
devogon joined,
tcliou joined
05:41
lisppaste3 joined
05:52
rfordinal joined
05:53
tcliou_ joined
06:07
tcliou_ joined
06:14
BooK joined
06:24
tcliou joined,
marmic joined
07:02
iblechbot joined,
franck__ joined
07:12
miyagawa joined
07:21
kanru joined
07:24
miyagawa joined
07:25
jisom_ joined
07:30
Grrrr joined
07:37
Grrrr joined
07:42
forsaken joined
07:43
xinming_ joined
07:48
toshinori joined
07:53
rfordinal_ joined
08:13
rfordinal_ is now known as rfordinal
08:18
polettix joined
08:21
elmex joined
08:31
lichtkind joined
08:45
the_dormant joined
08:46
agentz joined,
the_dormant left,
ramzi_ joined,
the_dormant joined
|
|||
agentz | wow, ubuntu's debian has ghc 6. | 08:48 | |
lambdabot | agentz: You have 1 new message. '/msg lambdabot @messages' to read it. | ||
agentz | @messages | ||
lambdabot | audreyt said 6d 2h 29m 4s ago: fixed. | ||
lumi | ghc 6.6? | 08:55 | |
agentz | lumi: yes | 09:04 | |
lumi: although i have to install some extra libs manually like network-any. | 09:05 | ||
agentz is still experiencing svk problem on feather :( | 09:06 | ||
clkao | agentz: whqt's happening? | ||
agentz | clkao: same issue as last night | ||
(in cleanup) Svndiff data ends unexpectedly: Unexpected end of svndiff input | 09:07 | ||
clkao | so did you get something fresh? | ||
agentz | i've wept out my .svk and the pugs tree. | ||
audreyt's .svk/config still doesn't work for me. | |||
clkao | alright... it's a shared depot isn't it? | 09:08 | |
agentz | i've been following instructions given here: feather.perl6.nl/svk.html | ||
lambdabot | Title: SVK on Feather | ||
clkao | alright. | 09:09 | |
lemme see | |||
agentz | :) | ||
clkao: should i checkout the pugs repos myself instead of reusing audreyt's settings? | 09:12 | ||
clkao | hang on | ||
agentz | k | ||
clkao | bah, her repository is not group wriable | 09:16 | |
agentz | ah | ||
use sudo? | 09:17 | ||
clkao | don't remember my passwd... | ||
agentz | oh | ||
too bad | 09:18 | ||
clkao: which directory are you going to write to? maybe i can chmod for you | 09:20 | ||
clkao | chmod -R g+w /home/audreyt/.svk/pugs/db/revprops/ | 09:21 | |
agentz | a sec | ||
clkao | ditto for revs/ | ||
agentz | k | ||
done | 09:22 | ||
clkao | still can't sync... it says i can't write to /home/audreyt/.svk/pugs/db/revprops/0.tmp | 09:24 | |
but it setgid, no? | |||
right, and of course i am not audreyt | |||
agentz | heh | 09:25 | |
clkao | you can run sync ? | ||
agentz | no, i can't | ||
pasteling | "agentzh" at 221.131.65.179 pasted "svk sync" (6 lines, 356B) at sial.org/pbot/24251 | 09:27 | |
agentz | clkao: or you mean sync'ing audreyt's pugs? | ||
clkao | ya | 09:29 | |
agentz | agentzh@feather:/home/audreyt/pugs$ svk pull | ||
path /home/audreyt/pugs is not a checkout path. | |||
clkao | i mean svk sync -a | 09:31 | |
agentz | clkao: pugs.googlecode.com:443 is asking me for password. | 09:32 | |
it's audreyt's password, i think. | 09:33 | ||
okay, i've successfully used my username. | |||
never mind | |||
clkao | oh i didn't get that far at all.. | ||
agentz | it's going quite well. | ||
still downloading revs from remote. | 09:34 | ||
clkao | but. the google one doesn't matter.. | ||
agentz | *nod* | ||
sync //mirror/pugs gives the same errors as before | 09:35 | ||
"Unexpected end of svndiff input..." | |||
09:43
ofer joined
09:47
mr_ank joined
09:50
ruoso joined
10:06
IllvilJa joined
10:10
renormalist joined
10:16
IllvilJa joined
|
|||
renormalist | Hi! I'm working on an article about Pugs/Perl6 for a german IT magazine. I want to describe the state of 6.28 release. Is someone already working on the ChangeLog file? If not, how is this typically created? Does someone read all svn log messages since last release and makes them prose? | 10:18 | |
lambdabot | renormalist: You have 1 new message. '/msg lambdabot @messages' to read it. | ||
renormalist | Maybe I can help writing some lines for the ChangeLog en passant. But I don't really know about the details that happened since 6.13. Therefore I ask who might want talk about it, who can give help or does need help. | 10:23 | |
10:27
chris2 joined
|
|||
renormalist | damn, it's probably the wrong timezone everywhere (except here in de_DE. :-) | 10:29 | |
Alias__ | Did you get the message? | ||
moritz | renormalist: I'm sure audreyt could help you,but she's been around very seldom lately | 10:31 | |
10:38
buetow joined
|
|||
renormalist | moritz: k, thx, unfortunately audreyt seems to be needed for everything. I'm not sure I can take her time additionally to her lot of other stuff. | 10:46 | |
Alias__: Do you mean me? No I didn't get a message. At least not from you. Only from audreyt. | |||
Alias__ | That's what I meant | 10:47 | |
:) | |||
renormalist | mkay :-) | 10:48 | |
agentz | renormalist: iirc, audreyt once said in the svn log that she needed 2 solid days to push pugs into the shape of 6.28. | 10:52 | |
renormalist: according to my experience, ChangeLog is normally prepared by working through the svn log. | 10:53 | ||
11:02
dduncan left
11:12
iblechbot_ joined
11:26
nipotan is now known as nipotaway
|
|||
svnbot6 | r15923 | fglock++ | v6/docs - added mp6-yapc-sa-2007.pdf - MiniPerl6 talk at YAPC::SA::2007 | 11:37 | |
12:02
fglock joined
12:03
ludan joined
|
|||
devbot6 | planet6: Audrey Tang: YAPC-SA-2007 Hackathon <pugs.blogs.com/pugs/2007/04/yapcsa2...k.html> | 12:03 | |
fglock | masak: pong | 12:04 | |
12:06
thorat joined
12:07
eden_c joined
|
|||
lichtkind | renormalist: hallo steffen | 12:12 | |
renormalist: ich habe grad son artikel geschrieben vielleicht können wir uns ja austauchen | |||
12:13
the_dormant joined
|
|||
lichtkind | renormalist: oder gehts dir nur um features? | 12:15 | |
renormalist | lichtkind: beides. Wofür hast Du ihn geschrieben? | 12:16 | |
lichtkind | $foo | ||
12:17
renormalist joined
|
|||
lichtkind | siehe perl-magazin.de | 12:17 | |
renormalist: ok wenn was willst schreib mir per mail oder im channel bin dann weg | 12:22 | ||
renormalist | ok | 12:23 | |
war grad versehentlich weg, ich schreib dir | |||
lichtkind | gut muss jetzt wirklich | 12:25 | |
12:28
toshinor_ joined
12:29
fglock joined
|
|||
eden_c | fglock, boo! | 12:35 | |
how do I assign to an attribute? can't find it anywhere in the docs | 12:36 | ||
fglock | eden_c: attributes are like variables (but let me check) | 12:37 | |
eden_c: $x.attr = 42 | |||
eden_c | brb | 12:38 | |
12:39
fglock_ joined
12:40
eden_c joined
12:41
falesca joined
|
|||
fglock_ | eden_c: ping | 12:42 | |
eden_c | fglock_, pong | 12:43 | |
fglock_ | eden_c: vc viu minha resposta? | ||
eden_c | fglock_, yes | ||
pasteling | "eden_c" at 200.161.130.69 pasted "whats wrong?" (11 lines, 159B) at sial.org/pbot/24253 | 12:46 | |
eden_c | fglock_, what's wrong here? | ||
12:48
falesca joined,
falesca74 joined
|
|||
moritz | it tries to interpret bar as a method | 12:48 | |
but why? implemention error? | 12:49 | ||
eden_c | moritz, dunno, I'm trying to get the hang of the syntax | ||
moritz, since I'm not all that familiar, I can't go on blaming the implementation | 12:50 | ||
12:51
fglock joined
|
|||
fglock | eden_c: looking (lousy connection here) | 12:51 | |
moritz | eden_c: if you always use $!bar it works | 12:52 | |
instead of self.bar | |||
the problem could be that self.bar is handled like an external method call... | |||
and since $bar is private it fails | 12:53 | ||
fglock | does self!bar work? | ||
inside the class | |||
eden_c | checking | ||
nah | |||
no compatible subroutine found | 12:54 | ||
oops | |||
yes it works, sorry, forgot to fix one of the lines | |||
self!bar | 12:55 | ||
$!bar works too | |||
thx | |||
12:56
franck__ joined
12:59
lanny joined
13:00
alecc joined
|
|||
pasteling | "lanny" at 206.109.40.208 pasted "Rev where audreyt //mirror/pugs stops syncing" (6 lines, 300B) at sial.org/pbot/24254 | 13:04 | |
lanny | @tell agentz I put some time into looking at //mirror/pugs a few weeks ago. Seems to be related to sial.org/pbot/24254. Set yourself up a depot, mirror to pugs, and sync -s HEAD. Otherwise I think //mirror/pugs needs to be rebuilt. :( | 13:07 | |
lambdabot | Consider it noted. | ||
agentz | lanny: thanks. i was about to do that :) | 13:11 | |
lambdabot | agentz: You have 1 new message. '/msg lambdabot @messages' to read it. | ||
13:27
Jedai joined
13:28
OwlEye joined
13:39
OwlEye_ joined
13:53
polettix joined
|
|||
svnbot6 | r15924 | fglock++ | kp6 - added compiler-env changes monitor (for BEGIN block serialization); eden_c++ cmarcelo++ | 13:56 | |
r15924 | fglock++ | - TODO update | |||
r15925 | fglock++ | mp6 - Perl5 emitter: fixed Array inside signature: method ( $a, [ $b, $c ] ) ... | |||
r15925 | fglock++ | - Perl5 emitter: implemented "warn" | |||
13:57
amnesiac joined,
[particle] joined
|
|||
svnbot6 | r15926 | fglock++ | rm hackathon plan | 14:02 | |
14:04
vel joined
14:05
agentzh joined
|
|||
agentzh | "make smoke" also has problems in my ubuntu linux box. :( | 14:06 | |
just as that p6l thread describes, smoke.yml is generated but testgraph can't be obtained from it. | 14:08 | ||
well, i mean p6c | |||
it's weird that the smoke only takes 16 min to complete on my machine. is it normal? | 14:10 | ||
svnbot6 | r15927 | fglock++ | mp6 - added mp6-to-ast script | 14:17 | |
agentzh | interesting, 'time make test' gives | 14:27 | |
real 14m23.769s | |||
user 13m2.789s | |||
sys 0m37.446s | |||
i think it should be even faster if i set concurrent to 2 or more. :) | 14:28 | ||
14:29
iblechbot joined
14:33
buetow joined
14:34
Limbic_Region joined
14:38
jerrylee joined
14:40
kanru joined
14:41
[particle] joined
|
|||
jerrylee | hi is mp6 still working? | 14:41 | |
14:44
fglock joined
|
|||
fglock | jerrylee: it works here | 14:44 | |
jerrylee | so kp6 is target to hack or mp6? | 14:45 | |
hi fglock | |||
you did great job | 14:46 | ||
14:46
mako132 joined
|
|||
fglock | jerrylee: thanks | 14:46 | |
kp6 is a separate project; it uses mp6 as the primary devel language | 14:47 | ||
jerrylee | fglock: pugs source code is a big trunk, which part is developing? | ||
fglock | v6/ contains the perl6-in-perl6 programs | 14:48 | |
jerrylee | fglock: so it's the main part for future perl6? | 14:49 | |
fglock | try this, under v6/v6-MiniPerl6/ : perl run-mp6.pl hello.pl | ||
jerrylee: I don't know, it depends how far the project will go | |||
jerrylee | fglock: ok | 14:50 | |
fglock | so far it has been going on steadily, with a new phase each ~6 months | 14:51 | |
14:51
perlmonkey2 joined
|
|||
jerrylee | fglock: it gimme Can't locate v6.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) | 14:51 | |
fglock | what is your directory and command line? | 14:53 | |
jerrylee | pugs\v6\v6-MiniPerl6>perl run-mp6.pl hello.pl | ||
fglock: is that correct dir? | 14:54 | ||
fglock | hmm - try this: perl mp6-perl5-boot.pl < hello.pl | 14:55 | |
if it works, try: perl mp6-perl5-boot.pl < hello.pl | perl -Ilib | |||
compiles hello.pl to perl5, then run it | 14:56 | ||
jerrylee | both not working | ||
fglock: shall i added something to let it know v6.pm | 14:58 | ||
fglock | where does the error happen (file/line) ? | ||
no, it should not be looking for v6.pm at all | 14:59 | ||
jerrylee | fglock: C:/Perl/site/lib/lib.pm line 1 | ||
Compilation failed in require at mp6-perl5-boot.pl line 3. | 15:00 | ||
BEGIN failed--compilation aborted at mp6-perl5-boot.pl line 3. | |||
agentzh thinks it used to work perfectly on Win32 the last time he checked. | 15:01 | ||
fglock | does this change anything? perl -Ilib5 mp6-perl5-boot.pl < hello.pl | ||
which perl? perl -v | 15:02 | ||
jerrylee | This is perl, v5.8.8 built for MSWin32-x86-multi-thread | ||
fglock: perl -Ilib5 mp6-perl5-boot.pl < hello.pl got the similar error | 15:04 | ||
fglock | jerrylee: sorry, no idea. I'll try it on windows later (I'm now on osx) | ||
jerrylee | fglock: no problem | ||
15:09
fglock joined
|
|||
jerrylee | fglock: use lib 'lib5'; in mp6-perl-boot.pl will cause the error | 15:09 | |
fglock | one possible problem would be if you had ./lib in your path; try renaming ./lib to something else? | 15:10 | |
15:10
SCalimlim joined
|
|||
fglock | because ./lib contains perl6 code | 15:10 | |
jerrylee | fglock: ok | 15:11 | |
fglock: no, still fail | 15:12 | ||
fglock | back in 30min # lunch | 15:13 | |
jerrylee | fglock: no problem | ||
fglock: see you tomorrow, midnight here ;) | |||
agentzh | jerrylee: it works for me (on WinXP) | 15:17 | |
jerrylee | agentzh: really? you use v5.8.8 too? | ||
agentzh | jerrylee: no, i'm using ActivePerl 5.8.7. | ||
but i don't think if there's a difference. | |||
which directory are you in? | 15:18 | ||
the output of "dir"? | |||
jerrylee | agentzh: i see | ||
D:\svn\client\pugs\v6\v6-MiniPerl6> | |||
agentzh | same here | ||
have you updated your pugs copy? | |||
svn up or something | |||
jerrylee | agentzh: not yet today, i updated yesterday | 15:19 | |
agentzh: i will try it now | |||
agentzh | k | ||
agentzh is also deep in mid-night. | |||
jerrylee | agentzh: really? are you in asia? | 15:20 | |
agentzh | yup | ||
jerrylee | agentzh: in taiwan? | ||
agentzh | no, in .cn | ||
jerrylee | agentzh: no wonder | ||
agentzh | :) | ||
jerrylee | 11:19 here | 15:21 | |
agentzh | 11:21 here | ||
jerrylee | still not working, update to 15927 | ||
agentzh | Hmm | 15:22 | |
jerrylee | i suspect it's perl 5.8.8 issue ;) | ||
i comment all the code after use lib 'lib5', but still error | |||
agentzh | perl -Ilib5 mp6-perl5-boot.pl < hello.pl ? | ||
jerrylee | agentzh: still not working.. | 15:23 | |
agentzh | error messages? | ||
jerrylee | D:\svn\client\pugs\v6\v6-MiniPerl6>perl -llib5 mp6-perl5-boot.pl | ||
Can't locate v6.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at C: | 15:24 | ||
/Perl/site/lib/lib.pm line 1. | |||
BEGIN failed--compilation aborted at C:/Perl/site/lib/lib.pm line 1. | |||
Compilation failed in require at mp6-perl5-boot.pl line 3. | |||
BEGIN failed--compilation aborted at mp6-perl5-boot.pl line 3. | |||
15:24
forsaken joined
|
|||
agentzh | Hmm | 15:24 | |
jerrylee | so weird, i need some time ;) | ||
agentzh | could you paste your mp6-perl5-boot.pl via the nopaste? | 15:25 | |
try sial.org/pbot/perl6 | |||
lambdabot | Title: sial.org Pastebot - pasteling | ||
jerrylee | agentzh: ok | ||
pasteling | "jerrylee" at 210.192.173.68 pasted "mp6-perl5-boot.pl" (39 lines, 906B) at sial.org/pbot/24259 | 15:26 | |
jerrylee | here it is | ||
agentzh | looking | 15:27 | |
15:27
forsaken joined
|
|||
agentzh | ah | 15:27 | |
you've modified it manually? | |||
jerrylee | after all error | 15:28 | |
so i modified it | |||
but still error | |||
agentzh | comment out the third line | ||
(revert the file first) | 15:29 | ||
the third line is unnecessary once you specify -Ilib5 on the command line. | |||
does it work? | 15:30 | ||
jerrylee | yes, error changed Can't locate MiniPerl6/Perl5/Runtime.pm in @INC (@INC contains: C:/Perl/site/lib | 15:31 | |
C:/Perl/lib .) at mp6-perl5-boot.pl line 11. | |||
BEGIN failed--compilation aborted at mp6-perl5-boot.pl line 11. | |||
agentzh | what's your command? | 15:32 | |
your @INC looks wrong to me | |||
jerrylee | perl mp6-perl5-boot.pl | ||
15:32
forsaken joined
|
|||
agentzh | try perl -Ilib5 mp6-perl5-boot.pl | 15:33 | |
-Ilib5 is mandatory here. | |||
it hangs, right? | 15:34 | ||
jerrylee | no same error | 15:35 | |
agentzh | really? | ||
are you sure? | 15:36 | ||
jerrylee | yes | ||
no hang | |||
agentzh | paste your latest errors please | ||
jerrylee | D:\svn\client\pugs\v6\v6-MiniPerl6>perl -llib5 mp6-perl5-boot.pl | ||
Can't locate MiniPerl6/Perl5/Runtime.pm in @INC (@INC contains: C:/Perl/site/lib | |||
C:/Perl/lib .) at mp6-perl5-boot.pl line 11. | |||
BEGIN failed--compilation aborted at mp6-perl5-boot.pl line 11. | |||
agentzh | i've found your error | 15:37 | |
15:37
forsaken joined
|
|||
jerrylee | agentzh: really? great! | 15:37 | |
agentzh | it's -I, not -l | 15:38 | |
upper-case form of 'i' | |||
jerrylee | ok | ||
yes hang | |||
agentzh groans. | |||
yay! | |||
kill it via Ctrl-C | 15:39 | ||
then try out the follow command: | |||
jerrylee | yes, it works now | ||
< hello.pl | |||
agentzh | perl -Ilib5 mp6-perl5-boot.pl < hello.pl | ||
yup! | |||
agentzh thinks jerrylee has a weird lib.pm in his perl installation. | |||
jerrylee | thanks a lot, agentzh! | ||
i guess so | 15:40 | ||
agentzh | my pleasure ;) | ||
maybe you should fix your perl installation. | |||
end of day for me, have fun with mp6 :) | |||
jerrylee | agentzh: yes activeperl issue ;) | ||
agentzh | & | ||
15:41
agentzh left
|
|||
jerrylee | wa an | 15:41 | |
wan-an | |||
15:41
forsaken joined
|
|||
gaal | @tell agentzh sounds pretty fast! got a new machine? | 15:43 | |
lambdabot | Consider it noted. | ||
15:48
zamolxes joined
|
|||
gaal | ooh, the release plans mail simonm posted to ghc-users sounds cool | 15:49 | |
svnbot6 | r15928 | kudra++ | Reconstructed corrupted threads | ||
gaal | I wonder what happened to overloaded string literals though | ||
jerrylee | see you guys | 15:53 | |
pasteling | "evalbot_r15927" at 194.145.200.126 pasted "Pugs build failure" (53 lines, 2.2K) at sial.org/pbot/24260 | ||
"evalbot_r15927" at 194.145.200.126 pasted "Pugs build failure" (173 lines, 8.6K) at sial.org/pbot/24261 | |||
15:54
buetow joined
|
|||
svnbot6 | r15929 | kudra++ | Update | 15:55 | |
15:57
fglock joined
15:59
araujo_ joined
16:00
marmic joined
|
|||
lumi | gaal: You wanted free fast bytestrings? | 16:00 | |
16:03
ruoso joined
|
|||
gaal | of course I do :) | 16:04 | |
moritz | free, fast, easy: choose two ;-) | ||
gaal | actually "free" here means easy | 16:05 | |
the idea is discussed here: www.mail-archive.com/haskell-prime@...01884.html | 16:07 | ||
lambdabot | Title: String literals, tinyurl.com/22js3m | ||
16:11
fglock joined
|
|||
gaal | oh, cool: search.cpan.org/~bradfitz/ShipIt/lib/ShipIt.pm | 16:12 | |
lambdabot | Title: ShipIt - software release tool - search.cpan.org | ||
lumi | moritz: Yes, in this case it's all three | 16:14 | |
[particle] | laziness, impatience, hubris: pick two :) | ||
16:14
araujo joined
|
|||
lumi | With Data.ByteString.Lazy you get all three! | 16:15 | |
aiui | |||
gaal | laziness, laziness, laziness: pick, oh, never mind | 16:16 | |
moritz | ?eval <a b c d e>.pick(2) | 16:18 | |
16:18
evalbot_r15921 is now known as evalbot_r15929
|
|||
evalbot_r15929 | ("d", "a") | 16:18 | |
TimToady | ?eval <a b c d e>.pick(*) | 16:19 | |
evalbot_r15929 | ("e", "b", "c", "d", "a") | ||
TimToady | ?eval (^10).pick(*) | 16:20 | |
evalbot_r15929 | (0.0, 9.0, 7.0, 3.0, 4.0, 8.0, 1.0, 2.0, 6.0, 5.0) | ||
gaal | wow, that's shorter than "permute" :) | ||
actually no it's the same length | 16:21 | ||
TimToady | kind of a pity the parens are required around ^10 there, but that's what the precedence requires | ||
?eval (^10).pick: * | 16:22 | ||
evalbot_r15929 | (8.0, 3.0, 4.0, 2.0, 7.0, 0.0, 6.0, 9.0, 1.0, 5.0) | ||
[particle] | <nose friends>.pick(1) ;) | ||
TimToady | ?eval (^10).pick:* | ||
evalbot_r15929 | Error: Unexpected ":*"expecting term postfix or operator | ||
TimToady | good, that's supposed to be a syntax error | ||
moritz | do method calls like <3 4 1>.join(";") always need the parenthesis? | ||
TimToady | parens or colon | 16:23 | |
moritz | ok | ||
TimToady | otherwise assumed to have no (extra) arguments | ||
moritz is translating perlintro to p6 | |||
TimToady | ?eval <3 4,1>.join: ';' | ||
evalbot_r15929 | "3;4,1" | ||
moritz | and I don't want to write nonsense ;-) | ||
TimToady | oops | ||
basically, colon turns a .method into a listop, and listops all require a space before the first arg. | 16:24 | ||
so this should error too: | |||
?eval <3 4,1>.join:';' | |||
evalbot_r15929 | Error: Unexpected ":';'"expecting term postfix or operator | ||
16:25
gnuvince joined
|
|||
gaal | must the colon be flush with the method? | 16:25 | |
TimToady | but could probably give a more useful error message "you need a space there" | ||
yes, as must the () unless you use .() | |||
or .\ () | |||
gaal | nod | ||
TimToady | ?eval <3 4 1>.join\ : ';' | ||
evalbot_r15929 | Error: Unexpected ": ';'"expecting "." | ||
TimToady | looks like unspace incorrectly implemented thre | 16:26 | |
*there | |||
gaal | hmm. lexer loophole | ||
TimToady | need a better lexer/parser :) | ||
gaal | an obscure cousin of lex luthor | 16:27 | |
moritz | TimToady: write a test case ;-) | ||
TimToady | already did, the test is for pugs to parse STD.pm :P | ||
(and run) | |||
moritz | how far away are we from that? | ||
TimToady | dunno, I can run it through "cheat" and get it to parse and start running, but I have no clue how close it is to actually working. | 16:30 | |
and to be perfectly honest, there are likely a lot of bugs still | |||
including places where it should recognize "unspace". | |||
in fact, I don't think it recognizes unspace between .foo and : yet either | |||
moritz | pugs or STD.pm? | 16:31 | |
svnbot6 | r15930 | fglock++ | mp6 - the build script now removes lib5-new/ at start | ||
r15930 | fglock++ | - semicolon is optional after a block - nferraz++ | |||
TimToady | STD | ||
I already demonstrated pugs doesn't above | |||
16:31
fglock joined
|
|||
moritz | on my local pugs nested rules with a depth >2 reliably produce "internal errors" | 16:32 | |
fglock | I plan to use STD for next generation of kp6 | ||
but there are a few things to do first | |||
svnbot6 | r15931 | Nelson++ | Updated TODO | ||
[particle] | we've just working on a STD parser for parrot | ||
fglock | moritz: may be a perl5 embedding error :( | 16:34 | |
svnbot6 | r15932 | Nelson++ | Expand @arrays inside of regexps. | 16:35 | |
r15933 | lwall++ | STD: methodop didn't recognize unspace before : or () | |||
TimToady | [particle]: you may also be interested in the "cheat" script for bootstrapping the parrot parser, since it hides some of the more advanced features. | 16:36 | |
fglock | cmarcelo would try to work on native rule support for pugs, but we didn't have much time during the hackathon | ||
Nelson: ping | 16:37 | ||
16:37
franck__ joined
|
|||
TimToady | ?eval lazy $cmarcello++ | 16:38 | |
16:38
evalbot_r15929 is now known as evalbot_r15930
|
|||
evalbot_r15930 | Error: Cannot cast from VInt 0 to Pugs.AST.Internals.VCode (VCode) | 16:38 | |
svnbot6 | r15934 | Nelson++ | Fixed the quoted-word-operator <...> to ignore spaces before the list of words | ||
[particle] | TimToady: indeed, where can i find it? | 16:39 | |
moritz | src/perl6/ iirc | ||
svnbot6 | r15935 | Nelson++ | Fixed the "fish operator" =<> | ||
moritz | pugs repository | ||
TimToady | pugs/src/perl6 | 16:40 | |
fglock | Nelson++ # v6.pm new user+maintainer :) | 16:41 | |
TimToady | yes, ++ | 16:42 | |
16:42
justatheory joined
|
|||
moritz | should pugs' @*INC contain standard perl5 @INC pathes? | 16:44 | |
like /usr/share/perl/5.8 | |||
TimToady | maybe pugs should get a real library system and not make the mistake of mapping straight to the filesystem like Perl 5. :) | 16:45 | |
witness the "use Strict" fiasco currently being discussed on p5p... | 16:46 | ||
moritz | I don't read p5p... is it because some filesystems are case-insensitive? | 16:47 | |
TimToady | yes | 16:48 | |
moritz | bad luck ;-) | 16:50 | |
specbot6 | r14375 | larry++ | Module names must respect case sensitivity even on case-insensitive systems. | 17:02 | |
gaal | TimToady: what's the title of the Strict thread? | 17:04 | |
TimToady | the Strict trap | 17:06 | |
gaal | ah, found it. thanks www.xray.mpe.mpg.de/mailing-lists/p...00519.html | ||
TimToady | actually "The Strict trap" | ||
lambdabot | Title: The Strict trap, tinyurl.com/2dhjfa | ||
svnbot6 | r15936 | Nelson++ | started porting Test.pm to mp6 | 17:09 | |
pasteling | "evalbot_r15935" at 194.145.200.126 pasted "Pugs build failure" (411 lines, 23.5K) at sial.org/pbot/24262 | 17:10 | |
17:14
eden_c joined
17:20
Lorn joined,
Psyche^ joined
17:24
Psyche^ is now known as Patterner
17:31
ntgrl joined
17:36
edencardim joined
17:37
buetow joined,
edenc joined
17:39
orafu joined
|
|||
edenc | can I use the account I got from invite.pugscode.org/ to checkout stuff via ssh? | 17:45 | |
lambdabot | Title: Login | ||
moritz | edenc: no, for ssh you need shell access to feather | 17:47 | |
edenc: what do you need ssh for? | |||
edenc | I'm behind a proxy that doesn't allow svn requests | ||
ruoso | ouch... | ||
edenc | I have a feather account | ||
ok, made it... thx | 17:48 | ||
moritz | edenc: in that case you can still use https:// | 17:49 | |
17:50
larsen_ joined
17:54
IllvilJa joined
17:58
integral joined
17:59
mako132 joined
18:01
mako132 joined
18:05
avar joined
18:17
jisom joined
|
|||
dmq | tye mcqueen years ago posted a fix for the Strict Trap | 18:21 | |
18:25
mj41_ joined
18:40
fglock joined
|
|||
gaal | dmq: was it something along the line's of what Abigail suggested? have strict.pm emit a warning in Strict::import | 18:40 | |
18:41
gnuvince left
|
|||
dmq | perlmonks.org/index.pl?node_id=66587 | 18:42 | |
lambdabot | Title: Universally unimportant and overused | ||
dmq | no it wasnt. | ||
it was to overload UNIVERSAL::require() | |||
gaal | nice fix. | 18:44 | |
but what's the point of overused? | |||
so what if I could have said require? | |||
plus, maybe I really couldn't. (when a side effect of it loading early is important) | 18:45 | ||
svnbot6 | r15937 | fglock++ | mp6 - more <''> to '' cleanup | 18:46 | |
r15937 | fglock++ | - semicolon cleanup in Grammar | |||
18:47
mj41__ joined,
mj41__ is now known as mj41
|
|||
pasteling | "evalbot_r15936" at 194.145.200.126 pasted "Pugs build failure" (326 lines, 18.5K) at sial.org/pbot/24264 | 18:50 | |
18:57
mako132 joined
19:02
bonesss joined,
ortmage_ joined
19:04
fglock joined
19:50
fglock joined
|
|||
fglock | ?eval my $a; $a<x>; $a.WHAT | 19:50 | |
19:50
evalbot_r15930 is now known as evalbot_r15937
|
|||
evalbot_r15937 | ::Hash | 19:50 | |
fglock | is this a bug? | ||
19:50
OwlEye_ is now known as OwlEye
|
|||
moritz | seems like.. I don't recall an autovivication-like coercion to hashes ;-) | 19:51 | |
offby1 is an anti-auto-vivisectionist | 20:02 | ||
svnbot6 | r15938 | fglock++ | kp6 - recovered env-notify modifications made during the hackathon | 20:05 | |
20:06
fglock joined
20:07
devogon joined
|
|||
fglock | hmm - 10 more hackathon days and kp6 would have been finished | 20:08 | |
got some thousand lines of runtime to write | 20:10 | ||
moritz | fglock: do you have a summary of the p6 features that kp6 supports? | 20:11 | |
fglock | moritz: first lines of svn.pugscode.org/pugs/v6/v6-KindaPerl6/TODO | 20:12 | |
moritz | fglock: ok, thanks | ||
fglock | where 'lexical classes/subs' means a dynamic grammar | ||
20:15
Aankhen`` joined
20:22
geoffb joined
20:26
polettix joined
|
|||
svnbot6 | r15939 | fglock++ | kp6 - started Scalar.BIND | 20:29 | |
fglock | bind + BEGIN-block is real hard | 20:41 | |
20:44
awwaiid joined
21:04
ortmage_ joined
21:10
shachaf joined
21:15
dduncan joined
21:50
vreg joined
21:51
demq joined
21:56
OwlEye joined
|
|||
buu | ?eval my %hash = <<a b c d>>; | 22:09 | |
22:09
evalbot_r15937 is now known as evalbot_r15939
|
|||
evalbot_r15939 | {("a" => "b"), ("c" => "d")} | 22:09 | |
buu | ?eval my %hash = <<a b c d>>; (%hash.each { "$^k=$^v" }).join("&"); | 22:10 | |
evalbot_r15939 | Error: Unexpected "{"expecting operator or ")" | ||
buu | Mmmm. | ||
Is there something close to what I'm trying to do? | |||
?eval my %hash = <<a b c d>>; %hash.each { "$^k=$^v" } | 22:11 | ||
evalbot_r15939 | Error: Unexpected "{"expecting operator | ||
Tene | ?eval my %hash = <<a b c d>>; %hash.kv.map: { "$^k=$^v" } | 22:12 | |
evalbot_r15939 | ("a=b", "c=d") | ||
Tene | ?eval my %hash = <<a b c d>>; %hash.kv.map: { "$^k=$^v" }.join("&") | ||
evalbot_r15939 | "a=b\&c=d" | ||
Tene | ?eval my %hash = <<a b c d>>; %hash.kv.map: { "$^k=$^v" }.join("&").say; | ||
evalbot_r15939 | OUTPUT[a=b&c=d] Bool::True | ||
buu | Oh. | ||
Tene | ?eval my %hash = <<a b c d>>; %hash.each | 22:13 | |
evalbot_r15939 | Error: Unimplemented unaryOp: each | ||
buu | Shucks. | ||
moritz | what's each vor? we have kv | ||
which gives a (lazy)list of pairs | 22:14 | ||
Tene | dunno what he wanted it to do. | ||
buu | The same thing. | ||
I just liked 'each' as a name =] | |||
moritz | ok ;-) | ||
Lorn | [OT] somebody here use svk on macosx? i have some problems with SVN::Core :/ | 22:15 | |
Tene | ?eval sub each (%h) { %h.kv }; my %hash = <<a b c d>>; %hash.each | 22:17 | |
evalbot_r15939 | ("a", "b", "c", "d") | ||
22:20
offby1` joined
22:22
offby1` is now known as offby1
23:11
devogon joined
23:13
marmic joined
23:32
offby1 joined
23:46
mako132 joined
23:48
mjk joined
|