asqui has quit [Read error: 104 (Connection reset by peer)]
asqui has joined #ocaml
asqui has quit [Client Quit]
foxster has quit [Read error: 104 (Connection reset by peer)]
rox is now known as rox|abschlessen
systems has quit ["Client Exiting"]
TimFreeman has joined #ocaml
lament has joined #ocaml
Kinners has joined #ocaml
TimFreeman has left #ocaml []
Riastrad1 has joined #ocaml
Kinners has left #ocaml []
Riastradh has quit [Connection timed out]
mattam has joined #ocaml
foxster has joined #ocaml
lament has quit [adams.freenode.net irc.freenode.net]
mrvn_ has quit [adams.freenode.net irc.freenode.net]
lam has quit [adams.freenode.net irc.freenode.net]
lament has joined #ocaml
mrvn_ has joined #ocaml
lam has joined #ocaml
musasabi has quit [adams.freenode.net irc.freenode.net]
musasabi has joined #ocaml
asqui has joined #ocaml
asqui has quit [adams.freenode.net irc.freenode.net]
mrvn_ has quit [adams.freenode.net irc.freenode.net]
lam has quit [adams.freenode.net irc.freenode.net]
lament has quit [adams.freenode.net irc.freenode.net]
asquii has joined #ocaml
asqui has joined #ocaml
lament has joined #ocaml
mrvn_ has joined #ocaml
lam has joined #ocaml
asqui has quit [Excess Flood]
asquii is now known as asqui
lament has quit ["Did you know that God's name is ERIS, and that He is a girl?"]
mrvn has joined #ocaml
<musasabi>
What is the easiest way of simulating dynamic binding in ocaml?
<musasabi>
does anyone have experience with ocamlyacc? I want to have a rule like bb: DD {...} | bb DD {...};foo: AA { inialisation } bb CC { cleanup }. How is this done when $$ does not exist?
<mrvn>
What was $$ again? The result?
rc51 has joined #ocaml
<musasabi>
mrvn: yes.
<mrvn>
Why would you need to initialize something? You could use refs or mutables.
<musasabi>
mrvn: the problem is that I want to have multiple actions for a rule, but as ocamlyacc gets the result implicitely unlike yacc.
<musasabi>
mrvn: symbol table. I need to go one level deeper. Using a ref to implement the dynamic binding is easy.
<mrvn>
foo: foo_first bb CC { cleanup }
<mrvn>
foo-first: AA { inialisation }
<mrvn>
if you can't write a propper grammar that doesn't need that
<musasabi>
of course there are allways ways of getting around it, it just makes the grammar more messy / verbose.
<mrvn>
Just use a context free grammar.
mrvn_ has quit [Read error: 110 (Connection timed out)]
mrvn has quit [adams.freenode.net irc.freenode.net]
lam has quit [adams.freenode.net irc.freenode.net]
mrvn has joined #ocaml
lam has joined #ocaml
foxster has quit [Read error: 104 (Connection reset by peer)]
foxster has joined #ocaml
mattam has quit [Read error: 60 (Operation timed out)]
smklsmkl is now known as smkl
mattam has joined #ocaml
systems has joined #ocaml
Torquemada has joined #ocaml
systems has quit [Read error: 60 (Operation timed out)]
<mrvn>
tidum
TachYon26 has joined #ocaml
Torquemada has quit [adams.freenode.net irc.freenode.net]
mrvn has quit [adams.freenode.net irc.freenode.net]
lam has quit [adams.freenode.net irc.freenode.net]
Torquemada has joined #ocaml
mrvn has joined #ocaml
lam has joined #ocaml
TachYon26 has quit ["bez ki³y nie ma zaliczenia (z prawd studentek AM)"]
foxster has quit [Read error: 104 (Connection reset by peer)]
TachYon has joined #ocaml
TachYon has quit [Remote closed the connection]
rox|abschlessen is now known as rox
Riastrad1 is now known as Riastradh
foxster has joined #ocaml
foxster has quit [Read error: 104 (Connection reset by peer)]
mattam has quit [Read error: 104 (Connection reset by peer)]
foxster has joined #ocaml
docelic|sleepo has quit [Operation timed out]
foxster has quit [Read error: 104 (Connection reset by peer)]