systems changed the topic of #ocaml to: Archive of Caml Weekly News http://pauillac.inria.fr/~aschmitt/cwn/ | ICFP Programming Contest 2003 http://www.dtek.chalmers.se/groups/icfpcontest/ | Good free book http://cristal.inria.fr/~remy/cours/appsem/
<Xcalibor> time for bed
<Xcalibor> laters
Xcalibor has quit ["Terminando cliente"]
bk_ has joined #ocaml
Smerdy is now known as Smerdyakov
foxster has joined #ocaml
eno has joined #ocaml
eno has quit ["[BX] Choosey moms choose BitchX!"]
foxster has quit [Client Quit]
pattern_ has quit [Read error: 104 (Connection reset by peer)]
foxster has joined #ocaml
srv has quit [Remote closed the connection]
pattern_ has joined #ocaml
brwill has quit [Remote closed the connection]
brwill has joined #ocaml
foxster has quit [Client Quit]
polin8 has quit [Read error: 110 (Connection timed out)]
lam has quit [orwell.freenode.net irc.freenode.net]
themus has quit [orwell.freenode.net irc.freenode.net]
skylan has quit [orwell.freenode.net irc.freenode.net]
lam has joined #ocaml
themus has joined #ocaml
skylan has joined #ocaml
eno has joined #ocaml
<eno> join #flood
eno has quit ["eno has no reason"]
d-bug has joined #ocaml
wax has quit [Remote closed the connection]
wax has joined #ocaml
<bk_> ok fuck it, 1st attempt is a total MESS
CybeRDukE has joined #ocaml
CybeRDukE has quit ["Real programmers don't document. If it was hard to write, it should be hard to understand."]
srv has joined #ocaml
CybeRDukE has joined #ocaml
srv has quit [Remote closed the connection]
srv has joined #ocaml
CybeRDukE has quit ["My software never has bugs. It just develops random features."]
polin8 has joined #ocaml
docelic has joined #ocaml
karryall has joined #ocaml
docelic has quit ["lunch time"]
Kinners has joined #ocaml
<srv> I have a (dummy) problem with exceptions. It's the first time I try to use them....
<srv> (**
<srv> Thrown if _overwriteFile is false, and someone tries to overwrite an
<srv> existing file.
<srv> *)
<srv> exception FileExists
<srv> olivier@freedom xml > make mercredi 15:38:01
<srv> + making byte in xml ...
<srv> make[1]: Entering directory `/home/olivier/projects/marvin/src/libnn/xml'
<srv> ocamlc -c -g -I ../misc -I ../networks -w A xmlVisitor.ml
<srv> File "xmlVisitor.ml", line 159, characters 3-12:
<srv> Syntax error
<srv> make[1]: *** [xmlVisitor.cmo] Erreur 2
<srv> make[1]: Leaving directory `/home/olivier/projects/marvin/src/libnn/xml'
<srv> make: *** [byte] Erreur 2
<srv>
<srv> what am I missing?
<srv> do I need to add an `open' in order to use exceptions?
<Kinners> exceptions site in the namespace like other elements
<Kinners> sit
<Kinners> what is line 159?
<srv> it's the line where I declare the exception
<srv> " exception FileExists"
<Kinners> what's the first non-comment line before that?
<srv> this way it's more simple :)
<Kinners> ah, I think you want "raise FileExists"
<srv> I want to say "this module can raise an exception which is called FileExists"
<srv> (the methods in which I'll actually raise it are not coded yet)
<Kinners> "exception FileExists" declares FileExists as an exception, raise actually raises it
<srv> ok that's what I had in mind
<Kinners> so you would put the declaration at the module level
<srv> but the compiler don't let me declare it :)
rox has quit [orwell.freenode.net irc.freenode.net]
<srv> Kinners: which means?
<srv> I need to make a .mli?
<Kinners> put it after the open DefaultVisitor
rox has joined #ocaml
<srv> Kinners: it works!
<srv> :)))))
<srv> Kinners: U rule, man ;)
<Kinners> while the questions are simple, yes :)
<srv> ^_^
Kinners has left #ocaml []
asqui has quit [Read error: 104 (Connection reset by peer)]
asqui has joined #ocaml
srv has quit [Remote closed the connection]
srv has joined #ocaml
asquii has joined #ocaml
foxster has joined #ocaml
asqui has quit [Connection timed out]
polin8 has quit [Read error: 110 (Connection timed out)]
asquii has quit [Connection reset by peer]
asqui has joined #ocaml
CybeRDukE has joined #ocaml
d-bug has quit ["Client exiting"]
d-bug has joined #ocaml
asqui has quit [Read error: 104 (Connection reset by peer)]
rox has quit [Read error: 104 (Connection reset by peer)]
asqui has joined #ocaml
systems has joined #ocaml
systems has quit ["Client Exiting"]
docelic has joined #ocaml
mattam has joined #ocaml
mattam_ has quit [Connection timed out]
Vincenz has joined #ocaml
docelic has quit ["Client Exiting"]
bk_ has quit ["I'll be back"]
bk_ has joined #ocaml
rox has joined #ocaml
Maddas has joined #ocaml
Vincenz has quit ["Going to get a drink"]
CybeRDukE has quit ["Universe.SYS corrupted. Reboot? [Y/N]"]
srv has quit [Remote closed the connection]
docelic has joined #ocaml
systems has joined #ocaml
__buggs has joined #ocaml
__buggs is now known as buggs
eno has joined #ocaml
systems has left #ocaml []
polin8 has joined #ocaml
polin8 has quit [Read error: 54 (Connection reset by peer)]
polin8 has joined #ocaml
polin8 has quit ["Lost terminal"]
polin8 has joined #ocaml
Xcalibor has joined #ocaml
oracle1 has joined #ocaml
<oracle1> i
<oracle1> h
oracle1 has quit ["BitchX: use it, it makes hair grow in funny places!"]
d-bug has quit ["night"]
systems has joined #ocaml
eno has quit ["eno has no reason"]
<buggs> how can i generate an executable from a .s produced by ocamlopt -S ?
<karryall> by running the assembler
<karryall> run ocamlopt with the -verbose flag, you will see the command it runs
<buggs> thanks, but that doesn't tell me how i get '/tmp/camlstartup5ee07f.s'
<buggs> and why do they force all integers to be uneven (* 2 + 1) ?
<buggs> they only have 2 * 30 ints then
<buggs> is there some docu on that ?
<karryall> the least significant bit act as a tag for the GC
<karryall> sure, in the manual, the part about interfacing caml with C
<karryall> it describes the memory representation of caml values
<buggs> actually i wanna find out why it's so fast
<karryall> I'm not sure looking at the assembler output will give you any answer
<buggs> hmm using it for Gabage Collection hmm is all GC accounting done that way?
<karryall> this bit distinguishes ints (lsb=1) and pointers to a heap block (lsb=0)
<karryall> all blocks have a 1 word header
<buggs> and the GC is a mark and sweep then i guess?
<karryall> generational : stop-and-copy for the young generation, mark and sweep for the old
<buggs> your one of the developers?
<buggs> *you're
<karryall> no
<buggs> but you seem to have a very good knowledge of the system :)
<buggs> my name is Andreas Hauser btw, and your's?
<karryall> Olivier Andrieu
<karryall> I've written a few bindings for C libraries, so I got to learn the innards of the system
<buggs> tu est francais? moi je suis bavarois (allemand)
<karryall> ouioui, français (and I know Bavaria is in Germany :)
systems has quit [Read error: 60 (Operation timed out)]
Xcalibor has quit ["Terminando cliente"]