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.
pugs_svn r19500 | cosimo++ | [t] Moved `exists' builtin tests under S29-array and S29-hash. 00:01
00:02 cosimo left
pugs_svn r19501 | lwall++ | Changed #?perl6: to #?rakudo: 00:03
00:08 cosimo joined, cosimo left 00:10 cosimo joined 00:12 cosimo left 00:13 cmarcelo left 00:19 justatheory joined 00:20 IllvilJa joined 00:26 alester left 00:37 namit left, Blasi left, thoughtpolice joined, Blasi joined 00:40 jiing joined 00:42 Blasi left 00:45 crashmatrix left, crashmatrix joined 00:50 Auzon joined 00:52 nipotaway is now known as nipotan 00:54 nipotan is now known as nipotaway 00:59 nipotaway is now known as nipotan 01:04 cognominal_ joined 01:05 justatheory left
Tene So, any way to execute a closure in the current context instead of the context it was created in? 01:07
I want to be able to pass a closure to a function and then run that closure, except with some setup and teardown code inserted around it. 01:08
01:09 cnhackTNT joined
Tene If there was a way to insert extra code at arbitrary points in a closure, that would be okay too. 01:09
I guess I could do it with macros, too.
01:10 skids joined 01:11 chris2 left 01:18 Lorn joined 01:22 wknight8111 left 01:23 wknight-away joined, wknight-away is now known as wknight8111 01:25 wknight8111 left 01:26 wknight8111 joined 01:31 devogon left 01:39 jjore left 02:11 polettix left 02:12 kanru left 02:24 lisppaste3 left 02:31 Schwern left 02:34 lisppaste3 joined
pugs_svn r19502 | lwall++ | [fudge] first whack at test preprocessor 02:40
02:50 kanru joined 03:02 [particle1 joined 03:08 Lorn left 03:15 stevan_ joined, [particle] left 03:16 aindilis left 03:17 aindilis joined 03:26 [particle1 left 03:27 alester joined 03:32 [particle] joined 03:51 [particle1 joined
pugs_svn r19503 | agentz++ | [smartlinks.pl] prints usage info when GetOptions fails 04:05
04:05 [particle2 joined 04:15 penk joined 04:16 [particle2 left 04:17 [particle2 joined 04:18 Limbic_Region left 04:19 [particle1 left, [particle] left 04:24 Auzon left 04:27 jferrero left 04:28 Auzon joined 04:38 thoughtp1lice joined
pugs_svn r19504 | agentz++ | [smartlinks.pl] fixed a bug when --test-res is set while test file info is not available (aka the newline prbolem) reported by Cosimo++ 04:43
04:53 wknight8111 left 04:55 thoughtpolice left, [particle] joined 04:58 thoughtp1lice is now known as thoughtpolice 05:00 lyokato_ joined 05:15 [particle2 left 05:32 masak joined 05:37 alc joined 05:59 araujo left 06:20 thoughtpolice left 06:35 njbartlett_ left 06:44 pen1 joined 06:51 Schwern joined 06:55 Schwern left, Schwern joined 07:01 Auzon left 07:04 penk left
pugs_svn r19505 | lwall++ | [fudge] bug removal 07:18
07:25 jjore joined
pugs_svn r19506 | lwall++ | Changing todo's to "fudge normal form" 07:25
07:41 bsb left
pugs_svn r19507 | lwall++ | more "fudge normal form" 07:42
r19508 | lwall++ | [fudge] allow indentation of c?foo: line
07:54 penk joined 07:58 penk left
pugs_svn r19509 | cosimo++ | Perl script to set svn props, for those poor souls that work on Win32. 08:00
r19509 | cosimo++ | Bonus: it added the svn props to itself.
r19510 | cosimo++ | [t/spec] Added svn props where not set 08:01
08:13 jisom joined 08:14 pen1 left 08:25 iblechbot joined 08:26 [particle1 joined 08:30 Aankhen`` joined 08:32 devogon joined 08:42 [particle] left 08:46 kane_ joined 08:48 cosimo joined
moritz_ so is perl6 on parrot officially renamed to rakudo? 09:01
09:02 jisom left 10:07 wknight-away joined
Alias_ rakudo? 10:11
10:11 ruoso joined
masak rakudo! 10:13
sounds japanese
ruoso rofl with the last xkcd strip 10:19
10:24 luqui joined
pugs_svn r19511 | Darren_Duncan++ | ext/Muldis-DB/ : reverted last SeeAlso change (r19354) as ::Interface will take the simpler AST input directly, no X wrapper needed 10:32
10:34 DarkWolf84 left 10:41 chris2 joined 10:49 cnhackTNT left 11:02 barney joined 11:13 wknight-away left 11:19 ebassi joined 11:23 jferrero joined 11:30 marmic left 11:43 nipotan is now known as nipotaway 11:47 cmarcelo joined 11:52 polettix joined 11:57 marmic joined 12:03 iblechbot left 12:06 Schwern left 12:16 DarkWolf84 joined 12:20 Alias_ left, Alias_ joined 12:34 DarkWolf84 left, Lorn joined 12:37 lyokato_ left 12:56 rindolf joined
rindolf Hi all. 12:57
12:57 wknight-away joined
moritz_ hi rindolf 12:58
rindolf Hi moritz_ 12:59
moritz_: what's up?
13:02 luqui left
moritz_ rindolf: the ususal stuff - my studies, perlmonks, hacking my websites etc. 13:03
rindolf: what about you? 13:04
rindolf moritz_: well, I started working in a new job (for a one-month trial) on Sunday.
moritz_: and yesterday I wrote some code.
moritz_ rindolf: what kind of job?
rindolf moritz_: C++ programmer.
moritz_: on Linux.
:-)
pugs_svn r19512 | ruoso++ | [smop] the ___POINTER___ macro replaces the object's RI to a NOOP RI so it can be put as a parameter inside a stack node, instead of just returning a proxy object. 13:05
13:06 [particle1 left, [particle] joined
rindolf moritz_: oh! And on Saturday I wrote my first PIR program. 13:07
moritz_ both sound cool
Alias_ I have seen the future, and it is inline PIR 13:08
moritz_ and mod_parrot ;) 13:10
Alias_ Quite probably 13:11
What struck me was chromatic's speed benchmarks
It's not quite as fast as haskell, but it's damned impressive
13:11 penk joined
Alias_ So it would seem to me that embedding not-quote-as-fast-as-c-but-way-faster-than-perl code would be advantagous in extreme 13:12
avar where are those benchmarks?
Alias_ recent use.perl or perl.com post, one of the two
moritz_ especially if it doesn't cause segmentation faults when you do something wrong ;)
Alias_ indeed :)
ebassi avar: use.perl.org/~chromatic/journal/35333?from=rss 13:13
lambdabot Title: Journal of chromatic (983)
avar Alias_: you can have stand-alone perl6 13:14
Alias_ avar: I know
Although not QUITE standalone right?
pasteling "avar" at 208.78.101.240 pasted "ldd -r perl6" (15 lines, 781B) at sial.org/pbot/29872
Alias_ You still need to keep it inside a parrot checkout or something?
Because of make problems?
avar since mod_parrot works I expect linking it to libparrot should too 13:15
Alias_ libgmp built in? Neato
So large number support from the start
avar ./perl6 -e 'say 9**9**9' 13:16
1.96627e+77
sh-3.1$ ./perl6 -e 'say 9**9**9**9'
inf
Alias_ nice
I've been thinking a bit over the last few days
Is anyone building parrot/perl6 with MinGW?
avar they're waiting for you 13:17
Alias_ :)
Well, kinda :)
I'm not one to deal with bugs in the C, I just take stuff that works and package it up
BUT, I might be able to add parrot/perl6 support to Perl::Dist 13:18
"Vanilla Perl 6"
13:27 [particle1 joined 13:29 meppuru joined, meppuru is now known as meppl
rindolf Hi Alias_ 13:30
Alias_: there was something I've been meaning to ask you, but I don't recall what it was.
moritz_ rindolf: then you'll have to ask a generic question 13:31
like "?"
;)
13:31 chris2 left
rindolf Alias_: when are you going to restore ali.as/devel/cvsmonitor/ ? 13:32
13:34 skids left, njbartlett_ joined
Alias_ rindolf: As it just so happens I'm in the middle of recovering it right now 13:35
Juerd_ How does >> work in regexes, given that > also ends <foo ...>?
moritz_ what's >> supposed to be? 13:36
Juerd_ Right word boundary
Juerd_ doesn't like its spelling because it's much different from >> in Perl 6 itself, but mostly wonders how it can be parsed alright 13:37
moritz_ disambiguation by requiring whitespaces?
that's ugly, I know
Juerd_ Ugh
rindolf Alias_: oh cool. 13:38
Alias_++
Alias_ rindolf: In getting the Strawberry websites working, I discovered how to link svn to dreamhost sites properly
I have the ali.as site in some random condition in version control, just didn't have a good way to deploy it 13:39
Setting up the cron now in fact
(dreahost recently adding cron support was the final piece I needed)
rindolf: You actually use CVS Monitor? 13:45
I thought most people had pretty much moved on from CVS now
rindolf Alias_: no, but it's a broken link in the dmoz.org CVS category. 13:46
Alias_ ah :)
Which you look after?
rindolf Alias_: I'm an editor of the "Configuration Management/Tools" directory, which contains it. 13:47
Alias_ ah
You'd probably be interested in one of my current work projects then
I've added schema version control to Oracle
13:55 iblechbot joined 13:56 [particle] left 14:05 alc left 14:07 jferrero left 14:09 alester left
bphillip1 Alias_: sounds interesting, available to the public? 14:12
Alias_ bphillip1: It's too company-specific atm 14:13
bphillip1: But once I'm no longer employed by the company (and I've got all the kinks worked out) I definitely want to do a CPAN variant
We're still hitting problems with it not being quite paranoid enough 14:14
And it doesn't support branch tracking properly
It does, however, seriously kick ass
Inspired a bit by some of the Ruby stuff, but improved 14:15
(so as to be more appropriate for mere mortals that can't code)
bphillip1 Alias_: do you tend to reserve the right to release what you develop at a company as open source stuff at a later date?
Alias_ Sometimes 14:16
Or at least, I try to negotiate the ability to open source stuff that doesn't have a business value to the company
bphillip1 where I work, we sign something about everything we create on company time/equipment being proprietary to The Company
Alias_ Well, contracting helps for one
bphillip1 true
Alias_ Also, I've done it enough times that I can demonstrate all the additional value I bring to the company from previous iterations 14:17
The giant stinking pile of CPAN modules etc
And failing that, I sucker them on the "It means I'll keep supporting the code even after you stop paying me" argument
bphillip1 nice :-)
Alias_ Of course, I'd never propose to do it with anything that generates income 14:18
I have one system in particular that I'd dearly love to CPANify
For screen scraping banks websites
But it's a critical advantage for my client in his market
moritz_ something like a kicking ass WWW::Mechanize?
erm, ass kicking 14:19
ykwim
Alias_ More like an ass-kicking Finance::Bank
moritz_ ok
Alias_ Awesome code, very very robust 14:20
But utterly sekrit
And so it stays private
But really, 50% of most code everyone writes has little business value 14:21
rindolf Alias_: regarding Ada - besides the Ada-ish VHDL there's also Verilog which is more Cish
14:21 wknight-away left, [particle] joined
Alias_ rindolf: Ya, but I get the impression that VHDL is what the big boys all use 14:21
moritz_ it is indeed
Alias_ And now I understand why 14:22
rindolf Alias_: my previous workplace used Verilog.
Alias_: and so did my friend's previous workplace.
Alias_ Were they massive chip companies?
rindolf Alias_: no.
Alias_: they were small companies.
Alias_ Wel there you go :)
rindolf I did work a bit with VHDL in the Technion.
Alias_ Anyways, I need to sleep now 14:23
rindolf Alias_: good night.
Alias_ If this trip of mine comes off, I'll wanted to spend some quality time on the Perl 6 / parrot toolchain anyways
So hopefully all the niggly compiler issues are worked out by then
rindolf: Won't get cvsmonitor pages working today 14:25
But I've got cron up, so it should just be a matter of pushing the pages over from old version control
night all
14:25 Alias_ left 14:35 skids joined 14:36 jferrero joined 14:44 [particle1 left 14:46 jhorwitz joined 14:51 kanru left 14:55 ebassi left 14:56 ebassi joined 15:02 rdice joined 15:10 barney left 15:14 rindolf left 15:27 gbacon left 15:28 gbacon joined, jferrero left 15:32 jferrero joined 15:34 kanru joined, rindolf joined 15:48 araujo joined 15:58 skids left 16:03 ispy_ joined 16:05 masak left
pugs_svn r19513 | ruoso++ | [smop] the ___POINTER___ macro is actually POINTLESS... :) The Free lowlevel call should ignore the refcount anyway and clean the reference to the object in the current stack. 16:11
16:14 exp_evalbot left, exp_evalbot joined
pugs_svn r19514 | moritz++ | [evalbot] perl6 on parrot is now called "Rakudo" 16:15
16:15 exp_evalbot left, exp_evalbot joined
moritz_ rakudo: say "hi there, with new name" 16:16
exp_evalbot OUTPUT[hi there, with new nameā¤]
16:18 pro21ms4 joined
[particle] moritz_++ 16:25
16:27 rindolf left
moritz_ pmichaud++ 16:34
ispy_ wonders if he can ++ himself?
16:35 jferrero left
moritz_ ispy_: you can, but it won't do you any good ;) 16:35
ispy_ kicks the dirt... 16:36
[particle] ispy_++ for being a karma whore 16:43
who's your daddy? 16:44
ispy_ you are :(
16:44 penk left
[particle] :D 16:44
ispy_ haha...
gbacon integral: you clown 16:46
a total of three messages and you ban me? 16:47
diakopter moritz_: how about having exp_evalbot prepend the implementation name before 'OUTPUT'
moritz_ diakopter: why? ususally it's quite clear from context which on is to blame ;) 16:49
pugs_svn r19515 | ruoso++ | [smop] For sanity reasons, I defined q:sm0p which is a quoting type that is a "stack definition language" that translates one statement to one stack node without creating a new stack.
diakopter usually, yeah. I guess I'm a stickler for perspicuity. 16:50
but, you're right.
so it's probably not worth the extra noise
ruoso I just love Perl 6... which other language would allow me to create a new syntax inside it in such a clear way... 16:51
moritz_ diakopter: if you can't map eval command to output from context, you'd have to prepend the output lines with the evaluated command as well
ruoso: perhaps lisp? 16:52
I never actually used lisp, so I'm not sure ;)
16:52 jferrero joined
pasteling "ruoso" at 213.13.127.198 pasted "If you think stack manipulation was nice in SMOP, take a look in the q:sm0p quoting type, in the example CPS implementation for DESTROYALL..." (18 lines, 639B) at sial.org/pbot/29875 16:53
diakopter moritz: or, prepend with requestorname: IMPL|STDOUT
ruoso moritz_, see the paste above
16:54 araujo left
moritz_ diakopter: I think I'll do that if it turns out that the current approach isn't working in the wild 16:56
16:56 araujo joined
[particle] perl6: say(captialize('hElLo, WoRlD')); 16:57
exp_evalbot kp6: OUTPUT[no method 'APPLY' in Class 'Undef'ā¤ at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 345ā¤ KindaPerl6::Runtime::Perl5::MOP::__ANON__('HASH(0x824bda4)', 'APPLY', 'HASH(0x8e4afe0)') called at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 169ā¤
..main::DISPATCH('HASH(0x824bda4)', 'APPLY', 'HASH(0x8e4afe0)') ca...
..pugs: OUTPUT[*** No such subroutine: "&captialize"ā¤ at /tmp/G24xX4oUq0 line 1, column 5-31ā¤]
..p6: No output (you need to produce output to STDOUT)
[particle] where's rakudo in there? 16:58
pugs_svn r19516 | moritz++ | [evalbot] one more s/p6/rakudo/, [particle]++ 17:00
17:00 pugs_svn left 17:01 pugs_svn joined
[particle] would folks here be interested in commit messages from rakudo, and is it easy enough to create a bot that reports only commits to parrot's languages/perl6 dir? 17:07
diakopter fires up svnbotl for parrot/languages/perl6 in #perl6 17:10
moritz_ [particle]: yes
[particle] diakopter: it'd be nice to have that bot on irc.perl.org#rakudo too 17:12
...and some other bots, if i can figure out how to get them there
moritz_ [particle]: do you want logging in that channel?
gbacon anyone have ops on #Perl?
[particle] sure, you can log #rakudo 17:13
moritz_ let's see if my bot works on irc.perl.org 17:16
that server tends to produce connection timeouts
17:17 rakudo_svn joined
diakopter here goes nothing 17:18
c'mon, someone with commit access to rakudo... do your thing 17:19
17:23 manfred joined
pugs_svn r19517 | lwall++ | [fudge] recognize is_* ok_* for user-defined tester subs 17:23
17:23 ispy_ left, jjore left
ruoso TimToady, I've came up with an alternative way to create a new set of stack nodes in smop, if you have some free time, could you please take a look at it? sial.org/pbot/29875 17:57
lambdabot Title: Paste #29875 from "ruoso" at 213.13.127.198
17:57 jferrero left 17:58 pmurias joined
pmurias moritz_: lisp dosn't have syntax itself 17:58
ruoso heh
pmurias ruoso: tcl would let you create a new syntax 18:00
18:01 kst left, cosimo left
ruoso having weird thoughts about using the stage 0 and 1 languages inside the C code, including a pre-processor before cpp that would translate the stage 0 and 1 languages to C code directly 18:07
pmurias ruoso: i think an important question is "Is Perl 6 a better low-level language then C?" 18:10
ruoso pmurias, not at all, but the thing is that the stage 0 language and the stage 1 language are supposed to be translattable to C 18:11
[particle] is stage 1 built on stage 0? 18:12
like, could you build up a chain of emitters?
ruoso [particle], I still didn't stress it, but I think so... 18:13
because the stage 0 language is a stack node builder 18:14
and the stage 1 is something that will be translated into a set of stack nodes
[particle], but I think it won't be a simple chain of emitters... because the stage1 has some boot C code before creating the actual nodes... 18:17
so, the stage 1 would be translated to some C code, than the stage0 lang and then some more C code...
18:21 skids joined 18:23 ebassi left, rindolf joined 18:28 pro21ms4 left 18:32 braceta left 18:38 braceta joined
skids Suppose I have a class with tons of constants some of which are needed to invoke methods, but maybe the constants are not so useful outside the class. Has any sugar been proposed to allow a y.meth($foo, $bar) to look up $foo, $bar in y's class before the regular search? Just wondrin. 18:41
pmurias skids: $foo,$bar are variables? 18:43
skids Well, could be. For me I'm just thinking constants, but that could be useful too.
There's that class variable $^var, right? But that would still need a Package:: in front of each one used. 18:44
pmurias skids: $^var is a placeholder variable 18:45
skids Hrm oh yeah what was that sigil then... 18:46
pmurias skids: i don't think there are class variables
i think it would be $ClassName::var 18:47
skids No there was something about non-per-instance methods IIRC, looking now. 18:49
pmurias they are methods on the metaobject instance method ^foo {}
skids $:, @:, %: is what I was referring to. "Class attributes" 18:50
I suppose y.meth(y.:foo,y.:bar,y.:blah ...) is better than y.meth($MyClass::foo, $MyClass::bar, $MyClass::blah ...) for short variable names. 18:54
pmurias S12:715 19:00
19:01 alester joined 19:04 cosimo joined
cosimo hi there! 19:05
lambdabot cosimo: You have 1 new message. '/msg lambdabot @messages' to read it.
moritz_ cosimo: that message is now superflous, since agentzh++ fixed smartlinks.pl ;)
cosimo moritz_: yes, I know. Thanks anyway 19:06
BTW, newbie q:
I don't remember my nick pwd, how can I "reset" it? 19:07
TimToady pugs passwd?
moritz_ cosimo: pugs svn?
pugs_svn r19518 | putter++ | Add ruby backend option to script/kp6. 19:08
[particle] irc nickserv password?
cosimo no, sorry. I'm talking about freenode irc. particle: yea
TimToady as usual, the expert answer is "it depends" :)
cosimo :-)
skids pmurias: ahh, the ^ was in my synapses from S12:441 19:09
skids relieved his synapses are functioning on some level
cosimo what time is it in the states, now??? Usually at this time in my TZ there's not many people
skids 2pm EST. 19:10
People too busy working off their mortgages, I guess. 19:11
gbacon and selling off gold too
cosimo TimToady: have you seen the add-svn-props.pl? Don't know if it's ok, but I thought it's more cross-platform than /bin/sh
skids speaking of which, meeting... 19:12
TimToady cosimo: no, haven't looked at it, but if it works, it works... 19:19
pugs_svn r19519 | putter++ | Emit/Ruby.pm now defines Emit::Ruby, not Emit::Perl5. 19:21
r19519 | putter++ | perl script/kp6 -Cruby -e 'say 3' still doesn't work:
r19519 | putter++ | Can't load Emit::Ruby plugin: Can't locate KindaPerl6/Visitor/Emit/Ruby.pm
r19519 | putter++ | in @INC
cosimo TimToady: yep, it does
:-)
pasteling "mncharity" at 76.24.28.215 pasted "perl Makefile.PL kp6_mp6 "Please inform the author." error message" (9 lines, 400B) at sial.org/pbot/29880 19:33
mncharity @tell fglock fyi: perl Makefile.PL kp6_mp6 "Please inform the author." error message: sial.org/pbot/29880 19:34
lambdabot Consider it noted.
pmurias @tell putter did you run make? ;) 19:35
lambdabot Consider it noted.
mncharity no. :)
@tell fglock I didn't run make. Oops. Never mind. Thanks. pmurias++ 19:36
lambdabot Consider it noted.
19:37 jferrero joined
pmurias mncharity: perl5v6 now has a primitive MOP 19:38
src/KindaPerl6/Runtime/Perl5V6/MOP.pm
mncharity looking... 19:39
(while make kp6_mp6 is running... it's compiling more than Emit/Ruby.pm, which was unexpected) 19:40
re MOP.pm, interesting, thanks. (I don't understand the oo bootstrap or mop well enough to comment, but I look forward to copying from it:) 19:42
mncharity wonders why make kp6_mp6 is recompiling KindaPerl6/Grammar/*.pm :/ 19:43
pmurias mncharity: did you use make forcerecompile? 19:44
pugs_svn r19520 | ruoso++ | [smop] finally I have the code for the first test... the only problem is that this test will only be able to run when I have a looooooot of code.
pmurias (svn sometimes screws up timestamps) 19:45
mncharity re forcerecompile, no. and i don't immediately see a kp6_mp6 dependency on the makefiles. curious. 19:47
hmm... timestamps..
pugs_svn r19521 | ruoso++ | [smop] a small note regarding the specific feature the test is trying to address.. 19:48
mncharity oh, duh. yes, the compiled/perl5-kp6-mp6/lib/KindaPerl6/Grammar/*.pm are from Jan 5, vs Jan 11 for the source. 19:50
and it was indeed an svn issue. removing and reverting bumpted the *.pm to the 11th. 19:52
19:52 jisom joined 19:59 polettix left 20:00 crashmatrix left
pugs_svn r19522 | putter++ | perl script/kp6 -Cruby -e 'say 3' works. 20:06
r19522 | putter++ | docs/ruby_backend.txt: added 'how to get Emit/Ruby.pm built' notes. pmurias++
r19522 | putter++ | Emit/Ruby.pm: emit_perl5 methods renamed emit_ruby.
r19522 | putter++ | Bug: while -Cruby behaves as -Cperl5, -Bruby also behaves as -Cperl5.
r19523 | putter++ | ruby_backend.txt: change mentioned but missed in r19522. 20:16
20:21 jisom left 20:28 _sprocket_ joined
pugs_svn r19524 | putter++ | script/kp6 -Bruby -e 'say 3' sort of works. 20:28
r19524 | putter++ | It doesn't run, because the emitted p5 is changed:
r19524 | putter++ | - ::DISPATCH( $Code_say, 'APPLY', ::DISPATCH( $::Int, 'new', 3 ) );
r19524 | putter++ | + ::DISPATCH( ( $GLOBAL::Code_say = $GLOBAL::Code_say || ::DISPATCH( $::Routine, "new", ) ), 'APPLY', ::DISPATCH( $::Int, 'new', 3 ) );
r19524 | putter++ | script/kp6: added missing -B/-C handling for "ruby". I'm unsure why -C already
r19524 | putter++ | seemed to be working.
r19524 | putter++ | Emit/Ruby.pm: modified an emitted header comment to make origin unambiguous.
20:31 Coke joined
Coke yawns. 20:32
20:42 Lorn left, lorn joined 20:43 lorn is now known as Lorn
pugs_svn r19525 | putter++ | Milestone: script/kp6 understands a ruby backend exists. 20:44
r19525 | putter++ | Currently it's a copy of Perl5.pm.
r19525 | putter++ | It is emitting slightly broken p5 code, cause unknown.
20:49 rindolf left 20:58 manfred left 21:03 Lorn left
pmurias mncharity: you didn't add all nessesary visitors to the processing chain 21:11
script/kp6 --do ExtractRuleBlock,Token,MetaClass,Global,Emit::Ruby ../../t/01-sanity/01-tap.t | perl -I compiled/perl5-kp6-mp6/lib/
works 21:12
script/kp6 -Cnoexistent defaults to -Cperl5 21:18
21:18 jferrero left 21:19 TJCRI joined
pmurias mncharity: why did you change your nick, i only made the connection that you are putter by looking at AUTHORS 21:21
21:23 Gregor__ joined 21:26 mmorrow left, wknight-away joined, mmorrow joined, wknight-away is now known as wknight8111
pugs_svn r19526 | cosimo++ | Test suite refactoring. 21:29
r19526 | cosimo++ | Moved builtins/control_flow/sleep.t under t/spec/S29-context
21:31 icwiener joined
pmurias mncharity: just asking out of curiosity ;) 21:32
21:33 Aankhen`` left, Gregor__ left
pugs_svn r19527 | cosimo++ | Refactored keys/values tests for arrays and hashes (S29) 21:35
21:37 japhb_ left 21:38 meteorjay joined
pugs_svn r19528 | lwall++ | [fudgeall] mung filenames to .fud and run fudge preproprocessor over /spec files only 21:38
21:46 meteorjay left 21:52 jferrero joined 22:03 jferrero left, Limbic_Region joined
pugs_svn r19529 | putter++ | [kp6] ruby backend now actually runs ruby, and emits some ruby code. 22:08
r19529 | putter++ | script/kp6 -Bruby -e 'say 3' works, but little else.
r19529 | putter++ | And the calling convention is likely to change.
r19529 | putter++ | Ruby version >= 1.9.0 is currently required.
22:09 TJCRI left 22:11 japhb joined, ispy_ joined
mncharity pmurias: re nick, people in perl land had short, creative nicks. back when I didn't realize how much of my life would be spent on p6, I thought "ah, here's a chance to experiment with having a short creative nick!". perhaps if it were shorter or more creative it would have had a more lasting appeal. but didn't. 22:12
pmurias mncharity: thanks 22:14
moritz_ perl script/kp6 -Bruby -e 'say 3' 22:15
No such file or directory at script/kp6 line 528.
mncharity np :)
pmurias mncharity: did you make
[particle] mncharity: do you want an mncharity-shaped commit bit? 22:16
mncharity docs/ruby_backend.txt has the "get kp6 to compile Emit/Ruby.pm into the right place" receipe
pugs_svn r19530 | pmurias++ | [kp6] added missing compiled file
mncharity [particle]: hmm, I think I'll stick with putter for now. traditional. but thanks. :) 22:17
pmurias moritz_: do you have ruby?
mncharity pmurias: ah, good idea. thanks.
moritz_ pmurias: aye
ah, wait 22:18
I have ruby1.9 but no 'ruby' symlink
mncharity I was wondering what to call it. Is that a vote for "ruby1.9" ?
moritz_ in Debian Stable ruby is ruby1.8, if you want ruby1.9 you have to say that explicitly 22:19
so for me ruby1.9 is more convenient ;) 22:20
mncharity changing script/kp6 ...
pmurias sleep& 22:21
22:21 pmurias left
pugs_svn r19531 | putter++ | [kp6] script/kp6 now uses "ruby1.9" instead of "ruby" 22:21
r19531 | putter++ | to get a >=1.9.0 version of ruby.
mncharity pmurias: g'night. thanks for your help.
22:23 tobeya left
moritz_ perl script/kp6 -Bruby -e 'say 3' 22:23
-:5: syntax error, unexpected '('
c_say.( 3)
^
mncharity hmm... 22:25
that's the error message I see when running a ruby1.8 against the -C output.
so much for giving a nice error message to people running 1.8 :/ 22:26
did you svn up to r19531 ?
22:26 Limbic_Region left 22:34 jjore joined, braceta left
moritz_ yes 22:35
and I deinstalled ruby 1.8
so if it runs anything rubyish at all, it is 1.9 22:36
22:37 Auzon joined
moritz_ I have a libruby1.8 still, but I don't think that should interfere 22:37
22:38 cmarcelo left
mncharity (bbiab - call) 22:39
ruby1.9 --version says 1.9.0? 22:40
moritz_ aye
mncharity mumph
22:41 rdice left
mncharity such pain because 1.8 doesn't have real lambdas. :/ let's see... 22:41
moritz_ I can see if I can get a newer ruby version from backports.org 22:42
mncharity could you try .call( instead of .( ?
my guess is debian is providing a prerelease version of 1.9.0 (as the release version works). 22:43
moritz_ .c_say(2) is valid syntax
ruby 1.9.0 (2006-06-08) [i486-linux]
mncharity c_say.call(2)
moritz_ how do I obtain all of the emitted ruby code? 22:44
mncharity yeah, 1.9.0 was released at end of year. but the development builds from the preceeding year called themselves 1.9.0. sigh.
[particle] now that's just silly. 22:45
mncharity released 25 Dec 2007 www.ruby-lang.org/en/
lambdabot Title: Ruby Programming Language
mncharity moritz_: perl script/kp6 -Cruby -e 'whatever' 22:46
[particle]: yeah. :/
moritz_: ruby1.9 -Icompiled/ruby-kp6-mp6 emitted.rb 22:47
22:47 alester left
moritz_ testing has 1.9.0+20071016-1 22:48
not really new either
22:48 _sprocket_ left 22:49 cspencer joined
mncharity moritz_: actually, I think I'm going to leave the calling convention .( . Running old 1.9 development snapshots opens up a world of random pain, so failing seems the better outcome than continuing. 22:49
22:51 mmorrow left
moritz_ mncharity: good reasning ;) 22:53
[particle] it'd might be helpful to have back-end appropriate help text, something like :script/kp6 -Bruby -h 22:56
mncharity moritz_: if you haven't yet upgraded, could you wait a moment, and check out a new kp6 with warning message?
meppl good night 22:57
moritz_ mncharity: ok
22:58 meppl left
pugs_svn r19532 | putter++ | [kp6] script/kp6: check for old versions of ruby (1.8, and prerelease 1.9). 22:59
mncharity moritz_: ok, should now politely complain. 23:00
moritz_ it does
mncharity++
mncharity :)
re testing has 1.9.0+20071016-1, :( 23:01
I'll try to remove the 1.9 dependency once things are further along. to use 1.8, one has to play gensym games, because 1.8 doesn't have a normally scoped lambda. 23:03
23:03 Auzon left
gbacon @pl \a b -> head a == head b 23:03
lambdabot (. head) . (==) . head
moritz_ mncharity: I don't think that's high priority
mncharity but it's hard to emit code, and use blocks for lexical scoping, where variables may be mis-bound. eg, 23:05
x = 4; ->(x){x=3}; #x == 4 works, but -> is 1.9
x = 4; (proc {|x| x=3}).call(14); # x==3 :( 23:06
err,
x = 4; (->(x){x=3}).call(14); #x == 4
23:08 Jamtech joined
mncharity or something like that. know recognized as a Bad Idea. but... still have to live with the concequences for another year or so. 23:08
s/know/now/
moritz_ drifts off to sleep 23:09
mncharity g'night! thanks for trying it, and turning up bugs :)
23:09 jferrero joined 23:13 Jamtech_ joined 23:15 Jamtech left, Jamtech_ left
pugs_svn r19533 | putter++ | [kp6] script/kp6: fixed check for ruby 1.9.0 prerelease versions. 23:15
cspencer have the new #?perl6 test skipping commands been added into the p6 distributed with parrot yet? 23:19
23:19 Auzon joined
[particle] we're working on it. 23:24
#?perl6: todo(...) works
skip() doesn't
cspencer ah ok 23:25
pugs_svn r19534 | putter++ | [kp6] Emit/Ruby.pm: removed ruby version check from emitted code.
r19534 | putter++ | Older versions parsefail, so it wasn't running anyway.
cspencer is that in the current check svn revision? 23:26
pugs_svn r19535 | cosimo++ | Refactored `kv' tests under S29-array & S29-hash.
r19535 | cosimo++ | Fudge-ify :todo test markers.
cspencer er...checked in, rather
23:26 cognominal_ left
cosimo [particle]: isn't it #?perl6: todo 'bla' ? without parens? 23:28
[particle] cosimo: now it is. but that doesn't work yet :)
23:28 iblechbot left
[particle] things are changing very quickly 23:28
cosimo I have changed 2-3 times the tests in t/spec ... :-) 23:31
TimToady hopefully we're converging on a solution, but I haven't yet figured out how to shim fudgeall into Makefile.PL for pugs... 23:33
cosimo No problem, really. 23:34
TimToady well, I'd just like the fudging to be automatic where it's needed
23:34 alester joined
TimToady and I'm scared of hacking on Test::Harness directly :) 23:34
[particle] i'll be changing t/spec shortly if you don't beat me to it
s/perl6/rakudo/g
TimToady I beat you to it more than a day ago... 23:35
cosimo TimToady: I didn't understand the "fudge" thing until I read your emails twice :-)
TimToady it's a colloqial use of the term 23:36
fudging is a kind of cheathing
cheating
cosimo IIUC, it's a way to "hide" perl6 implementation differences from a test point of view. Isn't it?
TimToady as in Fudge Factor
Khisanth you mean I wasn't supposed to pour fudge on that ... hmmm
TimToady it's a way to get more information out of a partial success than just by blowing up halfway through, or not parsing at all 23:37
[particle] TimToady: C<#?perl6: skip_block('...');> becomes <$?rakudo: skip '...'>, correct?
TimToady yes
cosimo I tried to ack for skip_block recently (maybe a week ago) but nothing showed up... 23:38
TimToady except #? still not $?
[particle] oops, right, #?
TimToady and you can say #?rakudo: 3 skip '...' to skip the next 3 tests without using a block
putting the count in front makes it easier to keep it separate from the "reason" arguments 23:39
23:39 REPLeffect joined
TimToady (which are actually extensible, just being a string that is passed through) 23:39
pugs_svn r19536 | cosimo++ | Added svn props to test scripts 23:44
23:45 icwiener left
cosimo Is it normal that perlsix.org/svn/pugs/revision?rev=19536 , which is only svn props added, shows all rows removed and re-added? 23:45
lambdabot Title: revision: /pugs (Rev: 19536, via SVN::Web)
pugs_svn r19537 | cosimo++ | Refactored pairs tests into S29-arrays and S29-hash 23:56
TimToady I would guess it's diffing a file with CRLF with a file with just LF 23:57
ETOOMANYWITHS