<dkubb>
I think that would clean up so much of the grammar
<dkubb>
at least it might make it easier to read in some cases
judofyr has quit [Read error: Connection reset by peer]
judofyr has joined #rom-rb
judofyr has quit [Read error: Connection reset by peer]
judofyr has joined #rom-rb
skade has quit [Quit: Computer has gone to sleep.]
judofyr has quit [Read error: Connection reset by peer]
judofyr has joined #rom-rb
skade has joined #rom-rb
kleech has quit [Remote host closed the connection]
judofyr has quit [Read error: Connection reset by peer]
judofyr has joined #rom-rb
<mbj>
dkubb: racc is IMHO pure ruby.
<mbj>
dkubb: We should be able to change it?
<dkubb>
mbj: I suppose I could, but I don't know if I want to go down a rabbit hole. I suppose I could suggest it as a feature request though
<mbj>
dkubb: Yeah
<dkubb>
sometimes using the array is still useful, like where you want to "slurp" in all the arguments at once, but most of the time you want to refer to specific positions, and you have the names right there in the grammar. it makes sense to me when the ruby code is generated you could add some local variables that reference the array positions directly
<mbj>
dkubb: Actually the ruby behind racc looks "simple"
<mbj>
dkubb: Its really nice their grammar parser is implemented via racc himself :D
<dkubb>
I bet it would be a relatively simple change, but I don't want to get into it until I'm nearly done with the parser and have every statement I can generate round-tripping
<mbj>
dkubb: Sure.
judofyr has quit [Read error: Connection reset by peer]
judofyr has joined #rom-rb
skade has quit [Quit: Computer has gone to sleep.]
judofyr has quit [Read error: Connection reset by peer]
judofyr has joined #rom-rb
judofyr has quit [Read error: Connection reset by peer]
judofyr has joined #rom-rb
judofyr has quit [Remote host closed the connection]
judofyr has joined #rom-rb
judofyr has quit [Read error: No route to host]
judofyr has joined #rom-rb
postmodern has joined #rom-rb
judofyr has quit [Read error: No route to host]
judofyr_ has joined #rom-rb
skade has joined #rom-rb
judofyr_ has quit [Read error: Connection reset by peer]
judofyr has joined #rom-rb
judofyr has quit [Read error: Connection reset by peer]