<itadder>
wow jane street capital is the place I would love to transfer to, my current hedgefund is no were near as cool
<itadder>
and laid back
tautologico has quit [Quit: Connection closed for inactivity]
jwatzman|work has quit [Quit: jwatzman|work]
travisbrady has joined #ocaml
<itadder>
oh opam is like gem
<itadder>
you are right
<itadder>
oh so it installed in my home directory does not need the system or sudo or root
nikki93 has quit [Remote host closed the connection]
S11001001 has joined #ocaml
S11001001 has quit [Changing host]
S11001001 has joined #ocaml
itadder has quit [Remote host closed the connection]
wolfnn has quit [Quit: Leaving.]
matthieu2 has quit [Ping timeout: 252 seconds]
Simn has quit [Quit: Leaving]
xianxu has quit [Ping timeout: 252 seconds]
boogie has quit [Remote host closed the connection]
lostcuaz has joined #ocaml
nikki93 has joined #ocaml
nikki93 has quit [Remote host closed the connection]
nikki93_ has joined #ocaml
tautologico has joined #ocaml
srcerer has joined #ocaml
tlockney_away is now known as tlockney
nikki93_ has quit [Remote host closed the connection]
ollehar has quit [Ping timeout: 240 seconds]
q66 has quit [Quit: Leaving]
tlockney is now known as tlockney_away
watermind has quit [Quit: Konversation terminated!]
watermind has joined #ocaml
watermind has quit [Quit: Konversation terminated!]
watermind has joined #ocaml
tobiasBora has quit [Quit: Konversation terminated!]
watermind has quit [Quit: Konversation terminated!]
watermind has joined #ocaml
boogie has joined #ocaml
watermind has quit [Quit: Konversation terminated!]
watermind has joined #ocaml
struktured has quit [Ping timeout: 244 seconds]
watermind has quit [Client Quit]
watermind has joined #ocaml
boogie has quit [Remote host closed the connection]
manizzle has quit [Ping timeout: 240 seconds]
michael_lee has joined #ocaml
boogie has joined #ocaml
boogie has quit [Remote host closed the connection]
tlockney_away is now known as tlockney
tlockney is now known as tlockney_away
jao`` has joined #ocaml
ygrek_ has joined #ocaml
tlockney_away is now known as tlockney
tlockney is now known as tlockney_away
nikki93 has joined #ocaml
arjunguha has joined #ocaml
travisbrady has quit [Quit: travisbrady]
nikki93 has quit [Remote host closed the connection]
paolooo has joined #ocaml
claudiuc_ has quit [Remote host closed the connection]
wombat1 has quit [Ping timeout: 240 seconds]
ygrek_ has quit [Ping timeout: 264 seconds]
nikki93 has joined #ocaml
travisbrady has joined #ocaml
nikki93 has quit [Remote host closed the connection]
talzeus has quit [Quit: where is the love...]
talzeus has joined #ocaml
talzeus is now known as studybot_
justinfront has joined #ocaml
studybot_ is now known as talzeus
travisbrady has quit [Quit: travisbrady]
justinfront has quit [Quit: ChatZilla 0.9.90.1 [Firefox 28.0/20140303165517]]
johnelse is now known as johnelse_away
seggy has joined #ocaml
paolooo has quit [Ping timeout: 245 seconds]
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
segmond has quit [Ping timeout: 252 seconds]
segimondu has joined #ocaml
segimondu has quit [Read error: Connection reset by peer]
segimondu has joined #ocaml
seggy has quit [Ping timeout: 265 seconds]
rom1504 has quit [Remote host closed the connection]
yacks has joined #ocaml
watermind has quit [Quit: Konversation terminated!]
watermind has joined #ocaml
watermind has quit [Client Quit]
appleby has joined #ocaml
xianxu has joined #ocaml
r0b1 has quit [Quit: brb]
appleby has quit [Quit: appleby]
lostcuaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kakadu has joined #ocaml
axiles has joined #ocaml
jao`` has quit [Ping timeout: 252 seconds]
shinnya has joined #ocaml
ygrek has joined #ocaml
claudiuc_ has joined #ocaml
ViciousPlant has joined #ocaml
nikki93 has joined #ocaml
ViciousPlant has quit [Read error: Connection reset by peer]
lopho has quit [Ping timeout: 240 seconds]
yacks has quit [Ping timeout: 244 seconds]
nikki93 has quit [Remote host closed the connection]
lopho has joined #ocaml
ViciousPlant has joined #ocaml
ViciousPlant has quit [Max SendQ exceeded]
ViciousPlant has joined #ocaml
ViciousPlant has quit [Max SendQ exceeded]
Arsenik has joined #ocaml
Simn has joined #ocaml
angerman has joined #ocaml
yacks has joined #ocaml
xianxu has quit [Ping timeout: 252 seconds]
nikki93 has joined #ocaml
claudiuc_ has quit [Ping timeout: 240 seconds]
lostcuaz has joined #ocaml
nikki93 has quit [Remote host closed the connection]
matthieu2 has joined #ocaml
claudiuc has joined #ocaml
srcerer_ has joined #ocaml
rixed_ has joined #ocaml
aggelos_ has joined #ocaml
claudiuc_ has joined #ocaml
Druup has joined #ocaml
claudiuc has quit [Ping timeout: 252 seconds]
talzeus has quit [Read error: Connection reset by peer]
srcerer has quit [*.net *.split]
Drup has quit [*.net *.split]
rixed has quit [*.net *.split]
aggelos has quit [*.net *.split]
contempt has quit [*.net *.split]
zarul has quit [*.net *.split]
tizoc has quit [*.net *.split]
PM has quit [*.net *.split]
claudiuc_ has quit [Remote host closed the connection]
PM has joined #ocaml
zarul has joined #ocaml
angerman has quit [Quit: Gone]
xianxu has joined #ocaml
shinnya has quit [Ping timeout: 240 seconds]
sw1nn has joined #ocaml
lostcuaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xianxu has quit [Ping timeout: 240 seconds]
Thooms has joined #ocaml
Thooms has quit [Read error: Connection reset by peer]
ygrek has quit [Ping timeout: 265 seconds]
xianxu has joined #ocaml
sw1nn has quit [Remote host closed the connection]
arjunguha has joined #ocaml
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
angerman has joined #ocaml
ontologiae has joined #ocaml
locus has joined #ocaml
q66 has joined #ocaml
pminten has joined #ocaml
ikaros has joined #ocaml
ollehar has joined #ocaml
matthieu2 has quit [Ping timeout: 264 seconds]
locus has quit [Ping timeout: 245 seconds]
ygrek has joined #ocaml
matthieu2 has joined #ocaml
ygrek has quit [Ping timeout: 240 seconds]
ddosia has joined #ocaml
xianxu has quit [Ping timeout: 264 seconds]
pminten has quit [Remote host closed the connection]
struktured has joined #ocaml
arj has joined #ocaml
struktured has quit [Ping timeout: 240 seconds]
sw1nn has joined #ocaml
ggole has joined #ocaml
pminten has joined #ocaml
arjunguha has joined #ocaml
shinnya has joined #ocaml
ikaros has quit [Quit: Ex-Chat]
matthieu2 has quit [Ping timeout: 264 seconds]
cdidd has quit [Ping timeout: 240 seconds]
cdidd has joined #ocaml
bholst_ has quit [Ping timeout: 252 seconds]
xianxu has joined #ocaml
ulfdoz has joined #ocaml
matthieu2 has joined #ocaml
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pippijn>
def-lkb: I decided to pass the vtable around, after all
<pippijn>
def-lkb: apparently I found it worth writing "v" everywhere so I don't have to write the same set of default functions in each vtable definition
<def-lkb>
smell like open-recursion in OOP :P
<whitequark>
pippijn: what do you work with these days?
<pippijn>
whitequark: clang-ocaml interface
<whitequark>
neat!
<def-lkb>
both of you are working on llvm/ocaml interop?
Thooms has joined #ocaml
<whitequark>
no, pippijn works with clang frontend. it is not really related to llvm, except administratively
<pippijn>
this is more difficult to use from ocaml
<pippijn>
I don't know how to do that, yet
<adrien>
hmmmm
<whitequark>
you would need to write quite a few C++ stubs
<pippijn>
right now I produce an AST on the ocaml side
<pippijn>
with pointers to the C++ objects they were produced from
<adrien>
I need to take a deeper look but I'd be surprised it does as much as yacfe (which is, a _lot_)
<pippijn>
adrien: it doesn't put macros into AST nodes
<pippijn>
adrien: clang always preprocesses the code according to the relevant specification
<pippijn>
so all it can do is undo macro expansions and reproduce the original code
<pippijn>
I suppose you could also get all macro definitions
matthieu2 has quit [Ping timeout: 244 seconds]
<pippijn>
but probably not in the nice way as I suppose yacfe does
<pippijn>
whitequark: I don't know what to do when creating new AST nodes in ocaml
<whitequark>
yeah, they're somewhat different in scope. for clang #1 priority after being correct is being as fast as possible
<whitequark>
pippijn: can you elaborate?
<pippijn>
at the moment, I just produce null pointers
<adrien>
well, part of the idea behind yacfe is that a typical usage of macros is that SOME_MACRO(s); can be seen as a regular function call from the programmer's point-of-view
<pippijn>
yes
<pippijn>
clang doesn't really care about typical uses of macros
<pippijn>
it doesn't really care about typical uses of anything, except in some specific analyses
<pippijn>
whitequark: d_cref is a clang Decl* (actually a proxy, but it might as well be a pointer)
<whitequark>
pippijn: ahh, I understand now. you mirror C++ structures with OCaml ones, and you populate OCaml structures from C++ interface when taking them through the language barrier
<pippijn>
yes
<pippijn>
but I may want to use clang functionality
<pippijn>
such as "give me the declaration of this DeclRefExpr's name"
zpe has joined #ocaml
<pippijn>
so I stuff in the clang AST node pointer
<pippijn>
but that breaks down when I do transformations on the ocaml side
sw1nn has quit [Remote host closed the connection]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
<whitequark>
pippijn: well, what I'd try to do is to avoid any mirroring whatsoever and make clang data structures the authoritative ones
<whitequark>
and use accessor functions to dissect them
<pippijn>
hehe
<whitequark>
but I can see how that could fail in many regards
<pippijn>
that would make the client code totally unreadable
wolfnn has joined #ocaml
<whitequark>
would it?
<whitequark>
you'd just replace field accesses with function calls, in general
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arjunguha has joined #ocaml
arjunguh_ has joined #ocaml
Thooms has quit [Read error: Connection reset by peer]
zpe has joined #ocaml
arjunguh_ has quit [Client Quit]
angerman has quit [Quit: Gone]
appleby has joined #ocaml
arjunguha has quit [Ping timeout: 252 seconds]
wombat1 has quit [Ping timeout: 244 seconds]
ddosia has joined #ocaml
shinnya has quit [Ping timeout: 244 seconds]
appleby has quit [Quit: appleby]
Thooms has joined #ocaml
talzeus has joined #ocaml
talzeus has quit [Remote host closed the connection]
talzeus has joined #ocaml
arjunguha has joined #ocaml
wombat1 has joined #ocaml
boogie has joined #ocaml
wombat2 has joined #ocaml
boogie has quit [Remote host closed the connection]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
appleby has joined #ocaml
appleby has quit [Client Quit]
pminten has joined #ocaml
boogie has joined #ocaml
appleby has joined #ocaml
zpe has quit [Ping timeout: 264 seconds]
boogie has quit [Remote host closed the connection]
matthieu2 has quit [Ping timeout: 240 seconds]
igitoor has joined #ocaml
appleby has quit [Read error: Connection reset by peer]
sagotch has quit [Remote host closed the connection]
appleby has joined #ocaml
travisbrady has joined #ocaml
matthieu2 has joined #ocaml
pminten has quit [Quit: Leaving]
ygrek has joined #ocaml
angerman has joined #ocaml
madroach has quit [Quit: leaving]
ulfdoz has joined #ocaml
madroach has joined #ocaml
matthieu2 has quit [Ping timeout: 252 seconds]
ollehar1 has joined #ocaml
xianxu has quit [Ping timeout: 240 seconds]
Thooms has quit [Read error: No route to host]
Thooms has joined #ocaml
apolly has joined #ocaml
Arsenik has quit [Remote host closed the connection]
pminten has joined #ocaml
wombat2 has left #ocaml []
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
boogie has joined #ocaml
boogie has quit [Remote host closed the connection]
Thooms has quit [Remote host closed the connection]
Thooms has joined #ocaml
appleby has quit [Quit: appleby]
appleby has joined #ocaml
natalushka has quit [Remote host closed the connection]
boogie has joined #ocaml
arjunguha has joined #ocaml
wombat1 has quit [Ping timeout: 240 seconds]
xianxu has joined #ocaml
arjunguha has quit [Ping timeout: 240 seconds]
appleby has quit [Quit: appleby]
apolly has quit [Quit: Page closed]
Thooms has quit [Quit: WeeChat 0.3.8]
travisbrady has quit [Quit: travisbrady]
ollehar has quit [Ping timeout: 240 seconds]
angerman has quit [Quit: Gone]
pminten has quit [Quit: Leaving]
matthieu2 has joined #ocaml
wombat1 has joined #ocaml
Fullma has quit [Quit: Fullma]
matthieu2 has quit [Ping timeout: 244 seconds]
tane has joined #ocaml
sw1nn has quit [Ping timeout: 265 seconds]
arjunguha has joined #ocaml
Hannibal_Smith has joined #ocaml
avsm has joined #ocaml
yacks has quit [Ping timeout: 240 seconds]
ygrek has quit [Ping timeout: 252 seconds]
r0b1 has joined #ocaml
boogie has quit [Remote host closed the connection]
boogie has joined #ocaml
travisbrady has joined #ocaml
appleby has joined #ocaml
xianxu has quit [Ping timeout: 240 seconds]
lostcuaz has joined #ocaml
lostcuaz has quit [Client Quit]
nikki93 has joined #ocaml
lostcuaz has joined #ocaml
boogie has quit [Remote host closed the connection]
tlockney_away is now known as tlockney
matthieu2 has joined #ocaml
matthieu2 has quit [Ping timeout: 240 seconds]
ddosia has quit [Ping timeout: 240 seconds]
matthieu2 has joined #ocaml
arj has quit [Quit: Leaving.]
pango has quit [Remote host closed the connection]
matthieu2 has quit [Ping timeout: 240 seconds]
travisbrady has quit [Quit: travisbrady]
ulfdoz has quit [Ping timeout: 244 seconds]
pango has joined #ocaml
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shalicke has quit [Ping timeout: 265 seconds]
shalicke has joined #ocaml
appleby has quit [Quit: appleby]
ulfdoz has joined #ocaml
arjunguha has joined #ocaml
matthieu2 has joined #ocaml
lilred has joined #ocaml
eni has joined #ocaml
lilred has quit [Quit: Leaving]
matthieu2 has quit [Ping timeout: 244 seconds]
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdidd has quit [Ping timeout: 265 seconds]
dant3 has quit [Ping timeout: 265 seconds]
arjunguha has joined #ocaml
Hannibal_Smith has quit [Quit: Sto andando via]
ggole has quit []
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
appleby has joined #ocaml
arjunguha has joined #ocaml
avsm has quit [Quit: Leaving.]
matthieu2 has joined #ocaml
dant3 has joined #ocaml
arjunguha has quit [Client Quit]
ollehar has joined #ocaml
WraithM has quit [Remote host closed the connection]
WraithM has joined #ocaml
travisbrady has joined #ocaml
Xenasis has joined #ocaml
<Xenasis>
Is there any way to pattern match on Strings like you can on lists? Example - to go along the characters one by one...
wombat1 has quit [Ping timeout: 244 seconds]
matthieu2 has quit [Ping timeout: 265 seconds]
travisbrady has quit [Quit: travisbrady]
<flux>
simple answer: no. longer answer: well, Batteries has function String.explode : string -> char list and finally longer answer2: well, there's a campl4 extension that allows using regular expressions in a 'match' expression. micmatch or something? dunno if it still works.
<Xenasis>
hm
<Xenasis>
I see o.o
<Xenasis>
thanks!
<flux>
good luck :)
<Xenasis>
awesome, I have Batteries so I can do this o.o
<flux>
there's also a function going the other direction, can't remember its name though. of_list maybe?
<Xenasis>
Yeah, I think so
shalicke has quit [Ping timeout: 265 seconds]
appleby has quit [Quit: appleby]
shalicke has joined #ocaml
avsm has joined #ocaml
lostcuaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Thooms has joined #ocaml
travisbrady has joined #ocaml
Xenasis has left #ocaml []
sadovaya has joined #ocaml
sadovaya has quit [Remote host closed the connection]
ollehar1 has quit [Ping timeout: 240 seconds]
zpe has joined #ocaml
ulfdoz has quit [Read error: Operation timed out]
ikaros has joined #ocaml
Kakadu has quit [Quit: Konversation terminated!]
boogie has joined #ocaml
travisbrady has quit [Quit: travisbrady]
ente has joined #ocaml
ente has left #ocaml []
travisbrady has joined #ocaml
matthieu2 has joined #ocaml
matthieu2 has quit [Ping timeout: 240 seconds]
tani has joined #ocaml
zpe has quit [Ping timeout: 252 seconds]
gbaskakov has joined #ocaml
tane has quit [Ping timeout: 265 seconds]
r0b1 has quit [Ping timeout: 244 seconds]
eni has quit [Quit: Leaving]
avsm has quit [Quit: Leaving.]
arjunguha has joined #ocaml
arjunguha has quit [Client Quit]
zpe has joined #ocaml
boogie has quit [Remote host closed the connection]
axiles has quit [Remote host closed the connection]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Ping timeout: 240 seconds]
claudiuc has joined #ocaml
r0b1 has joined #ocaml
wombat1 has joined #ocaml
madroach has quit [Quit: leaving]
zpe has joined #ocaml
arjunguha has joined #ocaml
r0b1 has quit [Ping timeout: 265 seconds]
cdidd has joined #ocaml
travisbrady has quit [Quit: travisbrady]
Simn has quit [Quit: Leaving]
wombat1 has quit [Ping timeout: 240 seconds]
matthieu2 has joined #ocaml
matthieu2 has quit [Ping timeout: 265 seconds]
r0b1 has joined #ocaml
xianxu has joined #ocaml
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arjunguha has joined #ocaml
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
wolfnn has quit [Ping timeout: 265 seconds]
zpe has quit [Ping timeout: 244 seconds]
ikaros has quit [Quit: Ex-Chat]
xianxu has quit [Ping timeout: 240 seconds]
Thooms has quit [Ping timeout: 269 seconds]
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tani has quit [Quit: Verlassend]
xianxu has joined #ocaml
ontologiae has joined #ocaml
jao`` has joined #ocaml
arjunguha has joined #ocaml
arjunguha has quit [Client Quit]
xianxu has quit [Ping timeout: 252 seconds]
matthieu2 has joined #ocaml
matthieu2 has quit [Ping timeout: 240 seconds]
zpe has joined #ocaml
travisbrady has joined #ocaml
arjunguha has joined #ocaml
xianxu has joined #ocaml
wombat1 has joined #ocaml
futbol22 has joined #ocaml
travisbrady has quit [Quit: travisbrady]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe_ has joined #ocaml
zpe has quit [Ping timeout: 244 seconds]
gbaskakov has quit [Remote host closed the connection]
matthieu2 has joined #ocaml
cdidd has quit [Ping timeout: 265 seconds]
matthieu2 has quit [Ping timeout: 244 seconds]
futbol22 has quit [Quit: Leaving]
travisbrady has joined #ocaml
xianxu has quit [Ping timeout: 252 seconds]
cdidd has joined #ocaml
darkf has joined #ocaml
ontologiae has quit [Ping timeout: 265 seconds]
shalicke has quit [Ping timeout: 265 seconds]
freedriver has joined #ocaml
tautologico has quit [Quit: Connection closed for inactivity]