These are chat archives for dropbox/pyston

3rd
Apr 2015
Chris Toshok
@toshok
Apr 03 2015 01:01
Travis Hance
@tjhance
Apr 03 2015 02:10
GUYS
plz stop referring to travis-ci as just travis
it is driving me crazy
Chris Toshok
@toshok
Apr 03 2015 02:11
haha
I hadn’t been doing it, I hope.. but I promise not to in the future :)
Daniel Agar
@dagar
Apr 03 2015 03:37
ha
I was trying to use travis-ci
Chris Toshok
@toshok
Apr 03 2015 03:37
(gdb) print ((pyston::BoxedString*)rhs)->s
$3 = {static npos = 18446744073709551615, Data = 0x1271e4cee0 "", Length = 18446744073709551615}
:(
Travis Hance
@tjhance
Apr 03 2015 04:22
wait how did you get gdb to do that
Chris Toshok
@toshok
Apr 03 2015 04:23
the coloring or the way it printed the struct?
Travis Hance
@tjhance
Apr 03 2015 04:24
the struct
Chris Toshok
@toshok
Apr 03 2015 04:24
the struct i don’t think there’s anything special. It’s just an llvm::StringRef
Travis Hance
@tjhance
Apr 03 2015 04:24
ohh
Chris Toshok
@toshok
Apr 03 2015 04:24
just a POD,not a std::string :)
Travis Hance
@tjhance
Apr 03 2015 04:24
i thought it was still a std::string
that’s why I was confused
Chris Toshok
@toshok
Apr 03 2015 04:24
yeah i would love that sorta output for std::string
Travis Hance
@tjhance
Apr 03 2015 04:24
i’m so sick of typing print *((char**)s) or whatever it is
Chris Toshok
@toshok
Apr 03 2015 04:24
actually, i think the gdb on jitdev has a .py for stl that prints things out as normal strings
Travis Hance
@tjhance
Apr 03 2015 04:25
we should make badass gdb plugins that know about pyston’s data structures
we’d be so legit
or should i say
le-jit
Chris Toshok
@toshok
Apr 03 2015 04:25
you can also embed the gdb stuff into the executable
so the users don’t need to download special .py files
haha le-jit
Kevin Modzelewski
@kmod
Apr 03 2015 06:05
heh
yeah I think Michael had worked out how to get the stl pretty-printers working
I think with that we could definitely create our own :)