smimou has quit ["?"]
shawn_ has quit [Read error: 110 (Connection timed out)]
monochrom has quit ["Few people understand "understanding"."]
withersoever has joined #ocaml
smkl_ has quit [Read error: 110 (Connection timed out)]
smkl_ has joined #ocaml
Skal has quit ["Client exiting"]
cjohnson has quit ["banana"]
cjohnson has joined #ocaml
KrispyKringle has quit [Read error: 113 (No route to host)]
KrispyKringle has joined #ocaml
CosmicRay has joined #ocaml
Riastrad1 has joined #ocaml
Riastradh has quit [Nick collision from services.]
Riastrad1 is now known as Riastradh
smkl_ has quit [Read error: 60 (Operation timed out)]
smkl_ has joined #ocaml
cjohnson has quit ["billy billy scapegoat!"]
CosmicRay has quit ["Client exiting"]
Ag_47 has joined #ocaml
ramen has joined #ocaml
mlh has quit [Client Quit]
<
ramen>
Is there any way to get OCaml to run a script (a .ml source file) and drop immediately into the toploop?
<
mauke>
hmm, I run ocaml and say #use "whatever.ml";;
<
mauke>
dunno if there's a better way
<
ramen>
yeah, that usually works, but I'm trying to run ocaml from another program
smkl_ has quit [Read error: 60 (Operation timed out)]
<
ramen>
I thought of somehow creating a pipe and sending a #use directive, then redirecting keyboard/screen
<
ramen>
but I was just wondering if there's a simpler way
<
mauke>
hmm, you could create a .ocamlinit containing #use "whatever.ml";; run ocaml, then delete .ocamlinit
<
ramen>
cool, thanks!
<
ramen>
I didn't even know there was such a thing
<
mauke>
reading the docs for ocaml helps :-)
<
ramen>
yeah, go figure =)
* ramen
goes and reads the docs for ocaml
smkl_ has joined #ocaml
zzorn has joined #ocaml
<
ramen>
Ag_47, are you a maintainer of cash or were you just making a suggestion?
grirgz has quit [Read error: 104 (Connection reset by peer)]
<
Ag_47>
ramen: just a suggestion
<
ramen>
ahh, ok... I'm actually trying to compile it right now
<
ramen>
against OCaml 3.08 on Debian
<
ramen>
it's a bit tricky
Msandin has joined #ocaml
<
ramen>
I had to add -I +compiler-libs to OCAMLOPTIONS in the Makefile
<
ramen>
and edit cash-prims.c to comment out the extern value caml_open_descriptor_in/out lines
<
ramen>
Now it's complaining about a type error in atom.ml
<
ramen>
This expression has type int * int but is here used with type Token.flocation = Lexing.position * Lexing.position
grirgz has joined #ocaml
<
ramen>
(fixed by wrapping location with Token.make_loc)
zzorn is now known as zzorn_away
__DL__ has joined #ocaml
Msandin has quit [Read error: 60 (Operation timed out)]
<
ramen>
Building cash from CVS is the only way to go, IMHO
pango has quit [Remote closed the connection]
ramen has quit ["caml'd out"]
pango has joined #ocaml
Submarine has joined #ocaml
Msandin has joined #ocaml
smkl_ has quit [Read error: 110 (Connection timed out)]
m3ga has joined #ocaml
mlh_ has joined #ocaml
mlh_ has quit [Client Quit]
solarwind has joined #ocaml
m3ga has quit ["disappearing into the sunset"]
smkl_ has joined #ocaml
_fab has quit [Remote closed the connection]
juhammed has quit [Read error: 60 (Operation timed out)]
juhammed has joined #ocaml
solarwind has quit ["Lost terminal"]
solarwind has joined #ocaml
vezenchio has quit ["We learn from history that we learn nothing from history"]
smkl_ has quit [Read error: 110 (Connection timed out)]
_fab has joined #ocaml
smkl_ has joined #ocaml
Msandin has quit [Read error: 60 (Operation timed out)]
CosmicRay has joined #ocaml
cjohnson has joined #ocaml
mattam has joined #ocaml
* Ag_47
have found that bug in ocaml-jabbr... the author had no idea of xml:lang attribute of stream...
Ag_47 has left #ocaml []
Ag_47 has joined #ocaml
smkl_ has quit [Read error: 60 (Operation timed out)]
smkl_ has joined #ocaml
Ag_47 has left #ocaml []
zzorn_away is now known as zzorn_afk
zzorn_afk has quit ["They are coming to take me away, ha ha"]
zzorn has joined #ocaml
smkl_ has quit [Read error: 110 (Connection timed out)]
mrvn has joined #ocaml
mrvn_ has quit [Read error: 110 (Connection timed out)]
pango has quit ["Leaving"]
pango has joined #ocaml
smimou has joined #ocaml
humasect has joined #ocaml
Msandin has joined #ocaml
mbh has joined #ocaml
vodka-goo has joined #ocaml
smkl_ has joined #ocaml
humasect has quit [Connection timed out]
monochrom has joined #ocaml
mfurr has joined #ocaml
mfurr has quit ["Client Exiting"]
humasect has joined #ocaml
__DL__ has quit ["Bye Bye"]
Msandin has quit [Read error: 104 (Connection reset by peer)]
bigboote has joined #ocaml
humasect has quit ["Leaving.."]
zzorn has quit ["They are coming to take me away, ha ha"]
mlh has joined #ocaml
humasect has joined #ocaml
Submarine has quit ["Leaving"]
mlh has quit [Client Quit]
CosmicRay has quit ["Client exiting"]
mlh has joined #ocaml
smimou has quit ["?"]
mattam has quit ["zZz"]
smkl_ has quit [Read error: 60 (Operation timed out)]
vezenchio has joined #ocaml
mfurr has joined #ocaml
vodka-goo has quit []