cjeris changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/
ita|afk is now known as ita
mikeX has quit ["leaving"]
joelr1 has quit []
_blackdog has quit [Remote closed the connection]
_blackdog has joined #ocaml
pedro_soc has quit [No route to host]
ita is now known as ita|zzz
pedro_soc has joined #ocaml
Submarine has joined #ocaml
screwt8 has quit [Read error: 104 (Connection reset by peer)]
fridim has joined #ocaml
screwt8 has joined #ocaml
postalchris has quit ["Leaving."]
david_koontz has quit ["Leaving"]
pango_ has quit [Remote closed the connection]
pango_ has joined #ocaml
dark_light has joined #ocaml
_blackdog has quit [Remote closed the connection]
Smerdyakov has quit ["Leaving"]
pstickne has quit [Client Quit]
ygrek has joined #ocaml
G has joined #ocaml
ygrek has quit [Remote closed the connection]
ygrek has joined #ocaml
jeberle has joined #ocaml
jlouis has quit [Remote closed the connection]
ikaros has joined #ocaml
bebui has joined #ocaml
bebui has quit [Client Quit]
ikaros has quit ["segfault"]
skal has joined #ocaml
Submarine has quit ["Leaving"]
slipstream has quit [Read error: 110 (Connection timed out)]
jeberle has quit [Read error: 110 (Connection timed out)]
mikeX has joined #ocaml
ita|zzz is now known as ita
pedro_soc has quit ["Abandonando"]
_blackdog has joined #ocaml
postalchris has joined #ocaml
jajamana has joined #ocaml
pango has joined #ocaml
pango_ has quit [Remote closed the connection]
bluestorm_ has quit ["Konversation terminated!"]
mqtt has quit [Read error: 104 (Connection reset by peer)]
jlouis has joined #ocaml
smimou has quit [Remote closed the connection]
smimou has joined #ocaml
jajamana has quit [Read error: 110 (Connection timed out)]
Smerdyakov has joined #ocaml
pango has quit [Remote closed the connection]
pango has joined #ocaml
descender has quit ["Elegance has the disadvantage that hard work is needed to achieve it and a good education to appreciate it. - E. W. Dijkstra"]
fezsentido has joined #ocaml
bluestorm_ has joined #ocaml
j_santa_j has joined #ocaml
j_santa_j has left #ocaml []
mqtt has joined #ocaml
bluestorm_ has quit ["Konversation terminated!"]
ygrek has quit []
rickardg has joined #ocaml
mikeX_ has joined #ocaml
joelr1 has joined #ocaml
<joelr1> good day
<joelr1> is anyone well-versed with writing parsers?
<jlouis> what kind of parsers? LALR(1)?
eradman has quit [zelazny.freenode.net irc.freenode.net]
eradman has joined #ocaml
<joelr1> one sec
<joelr1> jlouis: take a look at that
<joelr1> i, basically, have expr and "expr SHARES" and want my parser to tell them apart
<joelr1> jlouis: i've been trying to use menhir since i can't use ocamlyacc but i think it hardly matters
<jlouis> or a combinator-parser?
<jlouis> I think parsers are kind of black magic to most
<joelr1> jlouis: a combinator parser won't have a problem with this so long as it has a "try" op, where the parser state is reset if a combinator failed
<jlouis> if that will comfort you ;)
<joelr1> jlouis: not really but i do have a sense of humor :D
<joelr1> oh, well
<jlouis> don't you just shuffle in some precedence?
<jlouis> to solve the possible S/R conflict
<jlouis> or is it a R/R conflict?
<lucca> joelr1: this doesn't look right
<joelr1> dunno jlouis
<lucca> if you already have expr: LP expr RP as you describe
<joelr1> lucca: why not?
<joelr1> yes, basically i could have written LP expr RP SHARES instead
<lucca> then you'll have a RR conflict there
<joelr1> for clarity
mikeX has quit [Read error: 110 (Connection timed out)]
<joelr1> the syntax of the language is like that
<joelr1> so it looks like i need to resort to parser combinators
<joelr1> unless... unless i can fix my lexer/menhir integration
<joelr1> the way this used to work is quite simple
<joelr1> i used to have a string expression for the name and a numerical expression for shares
<joelr1> presto, no conflict
<joelr1> this required the lexer to return a different token once a declared variable was found
bobl_ has joined #ocaml
<bobl_> I passed two c-object files to ocamlopt, and the second one cannot find the symbols of the first one, is that to be expected?
benny_ has joined #ocaml
tsuyoshi has quit ["Lost terminal"]
bobl_ has quit ["Leaving"]
joelr1 has quit []
benny has quit [Read error: 110 (Connection timed out)]
david_koontz has joined #ocaml
jlouis_ has joined #ocaml
tsuyoshi has joined #ocaml
jlouis has quit [Read error: 110 (Connection timed out)]
as has joined #ocaml
as is now known as gene9
gene9 has quit ["Meritocracy"]
nuncanada has joined #ocaml
postalchris has quit ["Leaving."]
fezsentido has quit [Read error: 110 (Connection timed out)]
skal has quit [Read error: 104 (Connection reset by peer)]
rickardg has quit [Read error: 104 (Connection reset by peer)]
Smerdyakov has quit [Remote closed the connection]
Smerdyakov has joined #ocaml
smimou has quit ["bli"]
screwt8 has quit [Read error: 104 (Connection reset by peer)]
pango has quit [Remote closed the connection]
pango has joined #ocaml