_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 ?
<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)]