pugscode.org/ | nopaste: sial.org/pbot/perl6 | ?eval [~] <m oo se> | We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: irc.pugscode.org/
Set by diakopter on 11 July 2007.
agentzh fglock: Pugs::Grammar::Rule2.pm has been obsoleted. 03:16
agentzh fglock: PCR has been using examples/Grammar.grammar to generate its own regrex/grammar parser (ie. Rule.pmc) 03:17
pugs_svn r18713 | agentz++ | [PCR] renamed update-rule-pmc-new to update-rule-pmc; also renamed the old update-rule-pmc to update-rule-pmc-obsolete 03:19
agentzh fglock: please see util/update-rule-pmc :)
agentzh is often confused as well. 03:20
agentzh fglock: thanks for the regex syntax update :) 03:20
fglock: i'll try to make it actually work :) 03:21
pugs_svn r18714 | agentz++ | [PCR] applied fglock++s patch to Grammar.grammar and now uncapturing subrules <.XXX> are working 03:26
r18715 | agentz++ | [PCR] updated <?XXX> to the new S05 syntax <.XXX> in tests and examples 03:43
agentzh s/uncapturing/non-capturing/g
<?XXX> is still working in PCR for backward-compatibility :) 03:44
pugs_svn r18716 | agentz++ | [PCR] added the util/update-tracer-demos script and examples/*.input for updating the demos under agentzh.org/misc/tracer/* 04:14
agentzh v6.pm is still passing with the latest PCR 04:15
(at least no new regressions) 04:16
will make a CPAN release of PCR tomorrow morning if things look good :) 04:17
agentzh goes back to $work. 04:19
bloonix good morning 07:19
the pugs update was unsuccessful tonight 07:20
Build failed for 'pugs/dist/build/libHSPugs-6.2.13.a': 256 at util/build_pugs.pl line 372. 07:21
pasteling "bloonix" at 87.230.108.20 pasted "[2007-10-30 06:05:01] /home/sa" (70 lines, 3.2K) at sial.org/pbot/28334 07:23
agentzh "Datei oder Verzeichnis nicht gefunden" 07:48
German...
"File or directory not found"
bloonix: you've enabled parrot embedding? 07:49
bloonix: pugs nightly build on feather is successful according to the cron report that i've just checked :) 07:50
bloonix agentzh: pugs is build 4 times per day since 3 month... this was the first error :-) 08:15
moritz_ bloonix: I just checked it on my local maschine, and it fails if parrot is in $PATH 08:17
bloonix: doing 08:18
make realclean; make
should work
bloonix moritz_: morning
I do make realclean every time
moritz_ is parrot in $PATH 08:19
bloonix: is it the repository in ~bloonix/pugs/ on timtowtdi.org? 08:20
bloonix no
in /home/sandbox
pugs_svn r18717 | fglock++ | [kp6-perl5] fixed GLOBAL::push 11:36
pmurias Tene: how do you use perl6? 13:50
sili_ pugs 13:52
pugs_svn r18718 | fglock++ | [kp6-kp6] Makefile.PL gets Match.pm from perl5rx 13:58
avar sili_: hi Tene 14:04
Tene pmurias: hi avar
pmurias got confused 14:08
pugs_svn r18719 | fglock++ | [kp6-kp6] start moving Pad.pm to kp6 calling convention
pmurias Tene: what do you use perl6 for was the question i wanted to ask 14:09
Tene simple operations on lists, pattern matching/transformation, and I ran a p6 irc bot for a while. 14:10
Tene pmurias: avar prefixed his greeting to me with someone else's nick, so I did the same to him. 14:10
Tene still confused why avar was greeting him. 14:11
pmurias sili_ responded to a question to you
hi {avar,Tense,sili_} 14:12
avar oh crap what have I started? 14:13
Tene I started working on a simple mud in p6 on pugs, but pugs dies badly if you try to match p6 grammars inside of threads. 14:15
pmurias fglock: wouldn't it be better to use Scope instead of porting Pad? 14:20
fglock Scope is still unfinished, I think it is just easier to reuse Pad 14:23
pmurias ok
fglock I've got - Bad name after APPLY' at compiled/perl5-kp6-kp6/lib/KindaPerl6/Grammar/Regex.pm line 70
can't see what is wrong
pmurias lunch& 14:24
pugs_svn r18720 | pmurias++ | [onion] 14:48
r18720 | pmurias++ | AstPerl - uses WHAT now
r18720 | pmurias++ | Perl5 - commented out pad handling
r18721 | pmurias++ | [kp6] 14:52
r18721 | pmurias++ | simplified hello world
r18721 | pmurias++ | hypers are needed for onion
pmurias preparing for a math test& 14:56
pugs_svn r18722 | fglock++ | [kp6-perl5rx] improved constant quoting inside Perl 5 regex 15:28
r18723 | fglock++ | [kp6] fixed syntax error in Grammar::Mapping 15:31
pugs_svn r18724 | fglock++ | [kp6] more quoting fixes 15:42
avar mm, cl backend needs hacking.. 15:43
moritz_ does mp6 support hashes? 15:51
if yes, two of fglock++'s last three commits might be written much easier
fglock moritz_: I'm just quick-fixing kp6-kp6 compilation; these quoting subs need more work 15:52
moritz_ fglock: ok
fglock I need better qr() delimiters 15:53
rgs use \0
fglock rgs: I thought of that - didn't know it works 15:54
thanks!
[particle] brr 15:55
moritz_ it doesn't siimplify debugging, though ;) 15:56
s/ii/i/
fglock Number found where operator expected at - line 1, near "qr\0 123 \0" 15:58
fglock you mean to really embed a chr(0) there? 15:59
avar yes 16:00
avar or you could espace the escape character when it occurs 16:01
fglock it worked - but I'll use with some unicode char instead 16:02
avar: the char occurs in plain code inside the regex, it's hard to detect 16:03
rgs fglock: is it in perl 5 or perl 6 code ? 16:05
fglock perl5
compiled from Perl 6 regex
pugs_svn r18725 | fglock++ | [kp6-perl5rx] uses chr(0) as the qr() delimiter 16:09
fglock rgs++
moritz_ wonders if subversion handles 0 bytes correctly 16:10
fglock moritz_: it could probably be replaced by some high unicode char 16:11
rgs perl 5 will have problems with unicode chars in the source code, whatever that means
since the lexer isn't utf8 clean
fglock rgs: ok 16:12
TimToady it should certainly be utf8 clean in strings or regexes...
but in any case, trying to guess a delimiter is usually going to be wrong eventually, and it's better to just take a pass and escape it. 16:14
pugs_svn r18726 | fglock++ | [kp6-kp6] add missing file 16:15
pugs_svn r18727 | fglock++ | [kp6-perl5] fixed "hyper" 16:34
pmurias fglock: AstPerl in v6-Onion works 16:44
fglock pmurias: cool 16:45
dlocaus pmurias: did you get my message from yesterday?
pugs_svn r18728 | fglock++ | [kp6-perl5] more "hyper" fixes 16:46
fglock pmurias: how do you test it? 16:49
fglock coffee & 16:55
pmurias dlocaus: no 16:56
pugs_svn r18729 | pmurias++ | [onion] added a simple script which dump some ast and instructions how to run iu 17:01
dlocaus pmurias: humm, well, you asked where I was from, I'm from California, USA 17:02
pmurias: I'm still documenting MOP.pm btw.
pmurias dlocaus: MOP documentation would be usefull 17:05
dlocaus :) 17:06
pmurias .WHAT seems to work now 17:08
dlocaus I didn't do any work on it, I'm still documenting it.
someone else did it (or I think it was already there)
pmurias btw I'm from Zielona Góra Poland
dlocaus I was wondering why all of you guys were going to bed so early in the morning :) 17:09
pmurias dlocaus: I think it worked before
dlocaus what v6.pm does Kinda perl use? 17:11
pmurias kp6 dosn't use v6.pm
it specifies the alpha version of perl6 to be used 17:12
dlocaus Can't locate v6.pm in @INC (@INC contains: C:\perl6\kp6\v6\v6-KindaPerl6\src C:/
Perl/site/lib C:/Perl/lib .) at C:\perl6\kp6\v6\v6-KindaPerl6\src/KindaPerl6/Run
time/Perl6/Pair.pm line 1.
at C:\perl6\kp6\v6\v6-KindaPerl6\src/KindaPerl6/Runtime/Perl6/Pair.pm line 1
KindaPerl6::Runtime::Perl5::MOP::BEGIN() called at v6.pm line 1
eval {...} called at v6.pm line 1
buubot dlocaus: ''ERROR: syntax error at (eval 238) line 1, near "{..."
dlocaus require KindaPerl6/Runtime/Perl6/Pair.pm called at MOP.pm line 1116
I got that error message when I tried to debug MOP.pm 17:13
I will continue to look into it... just fyi
pmurias you have wrong @INC
the perl6 files end passed to the perl5 interpreter 17:14
pmurias which undestands use v6-alpha; as use v6 17:14
dlocaus MOP.pm is all perl5. 17:14
pmurias it requires files which are compiled by kp6 from perl 6 to perl 5 17:15
use -I compiled/perl5-kp6-mp6/lib 17:16
dlocaus pmurias++ yea! 17:18
fglock pmurias: nice test :)
fglock pmurias: is it a big problem if I keep working in kp6-kp6 for a while? 17:20
dlocaus is there a .perltidy file we can use on kp6 perl5 code? 17:21
pmurias util/perltidy
not respected by script/kp6 atm
dlocaus "not respected"? 17:22
pmurias not used
dlocaus ah, ok
pmurias fglock: np, i don't have much time avalible for onion right now, so do what best fits you
the name needs to be changed to something not used by parrot anyway sometime 17:24
fglock NotOnion
pugs_svn r18730 | fglock++ | [kp6-regex] fixed Method.new 17:56
lucs Hi folks. Just curious: Who are the Jerry and Will mentioned in the Perl 6 Design Meeting Minutes? 18:03
FreshCat mysterious interlopers 18:04
[particle] i'm jerry, will is Coke 18:07
lucs Hmm... Now I can map those first names to IRC nicks of people I don't happen to know :) 18:08
[particle] will coleda is the project manager for parrot 18:09
i'm jerry gay, of the parrot project team
lucs Ah, thank you sir.
[particle] and you are?
lucs Oh, justa user Luc St-Louis
[particle] a pleasure.
pugs_svn r18731 | fglock++ | [kp6-perl5] add Perl 5 bridge code to COMPILER.pm 18:21
CoKe hm 18:34
we are cancelling the project, folks
I am quitting and joining the YARV team
[particle] yeah, right. 18:35
CoKe heh
Ruby is the wave of the future, and YARV is the delivery mechanism 18:36
Tene is suspicious. 18:37
wolverian heh 18:38
spinclad is dubious
[particle] is furious :D 18:39
spinclad and rightly so!
pugs_svn r18732 | fglock++ | [kp6-kp6] added a Perl 6 dispatcher to Pad.pm 18:43
[particle] the user impersonating coke obviously didn't realize he's the parrot pm, not the perl 6 pm, and that this is a perl 6 channel, not a parrot channel. dopey impersonator. 18:50
TimToady nobody likes New Coke.. 19:00
pugs_svn r18733 | fglock++ | [kp6] Grammar.pm updates to new spec 19:01
dlocaus who figured out this $::Class/Int/Str in MOP.pm? 19:16
or rather, who wrote it?
fglock me :P
dlocaus geez
dlocaus reaches out to shake fglock's hand.
fglock heh 19:17
dlocaus how did you code this?
fglock I think I wrote a small prototype program first, but I can't find it - it might show in the svn log somewhere 19:19
dlocaus wow, the nesting in here I think would be enough to drive most people nuts. 19:20
I haven't given up... yet. 19:21
fglock dlocaus: it is loosely based on nothingmuch's MO nothingmuch.woobling.org/MO/ 19:24
lambdabot Title: Index of /MO
fglock but it is not as complete as MO
re driving nuts - svn.pugscode.org/pugs/v6/v6-KindaPe...Grammar.pm 19:27
lambdabot tinyurl.com/29am4q
fglock I'm currently debugging that
dlocaus code producing code? 19:30
dlocaus eye's cross
I'm beginning to wonder if I'm qualifed to work on the perl6 project at all 19:33
spinclad fglock: would agentzh's tracer help with that, or are you looking at other aspects? 19:34
fglock spinclad: I'm afraid not - this code already works under mp6, I'm debugging the bootstrapped code 19:35
pugs_svn r18734 | fglock++ | [kp6-kp6] update the image files 19:37
fglock home & 19:38
spinclad ah... /me wants to look for things to trace (tweak compiler to add instrumentation to compiled code, compile compiler with mp6 and kp6, compare traces) 19:39
it's certainly an enormous heap of code
pmurias dlocaus: use perltidy if you want to view emitted code 20:47
FreshCat one question: why haskell? 20:50
Tene FreshCat: because the people who started it liked haskell.
Specifically, audreyt.
Neither parrot nor kp6 are using haskell, though.
FreshCat yar, parrot is in c 20:51
[particle] actually, audreyt wanted to learn haskell, so started pugs
FreshCat nice
pmurias Parsec is very nice 20:55
pasteling "ben" at 75.90.166.60 pasted "benson" (1 line, 7B) at sial.org/pbot/28340 20:56
FreshCat ah interesting
dlocaus pmurias: ping? 21:19
pugs_svn r18735 | dlo++ | I have added a lot of documentation to this file. I do not completely understand how $meta_Class works, however, I believe I have done a good job of documenting a lot of stuff. 21:21
fglock dlocaus: in short, a kp6-perl5 object is a hash with a _dispatch key 21:25
_dispatch points to a sub that knows how to execute methods 21:26
the sub is a "method dispatcher"
you can construct an object that holds Method objects - this is a Class object 21:27
the method dispatcher in Class knows how to handle inheritance and Roles 21:28
pugs_svn r18736 | fglock++ | [kp6] docs for $::dispatch_VAR 21:37
pmurias dlocaus: pong 21:38
dlocaus fglock: ok, I'll update that. How is the documentation?
pmurias: hi, I had updated the MOP documentation, and I was hoping you could review it, but I think fglock got there first.
fglock dlocaus: great!
dlocaus cheers! 21:39
fglock dlocaus: $meta_Method contains the "Class" object for Method 21:41
$::Method contains the "Prototype object" for Method 21:42
which means it is a Method object with value "undef"
fglock heh - ${$::Method}->{'_isa'}->[0]->{'_isa'}->[0]->{'_value'}->{'methods'}->{'add_role'}->{'_roles'} 21:44
dlocaus admits to be confused... 21:45
fglock those pointers are a Data::Dumper artifact - it's much simpler than that 21:48
dlocaus ok. 21:49
I'm updating the documentation in regards to the above comments.
fglock the definition of $meta_Method is at line #455, and $::Method is at #507 - that's all of it 21:50
(in svr rev. 18736) 21:51
svn
fglock at lines 513, 514 - the two Methods in the Method Class are told that they belong themselves to the Method class 21:54
gotta go & 21:55
pmurias sleep& 22:24
dlocaus is there a "Trac" interface to pugs some where? 22:28
pugs_svn r18737 | dlo++ | After a bit of IRC w/ fglock, he elaborated on some of the code in MOP.pm. These requested changes were added. 22:49