gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.1 http://bit.ly/nNVIVH
tomprince has quit [Quit: WeeChat 0.3.6]
tomprince has joined #ocaml
sepp2k has quit [Remote host closed the connection]
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
mjonsson has joined #ocaml
mjonsson has quit [Quit: Leaving]
Drakken has left #ocaml []
emmanuelux has quit [Read error: Operation timed out]
oriba has quit [Quit: oriba]
larhat has joined #ocaml
arubin has quit [Quit: arubin]
lamawithonel has joined #ocaml
jessicah has joined #ocaml
lamawithonel has quit [Ping timeout: 240 seconds]
lamawithonel_ has joined #ocaml
hto has joined #ocaml
sebz has joined #ocaml
lamawithonel_ has quit [Ping timeout: 252 seconds]
ulfdoz has joined #ocaml
ygrek has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
lusory has quit [Ping timeout: 258 seconds]
lusory has joined #ocaml
ulfdoz has quit [Ping timeout: 252 seconds]
pierrc has joined #ocaml
pierrc has left #ocaml []
pierrc has joined #ocaml
pierrc has left #ocaml []
<superbobry> why oasis makes backup files for _tags and myocamlbuild.ml each time i run 'oasis setup'?
dnolen has quit [Quit: dnolen]
<tomprince> Have you touched them manually? oasis checksums them, and probably only backs them up if they ahve changed.
<gildor> superbobry: indeed, if the checksum doesn't match, it makes a backup
<superbobry> hmm, makes sense
ygrek has quit [Remote host closed the connection]
ankit9|away has quit [Quit: Leaving]
musically_ut has quit [Ping timeout: 240 seconds]
ygrek has joined #ocaml
ikaros has joined #ocaml
hto has quit [Quit: Lost terminal]
jessicah has left #ocaml []
ttamttam has joined #ocaml
everyonemines has joined #ocaml
probst has joined #ocaml
edwin has joined #ocaml
Cyanure has joined #ocaml
ankit9 has joined #ocaml
oc13 has joined #ocaml
ygrek has quit [Ping timeout: 248 seconds]
raichoo has joined #ocaml
Drakken has joined #ocaml
Cyanure has quit [Remote host closed the connection]
ikaros has quit [Remote host closed the connection]
Kakadu has joined #ocaml
ikaros has joined #ocaml
Fisherman has joined #ocaml
Cyanure has joined #ocaml
oc13 has quit [Remote host closed the connection]
beckerb has joined #ocaml
Sysop_fb has quit [Ping timeout: 258 seconds]
Sysop_fb has joined #ocaml
_andre has joined #ocaml
Drakken has quit [Remote host closed the connection]
tbraibant has joined #ocaml
probst has quit [Quit: probst]
avsm has quit [Quit: Leaving.]
avsm has joined #ocaml
ikaros has quit [Ping timeout: 258 seconds]
sepp2k has joined #ocaml
Fisherman has left #ocaml []
thomasga has joined #ocaml
probst has joined #ocaml
tbraibant has quit [Quit: Leaving.]
tbraibant has joined #ocaml
avsm has quit [Quit: Leaving.]
ikaros has joined #ocaml
Drakken has joined #ocaml
beckerb has quit [Ping timeout: 240 seconds]
sebz has joined #ocaml
smerz has joined #ocaml
avsm has joined #ocaml
beckerb has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
probst has quit [Quit: probst]
<adrien> I want to use oasis for the following: compile a tool, run the tool, compile a library which uses a file created by tool
<adrien> is it doable?
<everyonemines> i would do that with a bash script
<adrien> I haven't seen anything to handle that so I guess it'll be Makefile or shell script but I wanted to be sure
<everyonemines> I'm not an oasis expert, I just like bash :-)
<f[x]> "like bash" <- holy ...
<adrien> I prefer makefiles for portability (or not)
<everyonemines> yeah, my way of doing things isn't as portable
<everyonemines> symlinks and bash scripts that is
<adrien> if you s/bash/shell/ it's already _much_ better
everyonemines has quit [Quit: Leaving.]
ikaros has quit [Ping timeout: 244 seconds]
sebz has joined #ocaml
<rixed> Makefiles are just a way to write shell functionnaly :)
ikaros has joined #ocaml
Snark has joined #ocaml
thomasga1 has joined #ocaml
thomasga has quit [Read error: Connection reset by peer]
gnuvince has joined #ocaml
emmanuelux has joined #ocaml
<adrien> if I dynlink a module which sole use is to provide a data structure, how could I get the data from it without having the module register itself in a shared data structure?
<adrien> I want to avoid having the various .ml files to know each others
<adrien> so far, I've though of hijacking stdin and stdout to transfer data between two threads and it should work in a bigger program; other ideas?
zorun has quit [Quit: leaving]
zorun has joined #ocaml
ikaros has quit [Quit: Ex-Chat]
<adrien> btw, the reason is that doing it the "usual" way would complicate the build process a lot by introducing a circular dependency
avsm has quit [Quit: Leaving.]
avsm has joined #ocaml
Kakadu has quit [Quit: Page closed]
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
rby has quit [Quit: Lost terminal]
testcocoon has quit [Quit: Coyote finally caught me]
hto has joined #ocaml
zorun has quit [Quit: leaving]
zorun has joined #ocaml
sepp2k1 has joined #ocaml
testcocoon has joined #ocaml
sepp2k has quit [Ping timeout: 258 seconds]
ikaros has joined #ocaml
lamawithonel_ has joined #ocaml
lamawithonel_ has quit [Ping timeout: 240 seconds]
lamawithonel_ has joined #ocaml
<flux> I wonder if the GADT thingy can result in more fluent database/web/etc interfaces for ocaml
Kakadu has joined #ocaml
raichoo has quit [Quit: leaving]
ankit9 has quit [Quit: Leaving]
avsm has quit [Quit: Leaving.]
larhat has quit [Quit: Leaving.]
Cyanure has quit [Ping timeout: 244 seconds]
sebz has quit [Quit: Computer has gone to sleep.]
<adrien> I don't think I can cleanly avoid using oasis when generating my .ml files since I'm going to use it later on: it looks like BuildTools could do what I need but how to use it?
<Drakken> dan[~]$ echo $OCAMLPATH
<Drakken> /home/dan/.odb/lib
<Drakken> dan[~]$ l .odb/lib
<Drakken> cairo2/ stublibs/
<Drakken> dan[~]$ ocamlfind list | grep cairo2
<Drakken> dan[~]$
<Drakken> How do you debug [ocamlfind list]?
reynir has joined #ocaml
<f[x]> cat .odb/lib/cairo2/META
sebz has joined #ocaml
<f[x]> ocamlfind printconf
<Drakken> dan[~]$ ocamlfind printconf
avsm has joined #ocaml
lamawithonel_ has quit [Ping timeout: 240 seconds]
<f[x]> Search path:
<f[x]> /usr/local/lib/ocaml/site-lib
<f[x]> OCAMLPATH=~/.odb/lib ocamlfind printconf path
<Drakken> Ah. I didn't export OCAMLPATH.
<Drakken> My bash fu is weak :(
<dsheets> what is the recommended way to produce two distinct build products from two invocations of ocamlbuild with different args? They seem to collect in _build but annihilate each others convenience symlinks...
<adrien> aren't the files left in _build ?
ankit9 has joined #ocaml
<gildor> adrien: BuildTools is the way to go
<gildor> adrien: ocamlmod was an example of that (but now it lives outside of oasis)
<gildor> adrien: BuildTools will look for an Executable that match it inside your _oasis
<gildor> e.g. Executable "ocamlmod" ... Library "mylib" BuildTools: ocamlmob
<gildor> will compile ocamlmod before mylib
<f[x]> gildor, wow, I didn't know of that, so it kinda possible to have several stages of code generation in oasis..
avsm has quit [Quit: Leaving.]
<adrien> gildor: but how to run it?
<adrien> I'll look at ocamlmod first actually
beckerb has quit [Remote host closed the connection]
ankit9 has quit [Quit: Leaving]
avsm has joined #ocaml
<samposm> dear people, I wrote some ocaml bindings to a fast mersenne twister random number generator (which is C code). it's only 4 lines of ocaml and 16 lines of C-wrap. do you think...
<samposm> ...I should put it up to github, or just quote the lines in a blog post?
<adrien> you should make a proper release ;-)
<adrien> (which means not really github imho)
<samposm> wth is a proper release?
<adrien> with a tarball ;-)
<samposm> and link the .tar from a blog post?
<adrien> it's very hard to do packages without a tarball
<f[x]> and package for all distributions, includeing BeOS
<f[x]> and only then mention its existance in this chat
<samposm> ...
<f[x]> otherwise it doesn't count
<adrien> well, I like forge.ocamlcore.org for that: you'll get everything running quite quickly
<adrien> f[x]: nah, BeOS is old: better make it ready for the hurd ;-)
<gildor> f[x]: yes
<gildor> adrien: use $ocamlmod to call it
<gildor> $ocamlmod will translate to the exec real name
<gildor> (e.g. _build/src/tools/ocamlmod)
<adrien> gildor: so it'd look like "BuildDepends: $ocamlmod arg1 arg2"?
<gildor> no
<gildor> BuildTools: ocamlmod
<gildor> and there is no real way to call it right after
<gildor> you should implement the rule in myocamlbuild
<gildor> the $ocamlmod was for e.g. Test
<adrien> ok, thanks for the pointers
<gildor> p.s. no real way for now ;-)
<gildor> adrien: at least you can get your binary build before
<gildor> adrien: ping me tonight for a complete example with myocamlbuild rules, @work for now
<adrien> I don't know if I'll be around tonight but I won't forget about it ;-)
<adrien> thanks =)
<adrien> and it's late!
ygrek has joined #ocaml
Emmanueloga has joined #ocaml
ttamttam has quit [Remote host closed the connection]
reynir has quit [Ping timeout: 260 seconds]
ankit9 has joined #ocaml
thomasga1 has quit [Quit: Leaving.]
Emmanueloga has left #ocaml []
Emmanueloga has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
<adrien> I have a module which I dynlink. Inside this module, I use prerr_endline and then a function from a library in the "main" executable (library linked through -linkall)
<adrien> I get the prerr_endline stuff but not the call to the library function (which is debugged through a call to prerr_endline)
<adrien> I don't understand what's (not) going on
sebz has quit [Quit: Computer has gone to sleep.]
<adrien> hmmm, maybe build system failure
<adrien> yes
smerz has quit [Quit: Ex-Chat]
<adrien> working =)
JdpB42 has quit [Quit: JdpB42]
ftrvxmtrx has joined #ocaml
Smerdyakov has joined #ocaml
sebz has joined #ocaml
JdpB42 has joined #ocaml
Anarchos has joined #ocaml
fabjan has quit [Ping timeout: 240 seconds]
sebz has quit [Quit: Computer has gone to sleep.]
_andre has quit [Quit: leaving]
rgrinberg has quit [Ping timeout: 245 seconds]
sebz has joined #ocaml
avsm has quit [Quit: Leaving.]
Kakadu has quit [Quit: Konversation terminated!]
sebz has quit [Ping timeout: 248 seconds]
Snark has quit [Quit: Quitte]
Smerdyakov has quit [Quit: Leaving]
Smerdyakov has joined #ocaml
sepp2k1 has quit [Remote host closed the connection]
sepp2k has joined #ocaml
ulfdoz has joined #ocaml
reynir has joined #ocaml
Emmanueloga has left #ocaml []
Emmanueloga has joined #ocaml
JdpB42 has quit [Read error: Connection reset by peer]
JdpB42 has joined #ocaml
arubin has joined #ocaml
ulfdoz has quit [Ping timeout: 260 seconds]
Emmanueloga has quit [Read error: Connection reset by peer]
bitbckt has quit [Quit: out]
bitbckt has joined #ocaml
waern has quit [Quit: Lost terminal]
ftrvxmtrx has quit [Quit: Leaving]
avsm has joined #ocaml
edwin has quit [Remote host closed the connection]
thomasga has joined #ocaml
thomasga has quit [Client Quit]
Emmanueloga has joined #ocaml
bitbckt has quit [Quit: out]
ygrek has quit [Ping timeout: 248 seconds]
bitbckt has joined #ocaml
struktured has quit [*.net *.split]
snarkyboojum has quit [*.net *.split]
schme has quit [*.net *.split]
gildor has quit [*.net *.split]
patronus_ has quit [*.net *.split]
emias has quit [*.net *.split]
explodus has quit [*.net *.split]
bitbckt has quit [*.net *.split]
reynir has quit [*.net *.split]
Anarchos has quit [*.net *.split]
tbraibant has quit [*.net *.split]
Sysop_fb has quit [*.net *.split]
_habnabit has quit [*.net *.split]
noj has quit [*.net *.split]
mbac has quit [*.net *.split]
hcarty has quit [*.net *.split]
brendan has quit [*.net *.split]
jlouis has quit [*.net *.split]
rixed has quit [*.net *.split]
deavid has quit [*.net *.split]
bnwr has quit [*.net *.split]
Emmanueloga has quit [*.net *.split]
sepp2k has quit [*.net *.split]
emmanuelux has quit [*.net *.split]
fraggle_ has quit [*.net *.split]
wtetzner has quit [*.net *.split]
nimred has quit [*.net *.split]
thizanne has quit [*.net *.split]
lopex has quit [*.net *.split]
mfp has quit [*.net *.split]
mal`` has quit [*.net *.split]
hyperboreean has quit [*.net *.split]
adrien has quit [*.net *.split]
rwmjones has quit [*.net *.split]
Axioplase_ has quit [*.net *.split]
Pepe_ has quit [*.net *.split]
ousado has quit [*.net *.split]
jonludlam has quit [*.net *.split]
dcolish has quit [*.net *.split]
superbobry has quit [*.net *.split]
diml has quit [*.net *.split]
hnrgrgr has quit [*.net *.split]
sgnb has quit [*.net *.split]
pcjoby has quit [*.net *.split]
Smerdyakov has quit [*.net *.split]
zorun has quit [*.net *.split]
hto has quit [*.net *.split]
gnuvince has quit [*.net *.split]
zzz_ has quit [*.net *.split]
haelix has quit [*.net *.split]
Derander has quit [*.net *.split]
svenl has quit [*.net *.split]
shachaf has quit [*.net *.split]
bacam has quit [*.net *.split]
TaXules has quit [*.net *.split]
Morphous has quit [*.net *.split]
jonafan has quit [*.net *.split]
zmoazeni_ has quit [*.net *.split]
mejalx has quit [*.net *.split]
yroeht has quit [*.net *.split]
corecode has quit [*.net *.split]
flux has quit [*.net *.split]
bitbckt has joined #ocaml
Emmanueloga has joined #ocaml
sepp2k has joined #ocaml
Smerdyakov has joined #ocaml
zorun has joined #ocaml
hto has joined #ocaml
emmanuelux has joined #ocaml
gnuvince has joined #ocaml
tbraibant has joined #ocaml
Sysop_fb has joined #ocaml
Pepe_ has joined #ocaml
zzz_ has joined #ocaml
ousado has joined #ocaml
fraggle_ has joined #ocaml
jonludlam has joined #ocaml
dcolish has joined #ocaml
pcjoby has joined #ocaml
hyperboreean has joined #ocaml
haelix has joined #ocaml
Derander has joined #ocaml
wtetzner has joined #ocaml
nimred has joined #ocaml
adrien has joined #ocaml
rwmjones has joined #ocaml
thizanne has joined #ocaml
superbobry has joined #ocaml
diml has joined #ocaml
svenl has joined #ocaml
shachaf has joined #ocaml
hnrgrgr has joined #ocaml
lopex has joined #ocaml
_habnabit has joined #ocaml
mfp has joined #ocaml
sgnb has joined #ocaml
noj has joined #ocaml
bnwr has joined #ocaml
deavid has joined #ocaml
rixed has joined #ocaml
jlouis has joined #ocaml
brendan has joined #ocaml
hcarty has joined #ocaml
mbac has joined #ocaml
mal`` has joined #ocaml
Axioplase_ has joined #ocaml
bacam has joined #ocaml
TaXules has joined #ocaml
Morphous has joined #ocaml
jonafan has joined #ocaml
zmoazeni_ has joined #ocaml
mejalx has joined #ocaml
yroeht has joined #ocaml
corecode has joined #ocaml
flux has joined #ocaml
struktured has joined #ocaml
snarkyboojum has joined #ocaml
schme has joined #ocaml
gildor has joined #ocaml
patronus_ has joined #ocaml
emias has joined #ocaml
explodus has joined #ocaml
Morphous has quit [Ping timeout: 276 seconds]
srcerer has quit [Ping timeout: 258 seconds]
Morphous has joined #ocaml
sepp2k has quit [Ping timeout: 240 seconds]
sepp2k has joined #ocaml
avsm has quit [Quit: Leaving.]
Sysop_fb has quit [Ping timeout: 240 seconds]
Cyanure has joined #ocaml
tlockney has quit [Excess Flood]
tlockney has joined #ocaml
ikaros has quit [Remote host closed the connection]
bitbckt has quit [Quit: out]
bitbckt has joined #ocaml
everyonemines has joined #ocaml
thizanne has quit [Ping timeout: 240 seconds]
Cyanure has quit [Remote host closed the connection]
destrius has joined #ocaml