<mpapis> yorickpeterse, any chance you got time to look into https://github.com/rubinius/rubinius/issues/3176
|jemc| has quit [Ping timeout: 264 seconds]
diegoviola has quit [Remote host closed the connection]
slaught has quit [Quit: slaught]
diegoviola has joined #rubinius
_hs710 has quit [Quit: _hs710]
diegoviola has quit [Quit: WeeChat 1.0.1]
diegoviola has joined #rubinius
carlosgaldino has quit [Ping timeout: 255 seconds]
carlosgaldino has joined #rubinius
[spoiler] has quit [Quit: Leaving]
diegoviola has quit [Quit: WeeChat 1.0.1]
diegoviola has joined #rubinius
diegoviola has quit [Remote host closed the connection]
diegoviola has joined #rubinius
diegoviola has quit [Quit: WeeChat 1.0.1]
tenderlo_ has joined #rubinius
tenderlove has quit [Ping timeout: 245 seconds]
havenwood has joined #rubinius
diegoviola has joined #rubinius
meh` has quit [Ping timeout: 264 seconds]
slaught has joined #rubinius
diegoviola has quit [Read error: Connection reset by peer]
diegoviola has joined #rubinius
slaught has quit [Client Quit]
tenderlo_ has quit [Remote host closed the connection]
diegoviola has quit [Client Quit]
tenderlove has joined #rubinius
diegoviola has joined #rubinius
havenwood has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 1.0.1]
diegoviola has joined #rubinius
diegoviola has quit [Remote host closed the connection]
Caius has quit [Ping timeout: 260 seconds]
Caius has joined #rubinius
DanielVartanov has joined #rubinius
DanielVartanov has quit [Remote host closed the connection]
DanielVartanov_ has joined #rubinius
DanielVartanov__ has joined #rubinius
DanielVartanov__ has quit [Remote host closed the connection]
DanielVartanov_ has quit [Remote host closed the connection]
dzhulk has joined #rubinius
Bwild has quit [Quit: leaving]
josh-k has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
mustmodify has left #rubinius [#rubinius]
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
havenwood has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
JohnBat26 has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
[spoiler] has joined #rubinius
[spoiler] has quit [Client Quit]
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
[spoiler] has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
josh-k has quit [Read error: Connection reset by peer]
josh-k has joined #rubinius
[spoiler] has quit [Ping timeout: 258 seconds]
josh-k has quit [Remote host closed the connection]
enebo has joined #rubinius
josh-k has joined #rubinius
josh-k has quit [Remote host closed the connection]
diegoviola has joined #rubinius
kagaro has quit [Ping timeout: 252 seconds]
kagaro has joined #rubinius
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
pwh has quit []
dzhulk1 has joined #rubinius
dzhulk has quit [Ping timeout: 260 seconds]
havenwood has quit [Remote host closed the connection]
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
goyox86 has joined #rubinius
meh` has joined #rubinius
havenwood has joined #rubinius
meh` has quit [Quit: I don't want to live on this planet anymore.]
meh` has joined #rubinius
DanielVartanov has joined #rubinius
goyox86_ has joined #rubinius
goyox86 has quit [Ping timeout: 245 seconds]
<yorickpeterse> (╯°□°)╯︵ ┻━┻ LALR
<yorickpeterse> whereas LL at least had a Wikipedia code example, LALR has none that I can find so far
<yxhuvud> anything special you are wondering about ?
<yorickpeterse> Yes, I'm trying to find some standalone code samples so I can actually understand the algorithm of parsing/constructing state tables
<yorickpeterse> I'm too dumb to read the formulas :/
<yxhuvud> basically, build a goto graph, where each node is a state
<yorickpeterse> Yeah nothing personal but that's like telling me to "just" build a rocket
<yorickpeterse> it doesn't quite work that way
<yxhuvud> I may have some code that does it, but it also do a whole lot more (due to me needing a special transformation of the grammar as well
RageLtMan has joined #rubinius
<yorickpeterse> I don't understand how there are so many academic papers on the subject, and *none* of them actually include any code sample
DanielVartanov has quit [Remote host closed the connection]
<yorickpeterse> it's almost as if people willingly hide this knowledge to fuck others over
<yxhuvud> because they assume you have read the books on the topic.
<yxhuvud> hrrm. It ends up a whole lot of code I would have to show, I really should clean it up enough to be possible to upload to github.
<enebo> yorickpeterse: I sometimes read this since I would like to replace Jay someday for JRuby: http://web.cs.dal.ca/~sjackson/lalr1.html
<enebo> yorickpeterse: In fact I had to look up the link since I have the page saved locally on my laptop
<yorickpeterse> enebo: Yeah I bumped into that link at some point as well
<enebo> yorickpeterse: Even as a simple tutorial it requires a lot of concentration to get through it for me :)
<yorickpeterse> What I find extremely difficult, and hugely frustrating, is that the lack of code samples makes it very hard for me to figure out if what I did/learned is actually correct
<yorickpeterse> Sure all the algorithms show the theory, but that's it: they show just the theory
<yxhuvud> tbh, I didn't really understand the construction of it until after I actually implemented them
<enebo> yorickpeterse: agreed. and each time I find another LALR impl they all have a PDP-13 comment in them so I question how many people really understand LALR :)
<yorickpeterse> I'd like to think the paper authors are lazy sack of wines that don't know any coding, but that's probably not the case
<yorickpeterse> either my Google-fu is bad, or I'm just too dumb
<yxhuvud> (the parser I'm building is a strict superset of lalr)
<yorickpeterse> For LL I sort of have something, but I suspect my table construction is flawed
<yxhuvud> I had to get far enoguh to have my implementation bump into walls, and then dig into the books for answers, and then back again to next bump
<yorickpeterse> but alas, there are no sane examples I can use as a reference
<yorickpeterse> also it doesn't actually build a tree yet of any kind
<yxhuvud> yeah, that is yet another beast
<enebo> I want to generate an impl which uses direct calls on non-cyclical productions child possible productions (so it inlines the depth part when finite) but still uses a table for jumps when there is a cycle
<yxhuvud> (which I havn't yet conquered, but my case is a bit harder to reason about than lalr since I accept ambiguity)
<enebo> In Java indirecting through aloads prevents a lot of optimization potential
<yxhuvud> aload?
<enebo> sorry accessing from a java primitive array
<yxhuvud> ah the goto table?
<yxhuvud> I can see why it is a bitch to optimize
<enebo> yxhuvud: yeah I want to make a subset of the goto table go away when there are no cycles.
<enebo> yxhuvud: just emit the logic into the parent to go down without asking where to go
<yorickpeterse> https://github.com/mrbojangles3/LL-1--Parser/blob/master/Parser.java jesus, finally another somewhat simple LL example
* yorickpeterse does not yet know if he wants LL or LALR, hence is doing both
<yorickpeterse> to make things easier
<enebo> yorickpeterse: I remember Beaver impl (also in Java not being so complex an impl)
<yorickpeterse> hm
<enebo> Beaver makes a bunch of decisions with how you construct tokens and the resulting tree I do not like but I remember it being pretty clean implwise
havenwood has quit []
enebo has quit [Quit: enebo]
tenderlove has quit [Quit: Leaving...]
diegoviola has quit [Quit: WeeChat 1.0.1]
DanielVartanov_ has joined #rubinius
DanielVartanov_ has quit [Remote host closed the connection]
elia has joined #rubinius
diegoviola has joined #rubinius
havenwood has joined #rubinius
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #rubinius
goyox86_ has quit [Ping timeout: 250 seconds]
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #rubinius
stass has quit [Ping timeout: 256 seconds]
elia has quit [Quit: Computer has gone to sleep.]
stass has joined #rubinius
havenwood has quit [Remote host closed the connection]
elia has joined #rubinius
diegoviola has quit [Ping timeout: 256 seconds]
pwh has joined #rubinius
havenwood has joined #rubinius
pwh has quit []
RageLtMan has quit [Ping timeout: 250 seconds]
RageLtMan has joined #rubinius
diegoviola has joined #rubinius
goyox86 has joined #rubinius
Bwild has joined #rubinius