sponge45 changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/
shawn has joined #ocaml
batdog has joined #ocaml
sardella has left #ocaml []
<erider> pretty quiet
pango_ has joined #ocaml
batdog is now known as batdog|gone
smimou has quit ["bli"]
pango has quit [Remote closed the connection]
gunark has quit [Read error: 110 (Connection timed out)]
pango_ has quit [Remote closed the connection]
sponge45 has joined #ocaml
pango has joined #ocaml
trurl has quit [Nick collision from services.]
trurl has joined #ocaml
trurl has quit [Nick collision from services.]
twobitsprite has joined #ocaml
trurl_ has joined #ocaml
<twobitsprite> this might be obvious, but... to use an invariant constructor from another module, you just use it like anything else, right? i.e. "MyModule.MyVariant x" ?
buluca has quit ["Leaving."]
buluca has joined #ocaml
rillig has quit ["exit(EXIT_SUCCESS)"]
erider has left #ocaml []
piykor has joined #ocaml
<piykor> hi
<piykor> hi
<piykor> hi
<piykor> hello.....
piykor has left #ocaml []
danly has quit [Read error: 104 (Connection reset by peer)]
joshcryer has quit [Read error: 104 (Connection reset by peer)]
<twobitsprite> so... it seems to me that ocamlyacc is more of a parser-generator than a compiler-compiler... i.e. it doesn't actually perform any compiling, just parsing...
<twobitsprite> so... how is one supposed to build a compiler with this? or is it just manual code generation after that?
<twobitsprite> i.e. manually walk the AST and start building code?
<twobitsprite> (I've never used Yacc or Bison or anything like that before... so I'm completely lost)
pango has quit [Remote closed the connection]
pango has joined #ocaml
<tsuyoshi> yacc isn't necessarily for use with just compilers
<tsuyoshi> so the code generation is a separate step
<twobitsprite> right on.. but there are no tools for it?
<twobitsprite> i.e. for the code generation step?
<twobitsprite> i.e., what would be the best way to turn my optimized AST into ocaml code?
<twobitsprite> am I just going to have to build strings and spit them out to a file to compile them?
<twobitsprite> also, I'm going to write the inria guys again about how much it irks me that they don't have integer exponetiation... that always catches me off guard!
Mr_Awesome has joined #ocaml
<sponge45> twobitsprite, if you want to emit ocaml code, I would recommend using camlp4's quotations (stuff provided by q_MLast.cmo).
mbishop has quit [Remote closed the connection]
ChoJin has joined #ocaml
<whatitdo100> >> Fatal error: cannot open pervasives.cmi
<whatitdo100> Fatal error: exception Misc.Fatal_error
<whatitdo100> i am trying ot run ocaml on windows
<whatitdo100> i dont have nix installed on this box
<whatitdo100> hmmmmmmm
Skal has joined #ocaml
postalchris has quit [Read error: 148 (No route to host)]
Smerdyakov has quit ["Leaving"]
Mr_Awesome has quit ["...and the Awesome level drops"]
sponge45 has quit ["zzzzzzzzzz"]
shawn has quit [Read error: 60 (Operation timed out)]
<whatitdo100> pango: ey you up ?
llama32 has joined #ocaml
_velco has joined #ocaml
shawn has joined #ocaml
llama32 has quit [Remote closed the connection]
dark_light has quit [Remote closed the connection]
slipstream has joined #ocaml
slipstream-- has quit [Read error: 60 (Operation timed out)]
love-pingoo has joined #ocaml
mbishop has joined #ocaml
johnnowak has joined #ocaml
revision17 has quit [Read error: 104 (Connection reset by peer)]
revision17 has joined #ocaml
love-pingoo has quit [Read error: 60 (Operation timed out)]
pango has quit ["brb"]
love-pingoo has joined #ocaml
_fab has joined #ocaml
pango has joined #ocaml
love-pingoo has quit ["Connection reset by pear"]
^ChoJin^ has joined #ocaml
m3ga has joined #ocaml
ChoJin has quit [Read error: 113 (No route to host)]
johnnowak has quit []
^ChoJin^ is now known as ChoJin
asm has joined #ocaml
ChoJin has quit ["This computer has gone to sleep"]
m3ga has quit ["disappearing into the sunset"]
bluestorm has joined #ocaml
asm has quit ["Verlassend"]
Shimei has quit [Read error: 113 (No route to host)]
ramkrsna has quit [Remote closed the connection]
<flux__> hm, what's reddits ip-address? the company (..) dns fails to resolve it
<flux__> suspicious: Last Updated on: 11-DEC-06
<flux__> (whois)
<flux__> ha, DNS5.NAME-SERVICES.COM gives the answer (the two others don't)
<flux__> oh, but the ip it gives doesn't respond to port 80
ramkrsna has joined #ocaml
batdog|gone is now known as batdog
gunark has joined #ocaml
gunark has quit [Remote closed the connection]
setog3 has joined #ocaml
<setog3> how to debug ocaml code ? to see the different variable
<setog3> ?
<setog3> hmm ocamldebug ..
<pango> printf ;)
<setog3> yes printf is a good way too
<setog3> but with ocamldebug is it possible ?
<setog3> because I do a backtracking code and I want to understand the order of the different raising exception
<pango> ocamldebug has a 'show' command to display variables, so I guess it can be used, too :)
<setog3> thx pango
<setog3> I find the error with printf !
postalchris has joined #ocaml
priich has joined #ocaml
ikaros_ has quit [Read error: 110 (Connection timed out)]
ikaros_ has joined #ocaml
ikaros_ is now known as ikaros
postalchris has quit ["Leaving."]
ikaros has quit ["Leaving"]
ikaros has joined #ocaml
love-pingoo has joined #ocaml
love-pingoo has quit [Remote closed the connection]
ikaros has quit ["Leaving"]
love-pingoo has joined #ocaml
ikaros has joined #ocaml
Smerdyakov has joined #ocaml
malc_ has joined #ocaml
ChoJin has joined #ocaml
ChoJin has quit ["This computer has gone to sleep"]
benny is now known as klapmuetz
_velco has quit [Remote closed the connection]
danly_ has joined #ocaml
danly_ is now known as danly
ramkrsna has quit [Read error: 104 (Connection reset by peer)]
ChoJin has joined #ocaml
buluca has quit ["Leaving."]
ChoJin has quit ["This computer has gone to sleep"]
ramkrsna has joined #ocaml
clog has joined #ocaml
Aradorn has joined #ocaml
lmbdwr has quit [Remote closed the connection]
Aradorn has quit ["Leaving"]
_fab has quit [Read error: 54 (Connection reset by peer)]
love-pingoo has quit ["Connection reset by pear"]
Riesz_ has quit ["Leaving.."]
rillig has joined #ocaml
Foxyloxy has joined #ocaml
aer has joined #ocaml
aer has quit [Client Quit]
Riesz has joined #ocaml
joshcryer has joined #ocaml
shans_home_ has joined #ocaml
<shans_home_> why would I get an "Illegal stream concatenation"?
<Eridius> because you concatenated a stream illegally?
<shans_home_> well, yeah
<shans_home_> but what counts as illegal?
<Eridius> no idea. I barely know any OCaml :P
<shans_home_> heh
<shans_home_> anyone else?
bluestorm has quit ["Konversation terminated!"]
acone has joined #ocaml
<acone> i'm having trouble building pcre-ocaml on mac os 10.4. can anyone help me?
<Eridius> acone: sure, I wrote a Portfile for MacPorts for it
<Eridius> looking over it, I think the only change I had to make that affects building was to edit Makefile.conf to set INCDIRS and LIBDIRS
acone has quit [Read error: 145 (Connection timed out)]
<pango> shans_home_: what does the code look like ? maybe it'll help ;)
malc_ has quit ["leaving"]
Mr_Awesome has joined #ocaml
<pango> Mr_Awesome: # 13, 13l, 13L, 13n ;;
<pango> - : int * int32 * int64 * nativeint = (13, 13l, 13L, 13n)
shawn has quit ["This computer has gone to sleep"]
<Mr_Awesome> pango: but do the operators work as expected?
<Mr_Awesome> like operator +
<Mr_Awesome> i guess i could assign the right functions to the existing operators
<Mr_Awesome> or is that possible
<pango> what do you mean ? + adds ints only
<Mr_Awesome> yeah i realize that
<Mr_Awesome> its just somewhat of a hassle to change the infix operators to prefix operators
<Mr_Awesome> though i might try it again with plain old ints, i have an idea that could work
<Mr_Awesome> in the meantime though i just used an external C function
<pango> well, you can create infix operators for the other "types of ints"... Not great, but usually more readable
Skal has quit [Read error: 104 (Connection reset by peer)]
<Mr_Awesome> hmm yeah thats a good idea actually
<Mr_Awesome> i wish you could use letters and numbers in infix function names
erider has joined #ocaml
<pango> there's few posts in the mailing list about making any binary function infix, like in Haskell
<Mr_Awesome> hmm interesting
<Mr_Awesome> thanks pango
Shimei has joined #ocaml
<pango> np
whatitdo100 has quit []
rillig has quit ["exit(EXIT_SUCCESS)"]