Banana changed the topic of #ocaml to: OCaml 3.08 "Bastille Day" Release available ! -- Archive of Caml Weekly News: http://pauillac.inria.fr/~aschmitt/cwn , A tutorial: http://merjis.com/richj/computers/ocaml/tutorial/ , A free book: http://cristal.inria.fr/~remy/cours/appsem, Mailing List (best ml ever for any computer language): http://caml.inria.fr/bin/wilma/caml-list
_fab has quit [Read error: 110 (Connection timed out)]
grirgz_ is now known as grirgz
FredCods has quit [Read error: 60 (Operation timed out)]
shawn_ has joined #ocaml
GreyLensman has joined #ocaml
dj-death has quit [Read error: 110 (Connection timed out)]
yauz_ has joined #ocaml
debona|r has joined #ocaml
yauz has quit [Read error: 113 (No route to host)]
cjohnson has joined #ocaml
jdrake has joined #ocaml
GreyLensman has quit ["Leaving"]
cjohnson has quit [Read error: 104 (Connection reset by peer)]
cjohnson has joined #ocaml
FredCods has joined #ocaml
dj-death has joined #ocaml
chodapp has joined #ocaml
<jdrake> how easy would it likely be to make a binding to a c++ api?
mrsolo has joined #ocaml
cjohnson has quit [Remote closed the connection]
Herrchen_ has joined #ocaml
Herrchen has quit [Read error: 60 (Operation timed out)]
chodapp has quit []
vezenchio has joined #ocaml
jdrake has quit [Read error: 60 (Operation timed out)]
FredCods has quit [Read error: 104 (Connection reset by peer)]
FredCods has joined #ocaml
debona|r has quit [Read error: 110 (Connection timed out)]
judge has joined #ocaml
<judge> is there an embedable version of ocaml?
<judge> something with a low footprint/
jarod has quit [Read error: 60 (Operation timed out)]
slashvar[ens] has quit [Read error: 104 (Connection reset by peer)]
jarod has joined #ocaml
<rjudace> Hi all, I'm trying to write an expression for ocamllex, I want to match ^---?*\n--- where ? is any character and the second --- is the first occurence of that string after ---. Does anyone know what expression I should be using?
<Smerdyakov> I don't understand that.
<rjudace> I'm trying to use ocamllex to parse an input file that is a bit wiki-like
<rjudace> I mark verbatim sections with ---\n something \n---
<rjudace> I'm trying to match those verbatim sections as a token
<rjudace> So I need a regular expression that matches them
<rjudace> I'm thinking that: ^"---"-*"\n---" won't work because the -* will keep matching until the last \n--- is found.
<Smerdyakov> Have you tried it?
<Smerdyakov> If it doesn't work, you can try changing the inner pattern to exclude "---".
<det> You are trying to do this entirely in ocamllex?
_fab has joined #ocaml
Submarine has joined #ocaml
demitar_ has joined #ocaml
Demitar has quit [Read error: 104 (Connection reset by peer)]
mamol has quit [Read error: 60 (Operation timed out)]
ita has joined #ocaml
<ita> moin
<Submarine> yow
Herrchen_ is now known as Herrchen
<dams> morning
smimou has joined #ocaml
mamol has joined #ocaml
kosmikus|away is now known as kosmikus
not_me2 has quit [Remote closed the connection]
not_me2 has joined #ocaml
FredCods_ has joined #ocaml
FredCods has quit [Read error: 113 (No route to host)]
dj-death has quit [Read error: 54 (Connection reset by peer)]
Demitar has joined #ocaml
karryall has joined #ocaml
demitar_ has quit [Read error: 60 (Operation timed out)]
Lemmih has joined #ocaml
Lemmih_ is now known as LemmihLaptop
<dams> ita: seriously, is there any lib repository for ocaml ?
<ita> dams: there are lots
Iter has joined #ocaml
Iter has quit [Remote closed the connection]
<ita> dams: what are you looking for by the way ?
<dams> a replacement for perl-DBI for instance
<dams> that's a thing I need to work on, I might look at ocaml
Submarine has left #ocaml []
* Demitar laughs while reading caml-list...
<Demitar> > That being so, how would you use OCaml as an extension language for a C
<Demitar> > program?
<Demitar> You would do this in a similar way that you would use C++ as an
<Demitar> extension language for a java program.
<Demitar> The best description so far I'd say. ;-)
slashvar has joined #ocaml
<slashvar> Yop
slashvar is now known as slashvar[lri]
* ronwalf contemplates po'caml
Submarine has joined #ocaml
senko has joined #ocaml
ita has quit [Read error: 60 (Operation timed out)]
ita has joined #ocaml
<ronwalf> I know we've gone over this, but are there any fps besides scheme that provide continuations or partial continuations?
<ronwalf> I've been poking around at the twisted-python stuff, and it seems there should be a better way
jdrake has joined #ocaml
<mattam> twisted uses CPS ?
<mattam> call/cc is available in SML, and it's the only one in the ML family (AFAIK): http://www.eleves.ens.fr:8080/home/madore/computers/callcc.html#sec_whichlang
<Maddas> Only in SML/NJ, though, right?
<Maddas> I think Smalltalk (or at least one popular implementation) has call/cc too, but I'm not sure..
<mattam> SML/NJ yes
<jdrake> how easy would it likely be to make a binding to a c++ api?
<ronwalf> Twisted does not use cps
<ronwalf> You basically make state machines with it
pac_away has joined #ocaml
pac_away has left #ocaml []
<karryall> jdrake: depends of how c++-ish the code is, I'd say
<karryall> jdrake: if it uses lots of templates, overloading, etc., it might be difficult to bind
<ronwalf> I believe (without adaquete justification) that it would be much easier to make scalable event based systems with call/cc as opposed to the Deferreds of twisted
<ita> jdrake: very easy - if you can use use extern "C" :)
<ita> jdrake: do you need an example ?
<mattam> ronwalf: 'easier' i'm not sure, cleaner maybe
<karryall> what's the connection with ocaml ?
Lemmih has quit ["Leaving"]
LemmihLaptop is now known as Lemmih
slashvar[lri] has quit [Remote closed the connection]
<ronwalf> mattam: Or put it this way - light-weight threads and cooperative multi-tasking would probably make it easier and cleaner
<ronwalf> Speaking of partial continuations, lambda-the-ultimate seems to have posted an article on it yesterday
ita is now known as ita|home
<jdrake> ita, an example might be useful. I am looking towards what operating system I am going to try out and the one that looks not too bad is using a c++ api (similar to how beos used one).
mamol is now known as jourdechance
Submarine has quit [Remote closed the connection]
karryall has quit ["tcho"]
jourdechance has quit [Read error: 113 (No route to host)]
jourdechance has joined #ocaml
Submarine has joined #ocaml
kosmikus is now known as kosmikus|away
Submarine has quit ["ChatZilla 0.9.52B [Mozilla rv:1.6/20040510]"]
Robert is now known as rob_ert
rob_ert is now known as Robert
jourdechance has quit [Read error: 113 (No route to host)]
jdrake has quit [Read error: 60 (Operation timed out)]
<Demitar> Where was that caml operating system again? Can't seem to google it up.
CosmicRay has joined #ocaml
grirgz has quit [Read error: 60 (Operation timed out)]
slashvar[lri] has joined #ocaml
<slashvar[lri]> re
<senko> an os made with/for caml?
<Demitar> Yes. Running ocaml bytecode iirc.
<senko> ok.. sounds cool! :)
<senko> all i can find is FunOS
<Demitar> Yes, that keeps popping up everywhere, but iirc there is another one out there.
<senko> ok
vezenchio has quit ["all that is necessary for the triumph of evil is for good men to do nothing"]
yauz_ is now known as yauz
monochrom has joined #ocaml
jdrake has joined #ocaml
fraxtal has joined #ocaml
smkl has joined #ocaml
slashvar[lri] is now known as slashvar[away]
jdrake has quit [Read error: 110 (Connection timed out)]
mattam_ has joined #ocaml
mattam has quit [Read error: 60 (Operation timed out)]
fraxtal has quit ["<Montana §crîpt> v5.4 by ckmontana To Get The Latest Copy Stop By http://montana.w3.to"]
senko has quit ["Leaving"]
smkl has quit [Read error: 60 (Operation timed out)]
jdrake has joined #ocaml
smkl has joined #ocaml
CosmicRay has quit ["Client exiting"]
smkl has quit [Read error: 110 (Connection timed out)]
smkl has joined #ocaml
gim has quit ["++"]
smkl has quit [Read error: 110 (Connection timed out)]
_fab has quit [Read error: 110 (Connection timed out)]