00:03 MayDaniel left
Circlepuller_ std: say "Hello World!"; fork(); 00:10
p6eval std 77327a4: OUTPUT«ok 00:00 42m␤»
Circlepuller_ std: say "Hello World!"; fork; fork;
p6eval std 77327a4: OUTPUT«ok 00:00 42m␤»
Circlepuller_ wolol
r: say "Hello World!"; fork; fork;
diakopter std is just a parser
p6eval rakudo 3d31af: OUTPUT«===SORRY!===␤CHECK FAILED:␤Undefined routine '&fork' called (lines 1, 1)␤»
Circlepuller_ oh
i see
diakopter with some semantic checking 00:11
sirrobert exit 00:18
00:18 sirrobert left
diakopter rn: say ?(->{} ~~ ->{}) 00:21
p6eval niecza v22-6-g9e5350d: OUTPUT«Unhandled exception: Excess arguments to ANON, used 0 of 1 positionals␤ at /tmp/cm0MIxj6YU line 0 (ANON @ 1) ␤ at /home/p6eval/niecza/lib/CORE.setting line 1052 (Block.ACCEPTS @ 4) ␤ at /tmp/cm0MIxj6YU line 1 (mainline @ 3) ␤ at /home/p6eval/niecza/lib/…
..rakudo 3d31af: OUTPUT«False␤»
diakopter rn: say ?((my \p =p) ~~ p) 00:27
p6eval rakudo 3d31af: OUTPUT«===SORRY!===␤CHECK FAILED:␤Undefined routine '&p' called (line 1)␤»
..niecza v22-6-g9e5350d: OUTPUT«True␤»
diakopter rn: say @0[0-1] 00:31
p6eval rakudo 3d31af: OUTPUT«Cannot use negative index -1 on Any␤ in method gist at src/gen/CORE.setting:9929␤ in sub say at src/gen/CORE.setting:7250␤ in block at /tmp/tgxyvW1yVf:1␤␤»
..niecza v22-6-g9e5350d: OUTPUT«Any()␤»
[Coke] alright, got the dispatcher fixed so it can call the builtins. now to fix the actions so they are generating valid QAST. 00:34
00:37 Chillance left, tokuhiro_ joined 00:52 flightrecorder left, FROGGS left
dalek c: bb467ff | (Geoffrey Broadwell)++ | type-graph.txt:
Fix up type-graph.txt to reflect non-Coolness of Iterable
00:53
rl6-bench: c7e2183 | (Geoffrey Broadwell)++ | bench:
Improve documentation of --outfile option
00:54
00:56 macae joined
[Coke] Do we have any debugging aids for nqp grammars/actions? 00:56
00:57 Circlepuller joined 00:59 Circlepuller_ left 01:04 tgt left
[Coke] WOOT: 01:16
sorear \o/
[Coke] > puts hi
hi
sorear [Coke]: '\o/ ' x 10
01:19 macae2 joined 01:21 macae left 01:25 macae2 left 01:26 macae joined 01:35 dayangkun joined 01:44 arlinius left 01:52 rindolf left
[Coke] whee. now to fix all the OTHER stuff. 01:55
so, "partcl foo.tcl" doesn't work - just drops me into the interactive mode. am I missing something in MAIN, I wonder... 02:17
nqp: say nqp::box_s(pir::new__PS('OS').chdir(".")); 02:18
p6eval nqp: OUTPUT«Confused at line 2, near "say nqp::b"␤current instr.: 'panic' pc 19999 (src/stage2/gen/NQPHLL.pir:7315) (src/stage2/gen/NQPHLL.pm:324)␤»
[Coke] nqp: say(nqp::box_s(pir::new__PS('OS').chdir("."))); 02:19
p6eval nqp: OUTPUT«Error while compiling block : Error while compiling op call: Error while compiling op box_s: Operation 'box_s' requires 2 operands, but got 1␤current instr.: '' pc 43434 (src/stage2/QAST.pir:15060) (src/stage2/QAST.nqp:2253)␤»
[Coke] box_s isn't documented, but I'd expect it to take a thing to box and to return a string. no?
(a parrot string to a nqp string)
02:29 macae left 02:30 armitage81 left
[Coke] nqp: INIT { sub eek() {say(3)}}; eek; 02:31
p6eval nqp: ( no output )
02:32 tokuhiro_ left, macae joined
[Coke] argh. have a circular dependency on things that are compiled to PIR. 02:35
diakopter nqp: INIT { sub eek() {say(3)}}; say(eek.HOW); 02:39
p6eval nqp: OUTPUT«get_string() not implemented in class 'NQPClassHOW'␤current instr.: '' pc 791 (src/stage2/gen/NQPCORE.setting.pir:363) (src/stage2/NQPCORE.setting:321)␤»
02:39 benabik left 02:40 benabik joined 02:44 Su-Shee left 02:45 orafu left, orafu joined
[Coke] nqp: INIT { sub eek() {say(3)}}; eek(); 02:47
p6eval nqp: OUTPUT«Could not find sub &eek␤current instr.: '' pc 71 ((file unknown):138877613) (/tmp/G6K_yZhnL1:1)␤»
02:48 Pleiades` left 02:52 Woodi left 02:53 replore_ joined, Pleiades` joined 02:58 ase joined
ase good night !perl6! 02:58
my %h = map {split }<DATA>; 02:59
translate it to perl6. Who can help me! 03:00
[Coke]:can you give me aninstruction> 03:02
03:04 ase left
[Coke] I'm not sure p6 has DATA, perse. 03:04
03:04 Pleiades` left
[Coke] *per se 03:04
nqp: class Tcl { method Str() { return "barf" } }; say ~Tcl.new(); 03:06
p6eval nqp: ( no output )
[Coke] nqp: class Tcl { method Str() { return "barf" } }; say Tcl.new().Str;
p6eval nqp: OUTPUT«Confused at line 2, near "say Tcl.ne"␤current instr.: 'panic' pc 19999 (src/stage2/gen/NQPHLL.pir:7315) (src/stage2/gen/NQPHLL.pm:324)␤»
[Coke] nqp: class Tcl { method Str() { return "barf" } }; say(Tcl.new().Str);
p6eval nqp: OUTPUT«barf␤»
[Coke] nqp: class Tcl { method Str() { return "barf" } }; say(Tcl.new());
p6eval nqp: OUTPUT«Tcl<-1654810237>␤»
[Coke] nqp: class Tcl { method Str() { return "barf" } }; say(~Tcl.new());
p6eval nqp: OUTPUT«Tcl<516662407>␤»
[Coke] ase: I believe the p6 way is to store the data in POD, and then use the POD vars to get at the data. 03:07
03:11 ingy joined 03:12 Pleiades` joined 03:13 macae left 03:15 replore_ left 03:19 thou left 03:31 orafu left 03:38 arlinius joined 03:42 wk_ joined, wk left 04:17 skids left 04:30 cognominal joined 04:34 cognominal left 04:37 Targen left 04:38 simcop2387 left, simcop2387 joined 04:40 Targen joined 04:46 cognominal joined 04:51 cognominal left 04:54 cognominal joined 05:07 birdwindupbird joined 05:09 drbean left 05:13 wk_ left 05:24 fgomez left, fgomez joined 05:27 kaleem joined
cognominal impressive the respective sizes of the settings : 05:30
$ wc -l ~/rakudo/src/core/*.pm | tail -n1
11548 total
$ wc -l ~/rakudo/nqp/src/core/*.pm | tail -n1
375 total
I mean, the difference of size 05:31
05:40 sudokode is now known as AnalogApe 05:44 fgomez left 05:46 fgomez joined, s1n left 05:48 AnalogApe is now known as sudokode, s1n joined 05:55 m0ss joined 05:58 dayangkun left 05:59 taniavs666 joined
m0ss I'm trying to figure out if this would make sense in Perl6's regex: /<~~0>[(a)|(b)]/ 06:01
cognominal I don't think the <~~0> means anything 06:02
rakudo: /<~~0>[(a)|(b)]/ 06:03
p6eval rakudo 3d31af: OUTPUT«===SORRY!===␤Sorry, ~~ regex assertion with a capture is not yet implemented␤»
m0ss will in this /(a)<~~0>/, it would be the same as if you wrote /(a)[a]/
cognominal Apparently rakudo knows better 06:04
m0ss but if the recursive callback occurs beforehand, some cases can be figured out, the above would probably require knowing the future 06:05
maybe damian can do it with positronic variables 06:06
06:06 drbean joined
cognominal this ~~n is hardly new, 4 years old, but I never noticed it in the specs 06:07
m0ss it will probably require the start of the called back reference already appeared 06:08
*to have already appeared 06:09
06:12 fgomez left
m0ss its similar to Perl5's \g1 regex element, which doesn't try to go forward in its references even though it hypothetically could 06:16
06:20 fgomez joined 06:25 fgomez left 06:27 fgomez joined 06:32 fgomez_ joined, fgomez left
m0ss sorry, not \g1, (?1) is the Perl5 equivalent 06:32
06:33 wk joined 06:38 m0ss left 06:41 cognominal_ joined 06:43 cognominal left 06:53 cognominal_ left 06:55 fgomez_ left 06:57 fgomez joined 06:59 cognominal joined 07:07 domidumont left 07:09 Woodi joined 07:17 flightrecorder joined 07:25 hoelzro|away is now known as hoelzro 07:30 FROGGS joined 07:34 Psyche^ joined
Ulti for @list -> $thing { say $thing; } <--- is $thing automatically local to the for blockoid? 07:35
I instinctually keep writing "for @list -> my $thing {" which makes the compiler shout about invalid types because its exepecting to see Str or similar there 07:37
tadzik it's "my" itself, don't worry :)
07:37 Patterner left
Ulti k k 07:37
07:37 Psyche^ is now known as Patterner
Ulti thanks tadzik 07:38
07:39 cognominal left
sorear Ulti: it's a little bit odd because this is one of the few places where we compromise on the "variables are scoped to the enclosing block" rule 07:43
moritz well, not much different than sub f($x) { $x } where $x is also visible in the signature 07:45
like sub f($x, $y = 2 * $x) { }
07:46 sivoais left
arnsholt Since pointy blocks are lambdas (modulo return semantics and such), I think the sub analogy is a good one 07:49
07:50 cognominal joined 07:58 xinming left 07:59 sivoais joined 08:02 xinming joined
Ulti sorear yeah its just catching me out because I'm not used to it yet 08:05
I was only wondering where the scope was
08:10 fhelmberger joined
cognominal perl is not ruby... 08:10
08:11 kurahaupo left
cognominal nor coffeescript either. No implicit declaration in lexical scope for variables. 08:12
08:13 taniavs666 left 08:14 domidumont joined, taniavs666 joined 08:21 taniavs666 left 08:26 kurahaupo joined 08:33 kurahaupo left 08:37 cognominal left 08:52 Chillance joined 08:58 snearch joined 09:04 kurahaupo joined 09:08 bbkr_ left 09:32 snearch left 09:34 Su-Shee joined 09:44 daxim joined 09:45 cognominal joined 09:47 kurahaupo left 09:48 phenny joined 09:49 cognominal left 09:58 tgt joined 10:01 xinming left
mathw "Basic macro support" :o :D \o/ 10:12
10:14 flussence joined 10:44 xinming joined 10:46 bbkr joined
bbkr rakudo: :(Str :$name).HOW.say # known bug? 10:47
p6eval rakudo 3d31af: OUTPUT«Null PMC access in get_bool()␤ in attributes at src/stage2/gen/nqp-mo.pm:1151␤ in method perl at src/gen/CORE.setting:791␤ in method gist at src/gen/CORE.setting:786␤ in sub say at src/gen/CORE.setting:7250␤ in method say at src/gen/CORE.setting:781␤ in block…
moritz rakudo: :(Str :$name).HOW 10:51
p6eval rakudo 3d31af: ( no output )
moritz rakudo: :(Str :$name).HOW.Str
p6eval rakudo 3d31af: ( no output )
moritz rakudo: :(Str :$name).HOW.gist
p6eval rakudo 3d31af: OUTPUT«Null PMC access in get_bool()␤ in attributes at src/stage2/gen/nqp-mo.pm:1151␤ in method perl at src/gen/CORE.setting:791␤ in method gist at src/gen/CORE.setting:786␤ in block at /tmp/OZ0O_0TWKs:1␤␤»
moritz bbkr: not known to me
10:51 sisar joined
bbkr rakudo: Int.HOW.say 10:52
p6eval rakudo 3d31af: OUTPUT«Null PMC access in get_bool()␤ in attributes at src/stage2/gen/nqp-mo.pm:1151␤ in method perl at src/gen/CORE.setting:791␤ in method gist at src/gen/CORE.setting:786␤ in sub say at src/gen/CORE.setting:7250␤ in method say at src/gen/CORE.setting:781␤ in block…
bbkr not related to signature
bbkr reports
moritz r: Int.HOW.gist(Int) 10:54
p6eval rakudo 3d31af: OUTPUT«Cannot call 'gist'; none of these signatures match:␤:(Mu:U : Mu *%_)␤:(Mu:D : Mu *%_)␤␤ in method gist at src/gen/CORE.setting:784␤ in block at /tmp/aTT4EA_mE0:1␤␤»
bbkr RT #115090 10:55
moritz bbkr++
10:58 isBEKaml joined
isBEKaml ola, #perl6! Has there been anything so far on the pugs issue with ghc 7.4? 10:58
moritz not that I'm aware of 11:00
did you open a ticket?
dalek osystem: d71ff5b | Matt++ | META.list:
Added Text--Emotion for text sentiment analysis

Early days on a package for very simple text sentiment analysis in perl6.
osystem: 4306d94 | tadzik++ | META.list:
Merge pull request #14 from MattOates/patch-1

Added Text--Emotion for text sentiment analysis
isBEKaml moritz: no, I just wanted to see if there's anyone else facing the same issue. 11:01
this looks similar to the problem I'm seeing here: stackoverflow.com/questions/9555671...-haskell98 11:03
bbkr loading dylibs in NativeCall works on mac \o/
isBEKaml NativeCall's picking up steam, cool. :) 11:05
11:06 Su-Shee_ joined, gootle left 11:07 Su-Shee left, Su-Shee_ is now known as Su-Shee
bbkr now I can port GeoIP to other OS'es, previously it was mac-only 11:09
isBEKaml ha, awesome! 11:10
bbkr I have access to MaxMind paid libraries so I'll try also add support for them like in P5 GeoIP module 11:21
arnsholt Spiffy! 11:23
Give me a shout if you run into anything odd
Also, if you can think of a way to make the test calling out to libc work on Linux, I'd be very grateful as well =) 11:24
11:24 mtk joined
FROGGS arnsholt: whats the problem with libc? 11:29
bbkr rakudo: :().^methods>>.say
p6eval rakudo 3d31af: OUTPUT«perl␤returns␤count␤Unmarshallable foreign language value passed for parameter 'obj'␤ in method dispatch:<hyper> at src/gen/CORE.setting:936␤ in block at /tmp/rrQcZukkaa:1␤␤» 11:30
tadzik arnsholt: that's working, isn't it?
like, is native("")
there should be a fork() example in the repo
[Coke] if I want to override stringification on an nqp object, what method do I override? (neither string nor gist work.) 11:35
nqp: class bar {method Str() {return "str"}; method gist() {return "gist"}}; say bar.new 11:36
p6eval nqp: OUTPUT«Confused at line 2, near "say bar.ne"␤current instr.: 'panic' pc 19999 (src/stage2/gen/NQPHLL.pir:7315) (src/stage2/gen/NQPHLL.pm:324)␤»
[Coke] nqp: class bar {method Str() {return "str"}; method gist() {return "gist"}}; say(bar.new 11:37
p6eval nqp: OUTPUT«Confused at line 2, near "say(bar.ne"␤current instr.: 'panic' pc 19999 (src/stage2/gen/NQPHLL.pir:7315) (src/stage2/gen/NQPHLL.pm:324)␤»
[Coke] nqp: class bar {method Str() {return "str"}; method gist() {return "gist"}}; say(bar.new)
p6eval nqp: OUTPUT«bar<-757475111>␤»
[Coke] nqp: class bar {method Str() {return "str"}; method gist() {return "gist"}}; say(~bar.new) 11:38
p6eval nqp: OUTPUT«bar<1893352701>␤»
[Coke] sorry, that should have read, "neither Str nor gist work" 11:41
moritz [Coke]: I don't think it works with a method, you have to publish a vtable override 11:42
[Coke] grep for vtable in src/Perl6/Metamodel/BOOTSTRAP.pm (in the rakudo repo) 11:44
arnsholt tadzik: It is? When I tried it last (which is a bit back, admittedly) it failed because of Linux library naming shenanigans
tadzik arnsholt: dunno then. I remember it working though :) 11:45
arnsholt is native("libc") went looking for libc.so on the machine I tried, which didn't work because it's named libc.so.6 or something
arnsholt goes testing 11:46
FROGGS perl6 -MNativeCall -e 'sub A ( int ) is native("libc") { }; A(7)' 11:47
Cannot locate native library 'libc.so'
who is searching for the library? parrot?
arnsholt dlopen(3) 11:48
If you try to `ls /lib64/libc.*` you'll see why it can't find libc.so 11:49
tadzik: Well, dlopen("") works, true
But the test is to check that opening .dylibs on OS X works
Er, native("") that is 11:50
FROGGS what about creating a lib on your own? and load this one? 11:51
arnsholt But I wanted to write a test that tests it on OS X while still being an OK test on other OSes, to sidestep the whole "which OS is this again" issue
FROGGS like you already do in tests
arnsholt Hmm. Might work
11:53 tgt left
isBEKaml moritz: I have opened a new Pugs issue. It might gain more eyes looking at it. :) 11:54
arnsholt: sorry if I sound stupid, but shouldn't dlopen work in locating libraries for you? I mean, that's how you locate libraries, right? (or ldd?) 11:57
11:58 tgt joined
isBEKaml ls 11:59
dalek volaj: 92a9254 | (Arne Skjærholt)++ | README.markdown:
Fix typo in README.

Some inconsistent naming in the CPointer REPR example, where both FooPointer and FooHandle referred to the same class. Closes #14.
12:00
arnsholt isBEKaml: That's what I thought too, but it seems like it doesn't :/
Although right now there's something odd with loading libs in general on Linux 12:01
isBEKaml arnsholt: Oh, I've seen that sort of things happening on different distributions. Debian keeps libraries in one place, ubuntu another, slackware 32 bit yet another and slackware 64 bit keeps its own 64 bit libraries. Ooh, my shenanigans! 12:02
arnsholt: I don't know if this is what you're seeing - if libc were natively compiled on each of these distributions, dlopen should probably work. 12:04
arnsholt The problem isn't really locations, as far as I can make out, it's naming 12:05
dlopen("libc") goes looking for a file named libc.so, but the actual file is called libc.so.6 which makes everything break horribly =(
isBEKaml Oh. :( 12:06
arnsholt moritz: Older commits in Zavolaj are broken in the same way as you reported. I'm starting to wonder if I haven't broken something via NQP... 12:11
Upping NQP and friends to check 12:13
12:14 sisar left
arnsholt moritz: Using Rakudo and NQP heads the test suite seems to run fine on my machine. What revisions are you on? 12:22
moritz arnsholt: rakudo was up-to-date at the time I posted the ticket 12:23
and nqp was generated with --gen-nqp
arnsholt Hmm. How many commits between NQP_REVISION and NQP head> 12:25
[Coke] moritz: this is for TclList, which started out with a vtable override, which also didn't work. Checking Bootstrap... 12:26
moritz: odd, those are dynamic calls; my overrides (originally from parrot-nqp days) are in the class definition (TclList has an !@array, which handles ...) 12:28
... and get_string isn't one of them (though I implement a get_string method.) Odd. 12:30
moritz note that a method named get_string alone doesn't help at all, since vtables and methods are stored in different places 12:31
[Coke] aye. I know (knew?) that, as I am using "is parrot_vtable_handler" or somesuch. 12:33
just another mysterious "used to work in parrot-nqp" change that does make sense.
moritz oh, I've just seen that the rakudo vtable stuff is implemented in src/Perl6/Metamodel/ParrotInterop.pm 12:35
which calls pir::stable_publish_vtable_mapping__vPP
which seems to take a type object and a hash 12:36
Ulti hmmm my Text::Emotion module doesn't work when installed via panda, it has a problem with the POD parsing: No such method 'content' for invocant of type 'Any' 12:39
the pir file has all that data embedded though 12:40
moritz is "installed with panda" the problem, or is it "precompiled"?
Ulti I can check 12:41
I imagine its precompiled, since panda hasn't done anything wrong and its in the path etc.
12:50 tgt left 12:51 gootle joined
[Coke] moritz: so, the "has ... is parrot_vtable_handler" works when using handles for a hasa. how does one specify that a method in the object handles one of the parrot vtables? 12:53
Ulti moritz: precompiled
:[ 12:54
12:54 atrodo joined
Ulti so if a .pir is sat in a local lib folder you get the same message, if its just the .pm everything works as expected grabbing from $=pod 12:55
[Coke] does that require the code you pointed to in BOOTSTRAP?
Ulti writes a test
[Coke] (looks like the bootstrap code is still pointing the vtable to a handler hasa, not to a method. 12:56
moritz nqp: sub static($code) {
p6eval nqp: OUTPUT«Unable to parse blockoid, couldn't find final '}' at line 2, near ""␤current instr.: 'panic' pc 19999 (src/stage2/gen/NQPHLL.pir:7315) (src/stage2/gen/NQPHLL.pm:324)␤»
dalek rlito: c8718c4 | (Flavio S. Glock)++ | README-perlito5-js:
Perlito5 - js3 - add some ideas to README
moritz nqp: sub static($code) { $code.get_lexinfo().get_static_code() }; class A { }; A.HOW.add_parrot_vtable_mapping(A, 'get_string', static(sub ($self) { 'OH HAI' })); say(A.new) 12:57
p6eval nqp: OUTPUT«A<-1469704912>␤»
moritz nqp: sub static($code) { $code.get_lexinfo().get_static_code() }; class A { }; A.HOW.add_parrot_vtable_mapping(A, 'get_string', static(sub ($self) { 'OH HAI' })); say(~A.new)
p6eval nqp: OUTPUT«A<1078423391>␤»
moritz nqp: sub static($code) { $code.get_lexinfo().get_static_code() }; class A { }; A.HOW.add_parrot_vtable_mapping(A, 'get_string', static(sub ($self) { 'OH HAI' })); A.HOW.compose(A); say(~A.new)
p6eval nqp: OUTPUT«OH HAI␤» 12:58
moritz nqp: sub static($code) { $code.get_lexinfo().get_static_code() }; class A { method Str() { 'OH HAI' } }; A.HOW.add_parrot_vtable_mapping(A, 'get_string', static(sub ($self) { $self.Str })); A.HOW.compose(A); say(~A.new)
[Coke] O_o
p6eval nqp: OUTPUT«OH HAI␤»
moritz not sure if there's syntactic sugar for the method case 12:59
I guess that if you open a ticket, jnthn++ will add something
[Coke] that's a big step from JFW in parrot's nqp. Danke, I'll see if I can incorporate that.
13:07 tgt joined
[Coke] moritz: my initial test on that fails for TclList. I'll see what I can do later, but $DAYJOB 13:07
13:08 PacoAir joined 13:11 benabik left 13:12 benabik joined, fhelmberger left 13:14 isBEKaml|2 joined 13:15 GlitchMr joined 13:17 isBEKaml left 13:18 fhelmberger joined 13:19 flightrecorder left 13:20 FROGGS left
GlitchMr ok, I'm now going to have fun compiling 2012.09 on feather 13:20
hoelzro wonders if the debugger issues he saw in 2012.08 are fixed 13:21
GlitchMr I hope that my automated tools still work 13:22
13:23 stopbit joined 13:29 stopbit left 13:30 isBEKaml|2 left
GlitchMr src/core/you_are_here.pm 13:31
ok
13:34 grondilu joined
grondilu rn: say [ 1j ]; 13:34
p6eval rakudo 3d31af: OUTPUT«===SORRY!===␤Unable to parse postcircumfix:sym<[ ]>, couldn't find final ']' at line 2, near "1j ];"␤»
..niecza v22-6-g9e5350d: OUTPUT«===SORRY!===␤␤Whitespace is required between alphanumeric tokens at /tmp/9IvZPMHprd line 1:␤------> say [ 1⏏j ];␤␤Two terms in a row at /tmp/9IvZPMHprd line 1:␤------> say [ 1⏏j ];␤␤Parse failed␤␤»…
grondilu rn: say 1j;
p6eval niecza v22-6-g9e5350d: OUTPUT«===SORRY!===␤␤Whitespace is required between alphanumeric tokens at /tmp/NzeNCp3XIE line 1:␤------> say 1⏏j;␤␤Two terms in a row at /tmp/NzeNCp3XIE line 1:␤------> say 1⏏j;␤␤Parse failed␤␤»…
..rakudo 3d31af: OUTPUT«===SORRY!===␤Confused␤at /tmp/dxOJp045M9:1␤»
grondilu rn: say +1j;
p6eval rakudo 3d31af: OUTPUT«===SORRY!===␤Confused␤at /tmp/aXQ0kljFmc:1␤»
..niecza v22-6-g9e5350d: OUTPUT«===SORRY!===␤␤Whitespace is required between alphanumeric tokens at /tmp/WBNQRxA9hj line 1:␤------> say +1⏏j;␤␤Two terms in a row at /tmp/WBNQRxA9hj line 1:␤------> say +1⏏j;␤␤Parse failed␤␤»…
grondilu rn: say [ 1i ]; 13:35
p6eval rakudo 3d31af, niecza v22-6-g9e5350d: OUTPUT«0+1i␤»
grondilu had confused i with j. Please ignore. 13:36
GlitchMr glitchmr@feather ~> perl6-debug 13:37
perl6-debug perl6-debug-2012.08 perl6-debug-2012.09
13:37 grondilu left 13:42 Targen left
tadzik GlitchMr: please stop 13:46
GlitchMr sorryt
I accidently typed wall
13:48 kaare__ joined 13:49 skids joined
dalek rlito: 8c165e0 | (Flavio S. Glock)++ | README-perlito5-js:
Perlito5 - js3 - README update
13:51
13:56 benabik left 13:59 tgt left
dalek gs.hs: 3ee7e28 | au++ | pugs-compat/src/Pugs/Compat/Posix.hs:
* Try addressing #25.

   Still downloading Haskell Platform on Windows 8 here, so not
   exactly sure if it's the right fix... Will follow up soon.
14:02
14:02 avrono joined 14:04 jerome joined 14:05 buubot_backup joined, avrono left 14:08 fhelmberger left
Ulti how can I just directly execute a pir file with parrot? 14:09
moritz parrot file.pir
but that doesn't work for rakudo-generated .pir files
Ulti ok there is something really weird going on, if I directly run parrot it wiggs out not being able to find libraries 14:10
moritz: ahh ok
what do I do with rakudo-generated .pir files?
moritz you 'use' them
(ie makes only sense for module files) 14:11
14:11 wk left, flightrecorder joined 14:12 FROGGS joined
Ulti in that case yeah, $=pod just doesn't work with precompiled .pir files :( 14:13
$=pod looks like: Array.new(Pod::Block::Named.new(name => "data", config => ().hash, content => Array.new())) regardless of what's in the source 14:15
14:15 tgt joined
Ulti I'll try using a section called data 14:15
oh right that is what I used
its just empty
tadzik yeah, that's NYI, sorry 14:17
I don't see why Pod wouldn't work with precompiled modules though
14:17 tgt left
tadzik jnthn is to be asked I guess 14:17
Ulti looks like its implemented for the very top level 14:18
so all the sections are there with empty arrays
I could store all my data as POD sections ;)
14:18 bluescreen10 joined
Ulti kind of odd it works, apart from if you are working from the pir file, which has the data inside if you read the pir 14:19
14:23 tgt joined 14:27 spider-mario joined, MikeFair___ joined 14:28 MikeFair_ left 14:41 benabik joined 14:44 spanner joined 14:47 tgt left, isBEKaml joined 14:49 fhelmberger joined
gfldex pmichaud: i traced the cygwin problem down a little further: gist.github.com/3812274 14:55
perl -e 'sysrem($foo)' is calling "/bin/sh -c $foo" 14:56
/bin/sh is setting the PWD to $HOME
isBEKaml gfldex: IIRC, sh -l sets it to login mode - that is, $PWD is $HOME. I'm not sure that's what you were looking for. 14:58
gfldex i'm looking for it not doing that 14:59
on cygwin building nqp fails for me because perl5/system() is doing funky stuff
15:00 sivoais left 15:01 benabik_ joined
isBEKaml Oh, I see... perl5's system() on cygwin is broken? :/ 15:01
hoelzro fg
oops
isBEKaml hoelzro: It's alright - I typed ls on a windows cmd prompt. =) 15:02
and here on this window too. Muscle memory's stronger than visual signals. :D
skids
.oO(A bot that makes fun of you for typing unix commands in the IRC window.)
15:03
isBEKaml skids: we have some part of it here.
:wq
hugme hugs isBEKaml, good vi(m) user!
isBEKaml :)
15:03 xinming_ joined 15:04 tgt joined, benabik left, xinming left, benabik_ is now known as benabik 15:09 sivoais joined
gfldex i did some sneaky perl6 pomotion and got a hug offer in return: forums.runicgames.com/viewtopic.php...06#p356721 15:11
PerlJam gfldex: Why is it unlikely that they'll be able to get your script running? 15:13
gfldex i doubt to be able to give any reasonable answer to that question without getting disrepsectful 15:14
15:17 kaleem left 15:20 sftp left
doy was wondering if a "hug offer" was a perl6-ism for being trolled 15:21
15:21 arlinius left 15:25 birdwind1pbird joined
shachaf hi isBEKaml 15:29
isBEKaml hi
shachaf GHC 7.6 broke a lot of things.
isBEKaml yeah, I was specifically wondering about that.
15:30 Circlepuller_ joined
isBEKaml also, if you see the issue message, I also asked if it was high time we moved out of haskell98 packages wrt Pugs 15:30
shachaf I think the right solution is to do less in the way of pugs-compat wrappers and multiple module imports and more in the way of doing things the way you're supposed to.
15:30 odoacre_ left
shachaf Yep. 15:30
Where's stringtable-atom maintained? 15:31
15:32 Circlepuller left
isBEKaml Right, I guess au++ knows a lot about those kind of things (i.e., dependencies and other stuff, which can potentially break if I get around to fixing these :) 15:32
shachaf Hmm, what happened to all the changes I made to Pugs.hs? 15:36
E.g. it's all back to -fglasgow-exts, and I'm pretty sure I added LANGUAGE pragmas everywhere. 15:37
isBEKaml I'm right now here: gist.github.com/3812560
15:38 arlinius joined
shachaf How did you get stringtable-atom to build? 15:38
15:39 arlinius left
shachaf (containers 0.4?) 15:39
Oh, everything I did is in the branch origin/deprecations... 15:40
Might be worth merging it in. 15:41
(Hmm, not everything. Maybe I didn't push some of it?)
gfldex pmichaud: i think i got it: gist.github.com/3812578
isBEKaml shachaf: I don't remember building stringtable stuff.
shachaf isBEKaml: It's a dependency of pugs-compat
isBEKaml yeah, I can see that in .cabal file - but I don't remember building it at all. But it's there in my .cabal dir. 15:42
shachaf Do you have containers-0.4?
isBEKaml ~/.cabal - that is.
shachaf By the way, I'm not the only person who finds things like github.com/perl6/Pugs.hs/blob/mast...es.hs#L380 worrying, am I?
isBEKaml shachaf: no, not containers 15:43
shachaf Odd.
geekosaur ... that makes my brain hurt
shachaf Also github.com/perl6/Pugs.hs/blob/mast...es.hs#L627 15:44
isBEKaml the bang stuff? forcing eval? 15:46
(Sorry, I'm seriously outta my base here)
geekosaur isBEKaml, extremely questionable Ord instances for types that are not really compare-able 15:47
shachaf "questionable" meaning broken and/or GC-unsafe and/or pointless. 15:48
15:49 am0c joined
geekosaur wtf-ed a bit and then closed the windows in the interests of sanity 15:49
isBEKaml hmm, I just found the ![type] stuff odd - haven't seen them before. 15:50
15:50 hoelzro is now known as hoelzro|away
isBEKaml geekosaur: ISTR you were once an active contributor to Pugs. 15:51
geekosaur I poked at it a bit, my biggest contribution was kinda negative though
daxim you deleted code? 15:52