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