Camelia, the Perl 6 bug

IRC log for #perl6, 2007-04-16

Perl 6 | Reference Documentation | Rakudo | Niecza | Specs

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

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

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo | Niecza | Specs