<Harzilein>
Smerdyakov: how does the compiler work?
<Smerdyakov>
It frobs a few foobazes.
<Smerdyakov>
I don't know how to answer your question
<Harzilein>
Smerdyakov: i.e. wasn't there a general problem with compiling recursive stuff to c/asm?
<Smerdyakov>
Recursive stuff?
balrog-kun has quit [Remote closed the connection]
balrog-kun has joined #ocaml
<Harzilein>
i just woke up, so i'm not fully coherent ;)
<Smerdyakov>
Yeah, I don't understand what you're referring to.
<Harzilein>
i was referring to the need to introduce some kind of service routine (trampolining) to do tail-recursion
<whatsup103>
can ocaml compi.e for MIPS processors ?
<Smerdyakov>
I don't use C at all, and it's easy to do that in assembly.
<Smerdyakov>
Of course, I also don't do any optimizations, so there's probably no aspect of the implementation that corresponds to a tail recursion optimization.
<Harzilein>
i'm just a layman with both assembly and functional stuff (i.e. i mostly don't get it ;) so basically you have a runtime system?
<Smerdyakov>
No. The development is parametric in an unspecified runtime system.
danly has joined #ocaml
danly_ has quit [Read error: 110 (Connection timed out)]
mbishop has joined #ocaml
danly has quit [Remote closed the connection]
Smerdyakov has quit ["Leaving"]
danly has joined #ocaml
Amorphous has joined #ocaml
zagzig has joined #ocaml
danly_ has joined #ocaml
Z4rd0Z has quit []
danly has quit [Read error: 110 (Connection timed out)]
danly has joined #ocaml
_JusSx_ has joined #ocaml
danly_ has quit [Read error: 110 (Connection timed out)]
pants1 has quit [Remote closed the connection]
pango has quit [Remote closed the connection]
_velco has joined #ocaml
_velco is now known as velco
bluestorm has joined #ocaml
pango has joined #ocaml
Mr_Awesome has quit ["...and the Awesome level drops"]
ikaros has quit ["Leaving"]
balrog-kun has left #ocaml []
Submarine has joined #ocaml
ikaros has joined #ocaml
velco has quit ["I'm outta here ..."]
retybok has joined #ocaml
_velco has joined #ocaml
swater has joined #ocaml
dark_light has joined #ocaml
_velco is now known as velco
ikaros has quit ["Leaving"]
ikaros has joined #ocaml
ikaros has quit [Client Quit]
ikaros has joined #ocaml
retybok has quit ["Lost terminal"]
slipstream has joined #ocaml
piggybox has quit [Connection timed out]
piggybox has joined #ocaml
slipstream-- has quit [Read error: 110 (Connection timed out)]
jlouis has quit [Read error: 110 (Connection timed out)]
jlouis_ has joined #ocaml
jlouis_ has quit [Remote closed the connection]
ikaros has quit ["Leaving"]
ikaros has joined #ocaml
_JusSx__ has joined #ocaml
_JusSx_ has quit [Read error: 60 (Operation timed out)]
ikaros has quit [Read error: 110 (Connection timed out)]
ikaros has joined #ocaml
mnemonic has joined #ocaml
<mnemonic>
hi
love-pingoo has joined #ocaml
gudzu has joined #ocaml
gudzu has quit [Client Quit]
bluestorm has quit [Remote closed the connection]
<lmbdwr>
when I want to put a breakpoint in the ocaml debugger, all the time it tells me that the function identifier is unbound. The syntax I use is : break funcname
<lmbdwr>
any clue why ?
<flux->
I haven't really used it, but maybe it was Module@funcname?
<flux->
or something
<flux->
maybe there are examples, or you're missing something else :)
<lmbdwr>
break @ Module linenum
<lmbdwr>
is working
<pango>
run it from within emacs
<lmbdwr>
but break funcname not.
<pango>
much nicer this way
<lmbdwr>
pango, ok will try this.
whatsup103 has quit ["Konversation terminated!"]
<lmbdwr>
pango, I have the same problem when running the debugger from emacs
<lmbdwr>
I compiled all my bytecode files with -g and linked too.
<lmbdwr>
I can debug without pb, just this command is failing
<lmbdwr>
there is not a single match about this problem on google
<pango>
C-x space to add a breakpoint at cursor position
<lmbdwr>
pango, how do you precise program parameters from emacs ?
Plazma has joined #ocaml
<pango>
debugged program arguments ? you can use 'set arguments' in the debugger
<lmbdwr>
just found it
<lmbdwr>
sorry
<lmbdwr>
ah, it seems to work fine like this
<lmbdwr>
with the little =>
<lmbdwr>
:)
Smerdyakov has joined #ocaml
<lmbdwr>
another debugging related question : does the ocaml debugger has a command for printing something when hitting a breakpoint
<lmbdwr>
like the gdb command 'display'
<lmbdwr>
ocamldebug has a display command but its not the same than gdb's one
<carsten>
svn co svn://anonsvn.kde.org:/home/kde/trunk/KDE/kdeedu/kalzium/src/solver
<carsten>
then "make test" and "/testcprog"
<mellum>
carsten: Hmm, no crash for me on Alpha.
<carsten>
mellum: ok, I added that info to the bugreport and also added instructions about how to test this ("svn co" and so on)
ikaros has quit ["Leaving"]
ikaros has joined #ocaml
smimou has quit [Remote closed the connection]
pango has quit [Remote closed the connection]
pango has joined #ocaml
carsten has quit ["Konversation terminated!"]
smimou has joined #ocaml
pstickne is now known as {}^pst
kolektiv has quit []
smimou has quit [Remote closed the connection]
smimou has joined #ocaml
{}^pst is now known as pst^{}
swater has quit [Remote closed the connection]
vakosel has joined #ocaml
<vakosel>
hi all , new to the community :) what gui would you recommend me to start with? thx in advance
<pango>
gui ?
<vakosel>
toolkit
<vakosel>
i see that labltk / lablgtk2 /win32
<vakosel>
are some of my options
<pango>
gtk and tk are the most common, I suppose
<vakosel>
i will try with gtk then :)
jlouis has joined #ocaml
vakosel has quit ["Chatzilla 0.9.77 [Firefox 2.0.0.1/2006120418]"]
<love-pingoo>
gtk is tough, no doc, advanced language features
<love-pingoo>
too late ;)
vakosel has joined #ocaml
_JusSx__ has quit [Read error: 60 (Operation timed out)]
vakosel has quit ["Chatzilla 0.9.77 [Firefox 2.0.0.1/2006120418]"]
love-pingoo has quit ["Connection reset by pear"]
bluestorm has joined #ocaml
velco has quit ["I'm outta here ..."]
Axioplase has joined #ocaml
<Axioplase>
Hi
<Axioplase>
Is there a composition operator in Caml ?
<Axioplase>
something like ° so that one can write f°g for (f(g x))
<bluestorm>
let ( @@ ) f g x = f (g x)
<bluestorm>
hum
<bluestorm>
i mean, you have to create it yourself
<Axioplase>
alright
<Axioplase>
that's all I wanted to know.
<Axioplase>
thanks
whatthedeuce has joined #ocaml
jdev has quit [Remote closed the connection]
jdev has joined #ocaml
<whatthedeuce>
Hey. I'm trying to get CamlImages to work, but I'm having troubles. I have it installed, but when I try to compile a program that uses it, it says "Unbound module Images". I'm new to ocaml, so I really have no idea how to fix this. Could anyone help me?
<Axioplase>
err... you must link it when compiling, as when you compile C code
<Axioplase>
whatthedeuce: try something like ocamlc camlimages.cma your_file.ml
<Axioplase>
or read the makefile in the camlImage install. It will tell you better thn I do how to compile
<whatthedeuce>
Axioplase: That's what I'm doing, but I'm still getting the error
<Axioplase>
do the exmaples of the archive work ? (in case you got it from the official site)
<whatthedeuce>
I installed it through apt
pst^{} has quit [Remote closed the connection]
<Axioplase>
ha.. well, download the archive from the camlimage website, and check the Makefiles in the test directories. I can't help you more