Camelia, the Perl 6 bug

IRC log for #moarvm, 2013-07-14

| Channels | #moarvm index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:21 diakopter jnthn: hi
00:22 jnthn diakopter: hi
03:35 benabik joined #moarvm
08:02 FROGGS joined #moarvm
08:03 FROGGS o/
08:23 Util joined #moarvm
08:24 tadzik joined #moarvm
08:24 dalek joined #moarvm
08:25 PerlJam joined #moarvm
08:38 JimmyZ_ joined #moarvm
08:38 JimmyZ_ Good moarvming, FROGGS
08:39 FROGGS hi JimmyZ
08:39 dalek MoarVM: a8f3943 | (Tobias Leich)++ | nqp-cc/.gitignore:
08:39 dalek MoarVM: fix .gitignore, dir nqp-cc was somehow included
08:39 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/a8f39433c7
08:39 dalek MoarVM: b5e4486 | (Tobias Leich)++ | nqp-cc/t/nqp/ (8 files):
08:39 dalek MoarVM: pull in nqp-test updates that pass already
08:39 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/b5e4486907
08:39 JimmyZ_ hello
08:40 FROGGS JimmyZ_: btw, I'm not sure what I should change for s/setencoding/set_encoding/..., there is getstdin, which has no underscore
08:41 JimmyZ_ FROGGS: I meant in fileops.[h|c], not the opcode
08:41 FROGGS only the C function? okay
08:42 JimmyZ_ FROGGS: yeah :P
08:44 JimmyZ_ the opcode and C function has different consistency ...
08:46 JimmyZ_ oh, nice, 05-comments.t passed magically, last I checked it's not and I don't know why :D
08:49 patspam joined #moarvm
09:00 dalek MoarVM: f55a54c | (Tobias Leich)++ | src/ (3 files):
09:00 dalek MoarVM: consistent naming, JimmyZ++
09:00 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/f55a54c0f3
09:01 FROGGS ohh okay, I need several math ops in order to include sprintf...
09:03 JimmyZ_ :D
10:01 jnthn moarning o/
10:03 JimmyZ_ moarvming, jnthn :P
10:05 FROGGS hi jnthn
10:35 colomon joined #moarvm
10:52 FROGGS jnthn: for nqp::open($fn, $mode), it looks like I cant do the $mode translation at compile time, because the value of a variable wouldnt be known
10:52 FROGGS jnthn: so I do the translation in the C function, okay?
11:09 jnthn ok
12:36 birdwindupbird joined #moarvm
12:43 dalek MoarVM: e12cbc7 | (Tobias Leich)++ | / (12 files):
12:43 dalek MoarVM: open_fh takes 2args like nqp::open()
12:43 dalek MoarVM:
12:43 dalek MoarVM: Before it tried to translate the mode (str->int) at compile time,
12:43 dalek MoarVM: which doesnt work well when passing a variable.
12:43 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/e12cbc75cc
12:43 dalek MoarVM: c6ff08b | (Tobias Leich)++ | nqp-cc/nqp-src/NQPCORE.setting:
12:43 dalek MoarVM: pull in everything from src/core/IO.pm
12:43 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/c6ff08b494
12:55 dalek MoarVM: 767ae54 | (Tobias Leich)++ | nqp-cc/t/nqp/63-slurp.t:
12:55 dalek MoarVM: we have lexical &slurp now, so run its test
12:55 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/767ae5459b
12:56 jnthn \o/
13:07 FROGGS MoarVM is fun somehow
13:07 jnthn :)
13:08 * jnthn will give it some more tuits once he's back from this vacation :)
13:10 FROGGS I'll care about the missing math ops that are needed for sprintf
13:16 dalek MoarVM: 8cefd22 | (Tobias Leich)++ | / (2 files):
13:16 dalek MoarVM: added abs_n
13:16 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/8cefd22249
13:49 diakopter I had a dream I saw a book on MoarVM at the bookstore (just published), but I opened it and it was about another VM that chose the same name
13:55 FROGGS :/
14:02 JimmyZ_ :P
15:40 dalek MoarVM: e107233 | (Tobias Leich)++ | / (6 files):
15:40 dalek MoarVM: fixed abs_n and added ceil_n and floor_n
15:40 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/e1072335cf
16:04 ggoebel joined #moarvm
16:04 diakopter FROGGS: no likey //
16:05 diakopter FROGGS: weird, e107233 isn't showing up on the web
16:06 diakopter er, or, my web browser broke.
16:16 timotimo yesterday i had to wait ~5 minutes for github to show my new branch
16:24 FROGGS yeah, few hours ago it had a hickup too
16:38 dalek MoarVM: 26e2670 | (Tobias Leich)++ | nqp-cc/src/QASTOperationsMAST.nqp:
16:38 dalek MoarVM: mapped nqp::not_i
16:38 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/26e2670353
17:17 dalek MoarVM: bcd772a | (Tobias Leich)++ | nqp-cc/src/QASTOperationsMAST.nqp:
17:17 dalek MoarVM: correctly map nqp::neg_n
17:17 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/bcd772afc6
17:58 diakopter FROGGS: would you remove the // comments
17:58 FROGGS ohh, yes, of course
17:59 FROGGS diakopter: sorry, these shouldnt be there
18:00 diakopter yah; that took a few reminders from jnthn before I stopped that :D
18:02 dalek MoarVM: 366fade | (Tobias Leich)++ | src/core/interp.c:
18:02 dalek MoarVM: removed pointless comments, diakopter++
18:02 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/366fadec42
18:21 diakopter jnthn: someday when the optimizer gets good at statically resolving/JITing things, do you agree we can convert a *ton* of the special reprs to p6opaque (and their hundreds of nqp:: ops to methods)?
18:22 diakopter CFunction methods perhaps, but still.
18:23 diakopter it's just that classes with methods are so much easier to mentally hold than a large flat namespace of ops
18:24 diakopter [even if those classes are built up in C code binding directly to those CFunctions]
18:25 dalek MoarVM/dyncall: 7114f57 | diakopter++ | / (3 files):
18:25 dalek MoarVM/dyncall: initial attempt.  fail.
18:25 dalek MoarVM/dyncall: review: https://github.com/MoarVM/MoarVM/commit/7114f57ca9
18:26 diakopter oh you know what.
18:26 benabik .WHAT #?
18:28 diakopter :) trying to figure out why I'm failing so badly at Makefile
18:50 cognominal joined #moarvm
18:54 arnsholt Because the syntax is bananas and the functionality a bit weird at times? =)
18:56 dalek MoarVM: d321e68 | (Tobias Leich)++ | / (2 files):
18:56 dalek MoarVM: fix split() so that it gathers empty strings
18:56 dalek MoarVM:
18:56 dalek MoarVM: This handles delimiters at start and end of string too.
18:56 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/d321e689fe
18:58 dalek MoarVM: 4577ad3 | (Tobias Leich)++ | nqp-cc/t/nqp/59-nqpop.t:
18:58 dalek MoarVM: added 59-nqpop.t, only nqp::existspos is NYI
18:58 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/4577ad3c74
19:29 benabik joined #moarvm
19:30 lizmat joined #moarvm
19:43 jnthn diakopter: Well, the point of the ops is that they're REPR-specific, not type specific...
19:45 diakopter I was suggesting making "sealed" types for them
19:46 diakopter but nm; :)
19:46 jnthn .oO( why do people think methods are a magically better way of calling a piece of VM code than functions... )
19:47 diakopter I tried to answer that immediately after my question ;)
21:11 dalek MoarVM/dyncall: a174449 | diakopter++ | / (5 files):
21:11 dalek MoarVM/dyncall: add verbose option to configure; decrease default output; make dyncall build
21:11 dalek MoarVM/dyncall: review: https://github.com/MoarVM/MoarVM/commit/a174449c46
21:11 diakopter jnthn: yay, got dyncall building/linking
21:12 diakopter oh, also added a realclean target
21:15 dalek MoarVM: 3ed32f9 | (Tobias Leich)++ | / (7 files):
21:15 dalek MoarVM: added pow_I
21:15 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/3ed32f9a6b
21:15 diakopter FROGGS: could you or someone test the dyncall branch on linux/mac
21:16 diakopter (just to see if dyncall configures/builds)
21:16 FROGGS will do it now
21:16 diakopter ooo cool :)
21:17 benabik OS X configure works, building now
21:17 diakopter o_O
21:18 FROGGS is that expected? Configuring dyncall ...................................* configure package dyncall
21:18 diakopter also I added a realclean target and --verbose flag to configure; maybe test those too? :)
21:18 diakopter FROGGS: prob not
21:18 benabik Yeah, also got that here.
21:18 FROGGS there are fours lines after that, like guessing os, then the last line OK
21:19 FROGGS so maybe it is just a bit verbose
21:19 benabik Hm.  I think the compile completed, but I don't think dyncall compiled?  Trying after realclean
21:19 diakopter benabik: , FROGGS: thanks for testing :)
21:20 benabik cd 3rdparty/libtommath && @clang, @clang not found.
21:20 diakopter oh hm.
21:20 diakopter er
21:20 benabik (Trying again in master to see if that's broken too.)
21:20 FROGGS looks like dyncall got configured but wasnt made
21:20 diakopter it won't be
21:21 diakopter benabik: it won''t be broken there
21:21 benabik diakopter: Sure, probably not, but it's worth checking.  Been a while since I've built.
21:22 FROGGS cd 3rdparty/libtommath && @gcc -c -o bncore.o -I. -D_REENTRANT -D_LARGEFILE64_SOURCE -Wparentheses -Wreturn-type  -g  bncore.c
21:22 FROGGS /bin/sh: 1: @gcc: not found
21:22 dalek MoarVM/dyncall: 10da99f | diakopter++ | build/Config/BuildEnvironment.pm:
21:22 dalek MoarVM/dyncall: oops.
21:22 dalek MoarVM/dyncall: review: https://github.com/MoarVM/MoarVM/commit/10da99f50e
21:22 FROGGS ohh, yeah
21:22 benabik Also getting a pile of warnings.  Maybe I should clean those up someday.  Tends to make real errors harder to see.
21:22 diakopter FROGGS: try now
21:22 diakopter benabik: try now
21:22 FROGGS that is better
21:23 benabik Yes, compile completed.
21:23 FROGGS it made tommath and apr, but not dyncall
21:24 benabik Yeah, looks that way here too.
21:24 diakopter hrm
21:24 benabik Did you remove echoing everything from the Makefile?  I see warnings, but no indications of what command generated them.
21:24 FROGGS https://gist.github.com/FR​OGGS/bab23a1536e983c610fb
21:24 diakopter benabik: herm
21:24 diakopter benabik: hrm
21:24 diakopter didn't mean to suppress any output on *n*x
21:25 benabik Maybe I should try pulling in Git's quieter makefile stuff.  Although I don't know how that would work out in Windows.  :-/
21:25 * benabik prefer lines of "CC <file>" and "LINK <file" instead of piles of "clang -piles -of -options filename -options other file"
21:25 diakopter well I tried with the --verbose option
21:26 arnsholt benabik: That's true, but occasionally it's useful to see the options being used as well
21:27 benabik arnsholt: Well, it's generally easier to enable them when needed than dig through them when it's not.  Git allows "make V=1" to go back to the original way.
21:28 arnsholt True dat
21:28 benabik But it's all preference.  I tried to put it in Parrot's Makefile and it got rejected.
21:29 FROGGS bed time for me.... gnight all
21:29 arnsholt Well, it might be worth discussing with jnthn
21:30 arnsholt As long as we have V=1 or something similar I think I'd back it
21:31 benabik Eh.  It's not a lot of work, so I'd probably just write it and then ask jnthn or someone else to try it on Windows.
21:31 diakopter oops :)
21:31 benabik To quote my mother: "What do you mean, oops?"
21:32 dalek MoarVM/dyncall: dd8cfd9 | diakopter++ | build/Makefile.in:
21:32 dalek MoarVM/dyncall: another oops
21:32 dalek MoarVM/dyncall: review: https://github.com/MoarVM/MoarVM/commit/dd8cfd9b7e
21:32 diakopter erm
21:32 diakopter hang on
21:33 benabik "make: *** No rule to make target `3rdparty/dyncall/dyncall/libdyncall_s.lib', needed by `moarvm'.  Stop."
21:33 diakopter I said hang on :P
21:33 dalek MoarVM/dyncall: 8c608f3 | diakopter++ | build/Makefile.in:
21:33 dalek MoarVM/dyncall: another oops
21:33 dalek MoarVM/dyncall: review: https://github.com/MoarVM/MoarVM/commit/8c608f39ed
21:34 diakopter ergh
21:35 diakopter oh heh.
21:35 benabik :-D "make: *** No rule to make target `3rdparty/dyncall/dyncallb​ack/libdyncallback_s.lib', needed by `moarvm'.  Stop."
21:38 dalek MoarVM/dyncall: f37dc6a | diakopter++ | build/ (2 files):
21:38 dalek MoarVM/dyncall: lib exts
21:38 dalek MoarVM/dyncall: review: https://github.com/MoarVM/MoarVM/commit/f37dc6a650
21:39 benabik Link line for moarvm that includes libdyncall* stuff.  :-)
21:39 diakopter it's not there?
21:41 dalek MoarVM/dyncall: b452f56 | diakopter++ | build/ (2 files):
21:41 dalek MoarVM/dyncall: more libext
21:41 dalek MoarVM/dyncall: review: https://github.com/MoarVM/MoarVM/commit/b452f56a41
21:41 diakopter (it is for me on linux)
21:45 benabik It is there.
21:46 dalek MoarVM/dyncall: 01460a5 | diakopter++ | .gitignore:
21:46 dalek MoarVM/dyncall: fix realclean
21:46 dalek MoarVM/dyncall: review: https://github.com/MoarVM/MoarVM/commit/01460a5823
21:50 benabik Erm.  Did you make realclean use `git clean`?
21:50 diakopter well, now it works on linux, but not on windows
21:50 diakopter benabik: why?
21:50 benabik diakopter: Your commit says "fix realclean" and modifies .gitignore.
21:51 diakopter oh heh
21:51 diakopter meant the other thing
21:51 benabik Ah, 'kay.
21:58 diakopter hrm.
22:26 diakopter there.
23:22 lizmat joined #moarvm

| Channels | #moarvm index | Today | | Search | Google Search | Plain-Text | summary