Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2006-03-23

Perl 6 | Reference Documentation | Rakudo

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

All times shown according to UTC.

Time Nick Message
00:09 |Jack| joined perl6
00:19 avar just in what state is the lrep compiler?
00:20 pasteling "avar" at 85.197.228.236 pasted "Obviously not very advanced..." (18 lines, 611B) at http://sial.org/pbot/16464
00:20 |Jack| left perl6
00:24 |Jack| joined perl6
01:04 arcady getting it to support double quotes is probably non-trivial though
01:04 arcady since you have to do interpolation and so on
01:06 avar and "{1+1}"
01:08 arcady and just unescaping takes some effort
01:26 amnesiac joined perl6
01:40 Khisanth joined perl6
01:59 avar arcady: I was just wondering what it does support ATM;)
02:11 arcady barely enough to compile itself, I think
02:11 arcady and that only partly
02:20 arcady though technically only two files of perl 5 left: Grammar/Perl6Init.pm and Emitter/Perl5.pm
03:10 meppl gute nacht
04:44 mako132_ joined perl6
05:09 Quell joined perl6
05:13 xern joined perl6
05:38 chunzi joined perl6
05:56 dduncan left perl6
05:57 Odin- joined perl6
06:15 jisom_ joined perl6
06:17 iblechbot joined perl6
06:22 rgs joined perl6
06:27 justatheory joined perl6
06:36 jisom_ is now known as jisom
06:38 GeJ joined perl6
06:54 audreyt Juerd: *demark*
06:55 audreyt for the record, I think the structural rules syntax (not implemented in PGE yet) and multimethods is sufficient to do what TGE does, in a more perlish fasion
06:56 GeJ morning folks
06:56 audreyt (grep S02 for <,> to see an example)
07:11 nothingmuch joined perl6
07:33 Aankhen`` joined perl6
07:34 gaal morning!
07:34 * Aankhen`` looks around.
07:34 Aankhen`` Hi gaal!
07:35 gaal Aankhen``! haven't seen you about in a while. How's stuff?
07:36 Aankhen`` Hectic.
07:36 Aankhen`` I've been lurking. :-)
08:02 drrho joined perl6
08:03 nothingmuch 7/quit
08:03 nothingmuch joined perl6
08:07 marmic joined perl6
08:11 Grrrr joined perl6
08:21 KingDiamond joined perl6
08:55 nothingmuch joined perl6
08:57 spo0nman hmm
08:58 spo0nman I just compiled parrot on linux ... everything went smoothly but i get this error when i try to run parrot
08:58 spo0nman pankaj@serpent:/tmp/parrot-0.4.2 $ parrot
08:58 spo0nman parrot: error while loading shared libraries: libparrot.so.0.4.2: cannot open shared object file: No such file or directory
08:58 spo0nman whats wrong?
09:13 DesreveR is now known as r0nny
09:20 wilx joined perl6
09:29 Odin- joined perl6
09:42 gaal joined perl6
10:04 Gothmog_ spo0nman: It seems that libparrot.so.0.4.2 is not existent, or not to be where it should be. What about "find -name libparrot.so\*"?
10:05 pd_pynky joined perl6
10:09 spo0nman Gothmog_: let me try.
10:09 fandango joined perl6
10:14 spo0nman Gothmog_: it lists /usr/local/lib/libparrot.so
10:14 spo0nman /usr/local/lib/libparrot.so.0.4.2
10:16 spo0nman hmm, I have declare -x LD_LIBRARY_PATH="/home/share/kde-unstable/lib:"
10:16 spo0nman from when i was doing kde dev ... i wonder if this is messing things up.
10:20 KingDiamond spo0nman: do a copy like you did the other day on your FBSD box
10:20 spo0nman KingDiamond: what copy?
10:21 spo0nman KingDiamond: No, thats not the problem ... Strace shows that its looking for libs in some .kde directory. i got it
10:23 Gothmog_ Next time you should just append the path, I suppose. :-)
10:29 drrho joined perl6
10:38 spo0nman Gothmog_: Im still not able to get pugs to work on BSD ... want to take a shot at that?
10:42 spo0nman http://pastebin.com/617748
10:42 spo0nman this is the output of the strace on parrot.
10:42 spo0nman X-(
10:52 Gothmog_ I'm not sure if /usr/local/lib is searched by default, without requiring you to put it in an environment variable like LD_LIBRARY_PATH... or you can try playing a symlink to the lib in a place which is searched.
10:53 Gothmog_ s/playing/placing/
10:54 Gothmog_ Like /usr/lib, e.g.
10:56 spo0nman /lib/tls/i686/sse2/cmov/libparrot.so.0.4.2 <------ whats this?
10:56 Gothmog_ In the output of strace?
10:57 spo0nman yes.
10:57 Gothmog_ I think pugs is just trying to open libparrot.so.0.4.2 in every place it can think of.
11:09 spo0nman hmm
11:11 nothingmuch Gothmog_: that's dlopen
11:11 nothingmuch therre's the LD_LIBRARY_PATH env variable
11:11 nothingmuch and the hard coded libs
11:11 nothingmuch and /etc/ld.cache or whatever
11:11 nothingmuch and all of them can affect the order in which paths are tried
11:11 nothingmuch so it's not pugs per se, it's the dynamic linking stuff
11:11 nothingmuch but yes, that's basically it: pugs is trying to open libparrot.so.0.4.2 in every place it can think of =)
11:12 nothingmuch spo0nman: hope that helps
11:12 nothingmuch normally pugs's Makefile.PL is supposed to find parrot's lib based on what parrot tells it about it
11:12 nothingmuch maybe #parrot on irc.perl.org can help with this
11:13 spo0nman nothingmuch: hmm.
11:28 meppl guten morgen
11:42 nothingmuch hi meppl
11:44 elmex joined perl6
11:46 meppl good morning nothingmuch
11:49 ruoso joined perl6
11:50 * ruoso can't read irc backlogs... irc.pugscode.org seems offline...
11:51 nothingmuch ruoso: http://colabti.de/irclogger/irclogger_log/perl6 works for me
11:53 ingy hola
11:55 nothingmuch hola ingy
11:55 ingy nothingmuch: elk
12:03 chris2 joined perl6
12:06 gaal moooooose
12:13 nnunley joined perl6
12:33 fglock joined perl6
12:34 b_jonas joined perl6
12:36 fglock audreyt: ping
12:37 fglock ruoso: ping
12:37 ruoso fglock, pong
12:38 ingy audreyt: elk
12:40 fglock ruoso: about the shift/unshift operations - these are internal operations that implement syntactic categories (see the macro implementation) - they should not be needed in the final version of the grammar
12:41 fglock I'll start implementing the operator precedence parser today (if I have time)
12:41 ruoso but... <@terms> is a valid syntax
12:41 ruoso and @terms must be an array of rule
12:41 ruoso s
12:42 ruoso why are they internal operations?
12:42 fglock ruoso: if you define 'sub terms:<op> {...}' then 'op' will be 'pushed' into @terms
12:43 rgs hi ingy
12:43 fglock not actually pushed, because there is the precedence
12:44 ruoso fglock, but isn't it valid to create an array of rules at runtime and use it in a match like <@terms>?
12:46 fglock ruoso: yes - but the syntactic category sugar has other advantages - for example, the effect is lexical
12:46 fglock (afaik)
12:47 fglock ruoso: and you can define precedence - precedence in @terms is more difficult to handle
12:48 ruoso fglock, the order of the pushes, or the order of the sub declarations... isn't it?
12:49 ruoso fglock, btw, did you mean 'rule terms:<op> {...}'?
12:50 fglock ruoso: look for 'is tighter' in S06
12:51 fglock ruoso: 'sub terms:<op> {...}' is an implementation that adds itself to the parser - it uses a default rule
12:55 fglock ruoso: 'macro/is parsed' in lrep - without 'is parsed'
12:55 mako132_ joined perl6
12:59 fglock ruoso: see also pmichaud op-precedence parser - http://search.cpan.org/~ltoetsch/parro​t-0.4.1/compilers/pge/PGE/OPTable.pir
13:02 iblechbot joined perl6
13:02 Dazhbog joined perl6
13:20 fglock ruoso: you can still use 'push/unshift' - the op-precedence parser is syntax sugar
13:24 Lorn__ joined perl6
13:25 elmex joined perl6
13:26 Lorn___ joined perl6
13:27 Limbic_Region joined perl6
13:29 Dazhbog Hello
13:29 KingDiamond joined perl6
13:30 Dazhbog can I compile and run perl6 code already? =)
13:30 Lorn___ is now known as Lorn_
13:32 Limbic_Region Dazhbog - I dunno - can you?
13:32 * Limbic_Region can
13:32 Limbic_Region everyone else here can
13:32 Limbic_Region can you?
13:37 Dazhbog well I can't say, I have never tried
13:38 Juerd I think you can do it
13:52 ruoso fglock, Hmmm... I think there is something wrong with the magic-return
13:53 ruoso fglock, the concat rule is not making an array with the capture from each subrule
13:53 ruoso fglock, if I have <rule1><rule2><rule3>
13:54 ruoso fglock, rule1 and rule3 are simple matches
13:54 ruoso fglock, rule2 returns a hashref
13:54 ruoso fglock,  should the capture be ['matchedbyrule1',{a=>1},'matchedbyrule2']?
13:56 ruoso fglock, or I am completely confused
13:57 stennie joined perl6
13:57 ruoso fglock, am I completely confused?
14:04 pasteling "ruoso" at 201.9.36.44 pasted "Match object with the unexpected behaviour..." (15 lines, 552B) at http://sial.org/pbot/16466
14:04 ruoso fglock, take a look at the paste....
14:04 ingy hi rgs, what's up
14:05 rgs ingy: I just wanted to mention the amusing fact that rpm has native yaml support since last week
14:05 ingy sign of end times
14:05 ingy surely
14:05 rgs surely. I repent
14:05 rgs (not my idea, though :)
14:06 fglock ruoso: looking
14:08 ruoso fglock, I'm not sure it's the concat rule... it's a guess
14:09 fglock ruoso: if you have <rule1><rule2><rule3>, then you get the result in %$match - the capture is a string
14:10 ruoso but %$match will have only the named captures, right?
14:16 ruoso fglock, I'm confused
14:17 * ruoso is almost understanding
14:18 fglock ruoso: yes, and @$match will have the unnamed captures - but captures that are quantified generate an array ref
14:18 fglock so a quantified named capture generates @{ $match{name} }
14:19 fglock but this is not implemented yet
14:19 ruoso oops
14:20 ruoso fglock, I think it's mandatory to lrep...
14:20 fglock it can be done with a few extra lines in Match.pm - but I can't do this right now ($work)
14:21 ruoso fglock, ok... I'll take a look and see if I can do it...
14:24 fglock ruoso: see S05 for details
14:24 ruoso fglock, so for quantified named captures... at this moment it is returning the match object... the correct will be to return a arrayref
14:25 ruoso fglock, exactly...
14:25 * ruoso going to RTFM... again...
14:30 fglock ruoso: I'm debugging a mail system - I have to finish in 30min
14:40 vel joined perl6
14:40 fglock ruoso: can you add tests for the features you need?
14:41 ruoso fglock, ok
14:47 fglock my mail tester is working now - but the mail system under test don't :)
15:13 mago joined perl6
15:13 fglock hi mago!
15:14 mago hi !
15:16 fglock mago: are you coming to YAPC::Brasil?
15:17 mago yes
15:20 fglock :)
15:20 kisu joined perl6
15:24 Aankh|Clone joined perl6
15:26 chihchun joined perl6
15:28 FurnaceBoy joined perl6
15:31 ruoso fglock, the failing test is in t/06-subrule.t
15:31 svnbot6 r9713 | ruoso++ | one more failing test...
15:38 justatheory joined perl6
15:42 ruoso fglock, it seems that this is what's missing to lrep-compiler
15:46 chihchun joined perl6
16:09 hexmode joined perl6
16:45 Limbic_Region TimToady ping
16:46 Limbic_Region in the no negative (auto reversed) thread, you said To reverse an array in place we'd use .=reverse)
16:46 * Limbic_Region assumes that means @array.=reverse
16:47 Limbic_Region nevermind - seems pretty silly that anyone would misinterpret that to mean @array .= reverse
16:51 hlen YAPC::Brasil? where's that going to be, i wonder..
16:53 marmic joined perl6
16:58 fglock hlen: http://www.yapc.org/Brasil/
16:58 vel joined perl6
16:58 fglock oops - the site is broken
16:58 hlen seems it's in POA, i found it somewhere
17:00 fglock hlen: Porto Alegre, Brazil
17:09 kattana_ joined perl6
17:11 ruoso joined perl6
17:12 Juerd businesses--  # Why is getting straight answers by e-mail so hard? Why does it always take long before you get a reply?
17:15 DesreveR joined perl6
17:16 FurnaceBoy yeah.
17:16 FurnaceBoy has happened to me a few times recently. big company - black hole.
17:17 FurnaceBoy i.e. NO answer.
17:20 arcady oh they might answer
17:20 arcady in a month or two
17:20 mago_ joined perl6
17:37 ghenry joined perl6
17:44 vel joined perl6
17:45 SamB joined perl6
18:12 xinming joined perl6
18:26 jdv79 left perl6
18:29 vborja joined perl6
18:38 nothingmuch joined perl6
18:53 DesreveR is now known as r0nny
18:55 mago joined perl6
19:13 SamB joined perl6
19:20 mago .
19:22 Limbic_Region mago - but I am now a parent and prefer ..
19:26 gabor529 joined perl6
19:29 gabor529 is now known as szabgab
19:39 bernhard joined perl6
19:40 kakos joined perl6
19:40 svnbot6 r9714 | gaal++ |  r9444@sike:  roo | 2006-03-23 21:35:46 +0200
19:40 svnbot6 r9714 | gaal++ |  * Add Gabor to AUTHORS
19:44 gaal clkao: ping
19:44 gaal is #svk here on freenode?
19:44 Limbic_Region there is more than 1 way to find out, but the easiest would be to join and see if you are the only person
19:45 gaal Limbic_Region: /list #svk also worked :) it isn't here. anyone know where it is?
19:45 Limbic_Region odd - according to http://svk.elixus.org/ it is on freenode
19:46 Limbic_Region gaal - are you sure you aren't mistaken?
19:46 gaal that I am never
19:46 Limbic_Region here is the log from #svk on freenode for today http://colabti.de/irclogger/irclo​gger_log/svk?date=2006-03-23,Thu
19:46 gaal hmm indeed. /list was lying, I suppose.
19:49 * Limbic_Region thought he was wrong once but it was a mistake
19:49 * Limbic_Region 's Dad actually used to say that as though it were true
19:50 gaal nothingmuch: ping
19:50 nothingmuch gaal: pong
20:08 vel joined perl6
20:18 ruz joined perl6
20:19 Ara5n is now known as Aragone
20:33 kane__ joined perl6
20:36 ingy hi nothingmuch
20:45 PezMan joined perl6
20:48 vel joined perl6
20:54 justatheory joined perl6
21:06 nothingmuch hahahahahaaaaaaaaaaaaaa
21:07 nothingmuch http://groups.google.com/group/perl.perl​6.internals/browse_frm/thread/045a81495d​9443f6/684c84376cea5237#684c84376cea5237
21:08 chris2 joined perl6
21:11 * Limbic_Region laffs hysterically
21:11 nemox joined perl6
21:18 FurnaceBoy olaNeW0x
21:19 FurnaceBoy LOL@0much!!
21:25 szbalint Parrot is getting more mainstream, yay :)
21:28 fuba joined perl6
21:32 FurnaceBoy_ joined perl6
21:45 fuba left perl6
21:57 FurnaceBoy_ is now known as FB|afk
22:11 FB|afk joined perl6
22:25 FB|afk is now known as FurnaceBoy
22:47 frederico joined perl6
23:04 ruoso joined perl6
23:04 ruoso fglock, ping
23:05 larsen joined perl6
23:13 Lorn__ joined perl6
23:27 jisom joined perl6
23:30 frederico joined perl6
23:40 ruoso Am I wrong or subrules are always named captures?

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

Perl 6 | Reference Documentation | Rakudo