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.
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
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
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
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)
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. :-)
nothingmuch 7/quit 08:03
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?
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
spo0nman Gothmog_: let me try. 10:09
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
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
meppl good morning nothingmuch 11:46
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
gaal moooooose 12:06
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
fglock ruoso: see also pmichaud op-precedence parser - search.cpan.org/~ltoetsch/parrot-0....PTable.pir 12:59
fglock ruoso: you can still use 'push/unshift' - the op-precedence parser is syntax sugar 13:20
Dazhbog Hello 13:29
Dazhbog can I compile and run perl6 code already? =) 13:30
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
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
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
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
ruoso fglock, the failing test is in t/06-subrule.t 15:31
svnbot6 r9713 | ruoso++ | one more failing test...
ruoso fglock, it seems that this is what's missing to lrep-compiler 15:42
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
fglock hlen: www.yapc.org/Brasil/ 16:58
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
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
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
mago . 19:20
Limbic_Region mago - but I am now a parent and prefer .. 19:22
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
ingy hi nothingmuch 20:36
nothingmuch hahahahahaaaaaaaaaaaaaa 21:06
groups.google.com/group/perl.perl6....376cea5237 21:07
Limbic_Region laffs hysterically 21:11
FurnaceBoy olaNeW0x 21:18
LOL@0much!! 21:19
szbalint Parrot is getting more mainstream, yay :) 21:25
ruoso fglock, ping 23:04
ruoso Am I wrong or subrules are always named captures? 23:40