Z4rd0Z has joined #ocaml
<
tsuyoshi>
I think I want to try porting rails to ocaml
<
ludwig->
Smerdyakov: wow. thanks for that link
<
Smerdyakov>
ludwig-, you're welcome. I only wish I had a real usable compiler for you there. ;)
<
ludwig->
ideas count too
<
Smerdyakov>
There's a compiler there. It just doesn't work well.
<
Smerdyakov>
ludwig-, what is your position at Cal Tech?
<
ludwig->
i'm a staff member
<
Smerdyakov>
Research or otherwise?
<
ludwig->
no, not research, although i talk to a lot of researchers
<
ludwig->
i work at this center called CIG (computational infrastructure for geodynamics)
<
ludwig->
which is why i was interested in that link :)
<
Smerdyakov>
Because you do computational infrastructure?
<
ludwig->
what's extlang? do i need that?
<
ludwig->
to try out laconic, i mean
shawn_ has quit [Read error: 110 (Connection timed out)]
<
ludwig->
haha. neat. your paper has an example expenses application at the end
<
ludwig->
alright. later, Smerdyakov. i guess i'll get back to you when i try a couple of my own web apps
<
ludwig->
I don't like boilerplate either :)
ludwig- has quit ["Leaving"]
joshcryer has joined #ocaml
Smerdyakov has quit ["Leaving"]
shawn_ has joined #ocaml
shawn_ has quit [Remote closed the connection]
shawn_ has joined #ocaml
shawn_ has quit [Operation timed out]
slowriot has joined #ocaml
shawn_ has joined #ocaml
shawn_ has quit [Read error: 104 (Connection reset by peer)]
shawn_ has joined #ocaml
shawn_ has quit [Connection timed out]
shawn_ has joined #ocaml
smimp has joined #ocaml
shawn_ has quit [Read error: 110 (Connection timed out)]
shawn_ has joined #ocaml
shawn_ has quit [Read error: 60 (Operation timed out)]
shawn_ has joined #ocaml
Z4rd0Z has joined #ocaml
shawn_ is now known as shawn
_velco has joined #ocaml
pango has quit [Remote closed the connection]
pango has joined #ocaml
slowriot has quit []
david_koontz_ has joined #ocaml
Shimei has quit [Client Quit]
ikaros has quit [Read error: 110 (Connection timed out)]
david_koontz has quit [Read error: 110 (Connection timed out)]
joshcryer has quit [Connection timed out]
ikaros has joined #ocaml
mattam has quit [Read error: 104 (Connection reset by peer)]
Shimei has joined #ocaml
mattam has joined #ocaml
triple has joined #ocaml
pango is now known as pangoafk
jeberle has joined #ocaml
jeberle has left #ocaml []
triple has quit ["leaving"]
love-pingoo has joined #ocaml
ppsmimou has quit ["Leaving"]
ppsmimou has joined #ocaml
velco has joined #ocaml
pmatos has joined #ocaml
bluestorm has quit ["Konversation terminated!"]
velco has quit [Remote closed the connection]
pangoafk has quit [Remote closed the connection]
pangoafk has joined #ocaml
velco has joined #ocaml
mnemonic has joined #ocaml
mnemonic has quit [Client Quit]
velco_ has joined #ocaml
velco_ has quit ["Ex-Chat"]
slipstream-- has joined #ocaml
slipstream has quit [Read error: 110 (Connection timed out)]
whatitdo has joined #ocaml
<
whatitdo>
anyone up ??
<
whatitdo>
i wonder if OCaml can be compiled on a PSP
<
flux->
playstation?
romanoffi has quit ["Leaving."]
<
love-pingoo>
whatitdo: what's the CPU on a PSP ?
<
velco>
there;'s not reason to think that ocamls is somehow magically restricted to x86, for examle.
<
velco>
just a SMOP.
<
flux->
native compiling is limited to some platforms, but I believe the bytecode-interpreter should be quite portable
<
love-pingoo>
the real question is: where are all the cross-compilers
<
love-pingoo>
seems that some people make cross-compiler for themselves from time to time but no one is distributed
<
whatitdo>
love-pingoo: its a MIPS
<
whatitdo>
MIPS R4000-based CPU,
Z4rd0Z has joined #ocaml
<
ppsmimou>
whatitdo: what OS?
<
love-pingoo>
PSP has no OS
<
love-pingoo>
ppsmimou: was it hard to get OCaml produce OS-independent code for funk ?
pbx has joined #ocaml
<
ppsmimou>
love-pingoo: what do you mean exactly?
<
ppsmimou>
bytecode is OS independent
<
love-pingoo>
ppsmimou: but then you have to build an OS-independent bytecode interpreter
<
ppsmimou>
it won't be OS independant, it will be specific to your OS
<
ppsmimou>
but basically all you need is a reasonable subset of the libc
<
love-pingoo>
ppsmimou: did you publish your mini libc ? did you use an existing one ?
<
ppsmimou>
it's in the svn
pbx has left #ocaml []
<
whatitdo>
love-pingoo: so i can use ocaml on a MIPS processor and compile for it natively ?
<
love-pingoo>
very easily on an IRIX system
<
love-pingoo>
but getting one to run on your PSP may require a tricky build of OCaml
<
love-pingoo>
I'm not an expert here, somebody may have a magic recipe, I just never did it and I think it's nontrivial
<
whatitdo>
when you say nontrivial you mean not difficult :
romanoffi has joined #ocaml
<
whatitdo>
also alot of ocaml functions are like *nix / windows right ? how would this work ?
<
love-pingoo>
these modules wouldn't be built
<
love-pingoo>
the core modules would be built against a minimal OS-independent libc
<
love-pingoo>
whatitdo: non-trivial is more like difficult, sorry :p
ikaros has quit [Connection timed out]
ikaros has joined #ocaml
<
whatitdo>
love-pingoo: i would have to write wrappers to all the C libs HMMMMM
* whatitdo
thinks if its worth it
<
love-pingoo>
the funk project already has the minimal libc ready, you could reuse that
<
whatitdo>
what exactly does the minimal libc consist off :D
<
love-pingoo>
take a look, I don't know more
<
love-pingoo>
(I'm not part of this hack)
<
whatitdo>
hmmmmmmm
<
whatitdo>
would the speed change ?
<
whatitdo>
like either be faster then on a x86 or slower
<
whatitdo>
noticing half of the stuff sint there hmmmm
* jlouis
notes it is much much much easier for a compiler backend to target MIPS than x86
love-pingoo has quit ["Leaving"]
love-pingoo has joined #ocaml
cjeris has joined #ocaml
love-pingoo has quit ["Leaving"]
<
zmdkrbou>
whatitdo: it's not worth the effort i think
<
zmdkrbou>
the cpu on the PSP sucks for this kind of things
Smerdyakov has joined #ocaml
<
zmdkrbou>
(i don't think there is any linux or windows on PSP, except win95 using bochs it seems)
<
whatitdo>
there is no win95 for psp
<
whatitdo>
just a kinda hack for the XMB
slowriot has joined #ocaml
bluestorm has joined #ocaml
smimou has joined #ocaml
pmatos has quit [Read error: 104 (Connection reset by peer)]
smimou has quit ["bli"]
smimou has joined #ocaml
velco has quit ["Ex-Chat"]
_velco is now known as velco
velco is now known as chill
ludwig- has joined #ocaml
sponge45 has joined #ocaml
gene9_ has joined #ocaml
gene9_ has quit [Client Quit]
love-pingoo has joined #ocaml
slowriot has quit []
pangoafk has quit [Remote closed the connection]
pangoafk has joined #ocaml
Shimei has quit [Read error: 110 (Connection timed out)]
Shimei has joined #ocaml
Submarine has joined #ocaml
zarvok has joined #ocaml
zarvok has quit [Client Quit]
zarvok has joined #ocaml
<
zarvok>
Does ocaml have any combinator parser libraries?
mbishop has left #ocaml []
chill has quit ["I'm outta here ..."]
love-pingoo has quit ["Connection reset by pear"]
cpfr has joined #ocaml
whatthedeuce has joined #ocaml
cjeris has left #ocaml []
Z4rd0Z has joined #ocaml
<
cpfr>
is it possible to do hot code swapping in ocaml?
<
tsuyoshi>
what do you mean?
wojtekk has joined #ocaml
<
cpfr>
is it possible to write procedures that take code in string form and evaluate them based on some condition
<
cpfr>
or redefine functions at runtime
<
wojtekk>
there's a dirty hack
<
wojtekk>
involving Toplevel
<
wojtekk>
haven't tried but seen it in CWN archives. checking
<
wojtekk>
I guess it will only work with bytecode, though
<
wojtekk>
and it's good to read through arguments againts idea of eval in OCaml :)
<
wojtekk>
s/and of/end of/, s/againts/against/, sorry for typos.. it's kida late