<jer>
Smerdyakov, sorry, had to put the young one to bed
<jer>
you familiar with SML ?
<Smerdyakov>
Yes.
<jer>
they're records whose types havn't been declared before use... i.e., let foo = { x = 0; y = 0.5; z = "hey" };; (granted that wouldn't be their syntax of course)
<Smerdyakov>
And what kind of "resource" are you looking for?
<jer>
a link to an implementation... Nicolas Oury had posted one (its on the hump) but the link is dead; i was curious if anyone had it kicking around, but i'll guess not
<Smerdyakov>
Why isn't any SML implementation good enough?
<Smerdyakov>
(Meaning an implementation of a compiler/interpreter for SML)
<jer>
because i want to use ocaml not sml
<Smerdyakov>
I don't even understand what you mean by "implementation." Implementation of what?
<jer>
*sigh* nevermind, i found what i was looking for by using archive.org
jcreigh has quit ["Cuius rei demonstrationem mirabilem sane detexi. Hanc marginis exiguitas non caperet."]
pango_ has joined #ocaml
pango has quit [Remote closed the connection]
chessguy has quit [Client Quit]
pango_ has quit [brown.freenode.net irc.freenode.net]
hikozaemon has quit [brown.freenode.net irc.freenode.net]
tristram has quit [brown.freenode.net irc.freenode.net]
ramkrsna has quit [brown.freenode.net irc.freenode.net]
dvekravy has quit [brown.freenode.net irc.freenode.net]
avlondono has quit [brown.freenode.net irc.freenode.net]
Nargg has quit [brown.freenode.net irc.freenode.net]
Demitar has quit [brown.freenode.net irc.freenode.net]
Oatmeat|cs has quit [brown.freenode.net irc.freenode.net]
andreas_1 has quit [brown.freenode.net irc.freenode.net]
oracle1 has quit [brown.freenode.net irc.freenode.net]
aref has quit [brown.freenode.net irc.freenode.net]
dylan has quit [brown.freenode.net irc.freenode.net]
creichen has quit [brown.freenode.net irc.freenode.net]
Lob-Sogular has quit [brown.freenode.net irc.freenode.net]
clog has joined #ocaml
andreas has joined #ocaml
tristram has joined #ocaml
creichen has joined #ocaml
finelemon has joined #ocaml
aref has joined #ocaml
dvekravy has joined #ocaml
mattam has joined #ocaml
avlondono has joined #ocaml
cmeme has joined #ocaml
clog has joined #ocaml
ppsmimou has joined #ocaml
khaladan_ has joined #ocaml
zmdkrbou has joined #ocaml
buggs has joined #ocaml
khaladan- has joined #ocaml
Naked has joined #ocaml
Naked is now known as Hadaka
khaladan_ has quit [Connection timed out]
EsotericMoniker has joined #ocaml
pango has joined #ocaml
Revision17 has joined #ocaml
smimou has joined #ocaml
mnemonic has joined #ocaml
pango has quit [Remote closed the connection]
pango has joined #ocaml
smimou has quit ["bli"]
mnemonic has quit ["leaving"]
revision17_ has joined #ocaml
Revision17 has quit [Read error: 110 (Connection timed out)]
hikozaemon has quit ["Leaving..."]
andreas has quit [Nick collision from services.]
andreas_1 has joined #ocaml
EsotericMoniker has quit [Read error: 110 (Connection timed out)]
mikeX has joined #ocaml
flux__ has joined #ocaml
asbeta has joined #ocaml
ramkrsna has quit [Success]
ramkrsna has joined #ocaml
Bendi has joined #ocaml
<Bendi>
hi
<ppsmimou>
hi
rillig has joined #ocaml
ppsmimou has quit ["Leaving"]
ppsmimou has joined #ocaml
<Bendi>
I would like to rewrite a flex lexer in ocamllex but I have some issues with it. 1) How can I create state transition with token emitting (something like this: "yybegin(STATE1); return TOKEN1;" )? 2) How can manipulate state stack (something like this: "yy_pop_state(); yy_push_state(STATE2); return TOKEN2;") from ocamllex?
andreas_1 has left #ocaml []
pango has quit ["Leaving"]
finelemo1 has joined #ocaml
smimou has joined #ocaml
mnemonic has joined #ocaml
<mnemonic>
yo
finelemon has quit [Read error: 113 (No route to host)]
pango has joined #ocaml
woggle has joined #ocaml
mnemonic has quit ["leaving"]
Smerdyakov has joined #ocaml
jacobolus has joined #ocaml
Schmurtz has joined #ocaml
<jacobolus>
Hi. I have an c program linked to an ocaml program, and everything compiles okay, but I'm getting a "bus error" when I try to run the compiled executable. Does anyone know what this error is, or have any advice on how I can track it down?
<asbeta>
use gcc -g & gdb
<Smerdyakov>
Sounds like the generic "your C program has a bug" message. (Cousin to "segmentation fault" on certain systems)
<jacobolus>
okay
<pango>
probably misaligned memory access... the wikipedia is your friend ;)
<Smerdyakov>
As far as I'm concerned, it's just another member of the set of errors you can get when you write a C program that has undefined behavior according to the standard.
jacobolus_ has joined #ocaml
jacobolus has quit [Read error: 104 (Connection reset by peer)]
<dylan_>
mmm, nasal demons.
dylan_ is now known as dylan
jacobolus_ is now known as jacobolus
jacobolus has quit [Read error: 104 (Connection reset by peer)]
jacobolus has joined #ocaml
<aref>
Are there any good books on Ocaml available?
<ulfdoz>
aref: Yes, the publically available one from O'Reilly. You find it on the website.
<aref>
ulfdoz: Thanks, I'll have me a look-see
<asbeta>
aref, also, http://www.ocaml-tutorial.org/ is nice if you have c/c#/java experience. it also contains many useful links.
<aref>
Grand. Yeah, I am coming from C, finally ditching it where it usually belongs, in the ditch :)
<ulfdoz>
I also dislike C.
<asbeta>
C must be mastered in order to write useful programs
<aref>
Not claiming to be a master, but the fun has gone out of C for me.
<aref>
And, I need to have fun programming :)
slipstream-- has joined #ocaml
<asbeta>
C may be fun if you know nothing about FP :)
<aref>
Exactly, exactly. Once upon a time I held C very high. But then I found that there are a lot more enjoyable ways to program
<asbeta>
hmm.. it's interesting whether ocaml gc could be tuned so that weak-pointers cache would be really efficient. say, consumed XXX mb...