gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0 http://bit.ly/aNZBUp
ftrvxmtrx has quit [Quit: Leaving]
ftrvxmtrx has joined #ocaml
munga has joined #ocaml
alexyk has quit [Quit: alexyk]
cyanure has joined #ocaml
<cyanure> Hi, I'm trying to build a ocaml program with menhir and ocamlbuild but it keeps failing, what is the simplest way to call the main function of the parser (on a full file) from the caml prog
mnabil has joined #ocaml
<thelema> Lexing.from_string s |> Ns_yac.pred Ns_lex.pred_token
<thelema> this parses a string. there's likely a lexing.from_file or channel for you
munga has quit [Ping timeout: 240 seconds]
LeNsTR has quit [Quit: LeNsTR]
napping has quit [Quit: leaving]
<cyanure> thelema, thx i found Lexing.from_channel (open_in ...)
lpereira has quit [Quit: Leaving.]
oriba has quit [Quit: Verlassend]
BiDOrD has quit [Ping timeout: 240 seconds]
cyanure has quit [Quit: Quitte]
mnabil has quit [Read error: Connection reset by peer]
mnabil has joined #ocaml
mnabil has quit [Remote host closed the connection]
smerz has quit [Remote host closed the connection]
smerz has joined #ocaml
alexyk has joined #ocaml
BiDOrD has joined #ocaml
Edward__ has quit []
alexyk has quit [Quit: alexyk]
ymasory_ has joined #ocaml
rks has quit [Ping timeout: 240 seconds]
rks has joined #ocaml
rks has quit [Ping timeout: 276 seconds]
rks has joined #ocaml
Fullma has joined #ocaml
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 240 seconds]
_unK has joined #ocaml
drunK has quit [Ping timeout: 260 seconds]
Amorphous has quit [Ping timeout: 272 seconds]
Amorphous has joined #ocaml
decaf has left #ocaml []
_unK has quit [Remote host closed the connection]
jamii has joined #ocaml
eye-scuzzy has quit [Ping timeout: 240 seconds]
eye-scuzzy has joined #ocaml
itegebo has joined #ocaml
itegebo has quit [Remote host closed the connection]
boscop_ has quit [Ping timeout: 240 seconds]
lewis1711 has joined #ocaml
ymasory_ has quit [Ping timeout: 265 seconds]
<lewis1711> http://paste.pocoo.org/show/320894/ is this alright stylewise? (apart from the lack of comments:P)
<jamii> lewis1711: fine
<jamii> although i would put a space in here: string_of_float (c1+.c2)
<lewis1711> oh yes
<lewis1711> was mainly wondering about indenting after the match stuff
<lewis1711> http://paste.pocoo.org/show/320902/ at the bottom here, -> Var;; expects an argument of course. how can I give it an argument from the pattern?
<lewis1711> (oops the top definition for Var should use chars, not strings
<lewis1711> )
<mrvn> Line 13 should be -> Printf.sprintf "'%c'" v
<mrvn> and your expr_of_string needs a parser
<mrvn> ah, forget the first.
<mrvn> You should look into the examples for streams or yacc
<lewis1711> mrvn: parser?
<lewis1711> and ok
<lewis1711> http://caml.inria.fr/pub/docs/oreilly-book/html/book-ora019.html think I might try this first actually :D
<mrvn> If you want to transform a string into an expression then that is called a parser
<lewis1711> ah
<mrvn> it's a bit more complex than pattern matching
oriba has joined #ocaml
oriba has quit [Remote host closed the connection]
cthuluh has quit [Read error: Operation timed out]
eye-scuzzy has quit [Read error: Operation timed out]
eye-scuzzy has joined #ocaml
cthuluh has joined #ocaml
<jamii> all the basic stuff is up and working
<jamii> requires ocaml 3.12 and batteries HEAD
<jamii> all in one file as well
edwin has joined #ocaml
Vinnipeg has joined #ocaml
ygrek has joined #ocaml
Vinnipeg has quit [Remote host closed the connection]
Yoric has joined #ocaml
ygrek has quit [Ping timeout: 240 seconds]
Yoric_ has joined #ocaml
LeNsTR has joined #ocaml
Yoric has quit [Ping timeout: 276 seconds]
Yoric has joined #ocaml
Yoric_ has quit [Ping timeout: 250 seconds]
lpereira has joined #ocaml
ikaros has joined #ocaml
eelte has quit [Read error: Connection reset by peer]
coucou747 has joined #ocaml
munga has joined #ocaml
smerz has quit [Remote host closed the connection]
avsm has joined #ocaml
WonTu has joined #ocaml
WonTu has left #ocaml []
boscop has joined #ocaml
<mfp> kaustuv: seems you might soon have something to add to your incr_uarray/ narrative > http://caml.inria.fr/mantis/view.php?id=5203
avsm has quit [Quit: Leaving.]
ygrek has joined #ocaml
drunK has joined #ocaml
yezariaely has joined #ocaml
jamii has quit [Ping timeout: 240 seconds]
Matt` has joined #ocaml
Matt` has left #ocaml []
lewis1711 has left #ocaml []
Edward has joined #ocaml
yezariaely has left #ocaml []
Obfuscate has quit [Ping timeout: 240 seconds]
Obfuscate has joined #ocaml
jamii has joined #ocaml
<jamii> anyone else waiting for the hacker cup?
mnabil has joined #ocaml
avsm has joined #ocaml
avsm has quit [Quit: Leaving.]
eaburns has left #ocaml []
rks has quit [Ping timeout: 250 seconds]
rks has joined #ocaml
lpereira has quit [Quit: Leaving.]
ulfdoz has quit [Ping timeout: 265 seconds]
ulfdoz has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
ftrvxmtrx has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
ftrvxmtrx has joined #ocaml
mnabil has quit [Ping timeout: 246 seconds]
mnabil has joined #ocaml
ymasory_ has joined #ocaml
edwin has quit [Read error: No route to host]
edwin has joined #ocaml
jamii has quit [Quit: Leaving]
ftrvxmtrx has quit [Quit: Leaving]
Edward has quit []
ftrvxmtrx has joined #ocaml
elehack has joined #ocaml
almaisan-away is now known as al-maisan
al-maisan is now known as almaisan-away
smerz has joined #ocaml
ztfw has joined #ocaml
munga has quit [Read error: Operation timed out]
infoe has quit [Ping timeout: 276 seconds]
munga has joined #ocaml
flx_ has joined #ocaml
jlouis_ has joined #ocaml
hto_ has joined #ocaml
svenl has quit [Disconnected by services]
svenl_ has joined #ocaml
boscop_ has joined #ocaml
Fullma_ has joined #ocaml
_nejimban has joined #ocaml
adrien_ has joined #ocaml
Obfuscate` has joined #ocaml
munga has quit [Ping timeout: 264 seconds]
adrien_ is now known as adrien__
adrien__ is now known as Camarade_Tux
adrien has quit [Disconnected by services]
Camarade_Tux is now known as adrien
edwin has quit [*.net *.split]
ymasory_ has quit [*.net *.split]
Obfuscate has quit [*.net *.split]
boscop has quit [*.net *.split]
Yoric has quit [*.net *.split]
Fullma has quit [*.net *.split]
hto has quit [*.net *.split]
mfp has quit [*.net *.split]
flux has quit [*.net *.split]
nejimban has quit [*.net *.split]
jlouis has quit [*.net *.split]
duper has quit [*.net *.split]
_nejimban is now known as nejimban
flx_ is now known as flux
edwin has joined #ocaml
jonafan_ has joined #ocaml
jonafan has quit [Ping timeout: 260 seconds]
decaf has joined #ocaml
Yoric has joined #ocaml
duper has joined #ocaml
jonafan__ has joined #ocaml
xl0_ has joined #ocaml
decaf_ has joined #ocaml
Derander has quit [Ping timeout: 264 seconds]
diml has quit [Ping timeout: 264 seconds]
decaf has quit [Ping timeout: 264 seconds]
jonafan_ has quit [Ping timeout: 264 seconds]
xl0 has quit [Ping timeout: 264 seconds]
diml has joined #ocaml
Derander has joined #ocaml
theDroggl_ has joined #ocaml
theDroggl has quit [Read error: Connection reset by peer]
sgnb has quit [Read error: Operation timed out]
sgnb has joined #ocaml
thelema_ has joined #ocaml
oriba has joined #ocaml
patronus_ has joined #ocaml
thelema has quit [Ping timeout: 240 seconds]
ygrek has quit [Ping timeout: 240 seconds]
patronus has quit [Ping timeout: 240 seconds]
ygrek has joined #ocaml
Obfuscate` has quit [Quit: A poorly written script will replace me shortly.]
Obfuscate has joined #ocaml
decaf_ is now known as decaf
<decaf> anyone uses utf8? what's this? ⊕
ygrek has quit [Ping timeout: 240 seconds]
<adrien> a cross inside a circle
<NaCl> xor sign?
<decaf> found in wikipedia
<decaf> in ascii
<adrien> xor sounds good, or: superposition of + and o (roughly)
<decaf> thanks
elehack is now known as elehack|afk
edwin has quit [Remote host closed the connection]
Yoric has quit [Quit: Yoric]
mfp has joined #ocaml
jlouis_ is now known as jlouis
ftrvxmtrx has quit [Read error: Connection reset by peer]
ftrvxmtrx has joined #ocaml
fraggle_ has quit [Quit: -ENOBRAIN]
fraggle_ has joined #ocaml
munga has joined #ocaml
theDroggl_ is now known as theDroggl
ikaros has quit [Quit: Leave the magic to Houdini]