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
bzzbzz has quit [Quit: leaving]
sebz has joined #ocaml
sebz has quit [Client Quit]
sebz has joined #ocaml
joewilliams_away is now known as joewilliams
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
<everyonemines> Alternately, is there an existing tool for converting regexes between standard and ocamllex format?
<everyonemines> If not, I might try to write one.
sebz has quit [Quit: Computer has gone to sleep.]
djanatyn has joined #ocaml
<djanatyn> hello :D
<everyonemines> hello
<djanatyn> I've been checking out OCaml - seems like a pretty awesome language
<everyonemines> djanatyn: What kind of project are you thinking of using it for? A game?
sebz has joined #ocaml
<djanatyn> everyonemines: Yeah, actually.
<djanatyn> I use python and perl pretty often, and I'm pretty familiar with them.
<everyonemines> check out lablgl
<djanatyn> Can I ask how you knew that I was planning on using OCaml for games? :)
<everyonemines> lucky guess
<djanatyn> And well, I guess that's one of the main reasons why I'd like to learn OCaml. But I'm also pretty interested in functional programming and I've played with Haskell for quite a while.
<djanatyn> Haskell is kind of hard. -_-
<everyonemines> Computers are fundamentally state machines, you don't have to feel bad about using mutable variables.
<djanatyn> So, I've heard that OCaml isn't as pure as Haskell is, due to the lack of monads, and that OCaml doesn't seperate pure from non-pure code as dilligently
<djanatyn> Does that introduce a lot of errors?
<djanatyn> Or, does it have roughly the same amount of errors that you'd encounter in any other programming language?
<everyonemines> You get as many errors as your code has. If you want to enforce certain things you can do that with the type system.
<everyonemines> Generally ocaml code is considered to have fewer bugs than most languages.
<djanatyn> Cool!
<djanatyn> How difficult is it to distribute OCaml code?
<everyonemines> It compiles to native executables for windows, linux, and os x.
<djanatyn> I noticed that you can compile to OCaml bytecode, or native machine code
<djanatyn> Sweet.
<djanatyn> I thought for a while that I'd need to start learning C++ if I wanted to start distributing any of the games I made.
<everyonemines> They're also smaller than python executables.
<djanatyn> But, there are a lot of other languages out there that I can use, from what I'm seeing.
<djanatyn> Do you know any good resources for learning OCaml?
<everyonemines> Have you installed it yet?
<djanatyn> Yeah.
<djanatyn> I'm running fedora, so I just installed the ocaml package with yum
<djanatyn> Oh, looks friendly. Thanks!
<djanatyn> Weird. Is there any reason why you have to use two semicolons in the interpreter?
<djanatyn> Is that so you can give it multiple statements?
<everyonemines> It tells the interp to run.
dnolen has quit [Quit: dnolen]
<everyonemines> It also separates imperative code after a let statement.
joewilliams is now known as joewilliams_away
ulfdoz has quit [Ping timeout: 245 seconds]
<everyonemines> djanatyn: It's also possible to call python scripts from ocaml.
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
arubin has quit [Quit: arubin]
sebz has quit [Quit: Computer has gone to sleep.]
everyonemines has quit [Quit: Leaving.]
ikaros has joined #ocaml
edwin has joined #ocaml
sebz has joined #ocaml
sebz has quit [Client Quit]
Cyanure has joined #ocaml
ikaros has quit [Quit: Ex-Chat]
Cyanure has quit [Remote host closed the connection]
sebz has joined #ocaml
Cyanure has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
lopex has joined #ocaml
sebz has joined #ocaml
avsm has joined #ocaml
avsm1 has joined #ocaml
avsm has quit [Read error: Operation timed out]
avsm1 has quit [Quit: Leaving.]
sebz has quit [Quit: Computer has gone to sleep.]
mfp has quit [Quit: Leaving]
avsm has joined #ocaml
sebz has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
<f[x]> adrien, thelema, afaik jenkins counts build time from the submission of the task till the build end, so when some slaves are offline it may look as if builds take a week
<f[x]> adrien, as for your idea to recompile everything with each ocaml build - what for? that may be not very hard to setup but requires some tweaking time and I am not very positive on spendng it
<f[x]> imho building with each ocaml release candidate is enough
emmanuelux has joined #ocaml
larhat has joined #ocaml
mcclurmc has quit [Quit: ZNC - http://znc.sourceforge.net]
mfp has joined #ocaml
mcclurmc has joined #ocaml
jonathandav has quit [Quit: Leaving]
Boscop has joined #ocaml
thomasga has joined #ocaml
thomasga has quit [Ping timeout: 256 seconds]
Boscop has quit [Ping timeout: 255 seconds]
Boscop has joined #ocaml
avsm has quit [Quit: Leaving.]
avsm has joined #ocaml
adrien has quit [Read error: Operation timed out]
avsm1 has joined #ocaml
adrien has joined #ocaml
avsm has quit [Ping timeout: 245 seconds]
sebz has joined #ocaml
dnolen has joined #ocaml
avsm1 has quit [Quit: Leaving.]
_andre has joined #ocaml
ag4ve has quit [Ping timeout: 258 seconds]
sebz has quit [Quit: Computer has gone to sleep.]
Kakadu has joined #ocaml
ttblrs has quit [Read error: Operation timed out]
avsm has joined #ocaml
avsm has quit [Quit: Leaving.]
ag4ve has joined #ocaml
ag4ve has quit [Remote host closed the connection]
KDr2 has joined #ocaml
KDr2 has quit [Client Quit]
KDr2 has joined #ocaml
KDr2 has left #ocaml []
mattam has joined #ocaml
metasyntax|work has joined #ocaml
dnolen has quit [Quit: dnolen]
<thelema> djanatyn: ocaml doesn't lack monads, it just doesn't need them to tie its shoelaces
Boscop_ has joined #ocaml
lopex_ has joined #ocaml
dnolen has joined #ocaml
Boscop has quit [Ping timeout: 245 seconds]
dnolen has quit [Client Quit]
Cyanure has quit [Remote host closed the connection]
lopex has quit [Ping timeout: 252 seconds]
lopex_ is now known as lopex
emmanuelux has quit [Ping timeout: 244 seconds]
oriba has joined #ocaml
ag4ve has joined #ocaml
<Qrntzz> excuse me, so if I were to make my (native binary) app cross-platform, how would I go about compiling it? I have 32 and 64 bit Linux hosts, but I am also going need the executables for windows. will installing windows with ocaml in a VM solve my problem or I can just use some sort of compiler patch for the purpose? :-)
Boscop__ has joined #ocaml
<Kakadu> Qrntzz: Alone compiler will be OK I think if You don't use linux-specific system calls
<thelema> Qrntzz: a cross compiler linux -> windows has been built by rwmjones, it's even packaged for some redhat distros
<thelema> Qrntzz: but I need 64-bit windows compilation, so I had to build my own ocamlc in an emulator
<thelema> Note the links at the bottom of that page
<Kakadu> oh I have wrong understand a question :-(
Boscop__ is now known as Boscop
Boscop has quit [Changing host]
Boscop has joined #ocaml
Boscop_ has quit [Ping timeout: 260 seconds]
<Qrntzz> thelema, Kakadu: thanks, I'll check this out
lopex has quit []
<thelema> Qrntzz: if you're fine with a 32-bit executable, that's pretty easy to get.
ttblrs has joined #ocaml
Boscop_ has joined #ocaml
Boscop has quit [Ping timeout: 255 seconds]
hcarty has quit [Remote host closed the connection]
joewilliams_away is now known as joewilliams
<Qrntzz> thelema: I indeed am
<thelema> Qrntzz: ocamlpro has an installer for win32 ocaml that should get you going quickly
<thelema> oops, 64-bit ocaml installer
<thelema> the other option is to use the ocaml that's packaged for cygwin
<thelema> and of course there's the binaries provided by inria themselves. But from what I've found, you need at least some part of cygwin for any of them to work.
<Qrntzz> now that's certainly enough to make me happy. thanks!
tac-tics has joined #ocaml
avsm has joined #ocaml
lopex has joined #ocaml
tac-tics has quit [Ping timeout: 260 seconds]
tac-tics has joined #ocaml
Boscop__ has joined #ocaml
Boscop_ has quit [Ping timeout: 260 seconds]
ag4ve has quit [Ping timeout: 258 seconds]
oriba has quit [Quit: oriba]
milosn has quit [Ping timeout: 276 seconds]
ulfdoz has joined #ocaml
avsm has quit [Quit: Leaving.]
<zorun> Qrntzz: if you only need to build for win32, a crosscompiler is much simpler to setup and works fine
<zorun> (depending on the distro, of course...)
mdelaney has joined #ocaml
<zorun> Qrntzz: there is one packaged in debian, archlinux and fedora
ikaros has joined #ocaml
<Qrntzz> I am running gentoo, so I am compiling it from source either way :-)
<zorun> ok :)
<zorun> some people might have done so already
<zorun> or you can draw some inspiration from the Archlinux package (it's a source package as well ;))
joewilliams is now known as joewilliams_away
joewilliams_away is now known as joewilliams
mdelaney has quit [Quit: mdelaney]
larhat has quit [Quit: Leaving.]
ulfdoz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 245 seconds]
ulfdoz_ is now known as ulfdoz
milosn has joined #ocaml
joewilliams is now known as joewilliams_away
joewilliams_away is now known as joewilliams
Boscop_ has joined #ocaml
Boscop__ has quit [Ping timeout: 245 seconds]
ohwow has joined #ocaml
ohwow has left #ocaml []
avsm has joined #ocaml
emmanuelux has joined #ocaml
<adrien> f[x]: ocaml tools and libraries suck at portability; I'd like that whenever someone (no matter who) makes a commit that breaks on some platform, she gets an immediate notice
Anarchos has joined #ocaml
<adrien> and for some things like the Core mess recently, it could have helped
<adrien> (you currently have to track down the proper tarballs on three different domains)
<bitbckt> adrien: we could probably get the travis-ci.org/#travis folks to run CIs for OCaml projects.
_andre has quit [Quit: leaving]
junsuijin has joined #ocaml
<adrien> bitbckt: they forgot to write what the project was about...
<bitbckt> it's hosted CI for OSS projects.
<adrien> so people give computer resources at "random"?
<bitbckt> something like that.
<bitbckt> from the site: "Travis is an open, distributed build system for the open source community."
<adrien> so I can add my machines to it?
<adrien> but can I decide which projects I want to help
<bitbckt> it's primarily sponsored by the Ruby community right now, but their goals are larger.
<bitbckt> it would be worthwhile to discuss supporting OCaml projects with them in #travis, and what that would look like.
avsm has quit [Quit: Leaving.]
<adrien> right, could be interesting
<adrien> I have several hours to waste a bit later during the week, should be a perfect fit
<bitbckt> hehe
<zorun> hey, travis.org is weird :)
<bitbckt> that's a very different thing.
<zorun> cool project :)
sebz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 240 seconds]
<edwin> adrien: for portability testing you can try the gcc compile farm
<edwin> adrien: mostly if you're looking for non-x86 platforms (I assume you have x86 testing resources elsewhere already)
zsparks has left #ocaml []
ikaros has quit [Quit: Ex-Chat]
sebz_ has quit [Quit: Computer has gone to sleep.]
<adrien> edwin: do they "allow" anything ont hem?
Obfuscate has quit [Ping timeout: 260 seconds]
ag4ve has joined #ocaml
avsm has joined #ocaml
Kakadu has left #ocaml []
joewilliams is now known as joewilliams_away
<edwin> adrien: open source projects with a FSF approved license (GPL, MIT, BSD, etc.)
hto has quit [Read error: Operation timed out]
joewilliams_away is now known as joewilliams
<edwin> adrien: see here for details http://gcc.gnu.org/wiki/CompileFarm#How_to_Get_Involved.3F
<edwin> adrien: obviously you should run your stuff reniced/with ulimits, etc. so that you don't overload the boxes
edwin has quit [Remote host closed the connection]
tac-tics has left #ocaml []
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
Anarchos has joined #ocaml
avsm has quit [Quit: Leaving.]
Obfuscate has joined #ocaml
Lor has joined #ocaml
Amorphous has quit [Ping timeout: 260 seconds]
hnrgrgr has quit [Ping timeout: 260 seconds]
hnrgrgr has joined #ocaml
Amorphous has joined #ocaml
ag4ve has quit [Ping timeout: 258 seconds]
rostayob has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
sebz has joined #ocaml
rostayob has quit [Quit: WeeChat 0.3.0]
dnolen has joined #ocaml
Boscop_ has quit [Ping timeout: 252 seconds]
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
scottmcl66 has joined #ocaml
arubin has joined #ocaml
dnolen has quit [Quit: dnolen]
ccasin has quit [Ping timeout: 258 seconds]
oriba has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
everyonemines has joined #ocaml
dcolish has quit [Ping timeout: 240 seconds]
emmanuelux has quit [Quit: Ex-Chat]