Ken Domino
Ken Domino
> Hey @kaby76, any updates on this? Sorry, I haven't done anything since the last time you asked. Antlr 4.12 came out, and it seemed a good time to address...
> For recursive rules, the parentState is set for the context. What we need from the context and currently have to patch in, is the state before the precpred. Can't...
> it would be more valuable to give another state to the context. But I don't know other use cases and why the state had to be stored this way....
Which grammar and input are you referring to? Is it [kotlin-formal](https://github.com/antlr/grammars-v4/tree/1bfcc5a6b954008e23bc5a982864364a069c8756/kotlin/kotlin-formal) or [kotlin](https://github.com/antlr/grammars-v4/tree/1bfcc5a6b954008e23bc5a982864364a069c8756/kotlin/kotlin)?
Sorry, can't look at this at the moment. I'm on vaca for a couple of days.
Doesn't page refresh clear all fields?
What I would like to see is a way to share a web link to the Lab that contains the `grammar x input x start-symbol` and automatically runs the program....
> I prefer a stateless approach encoding with URL but that URL size is limited. What if input is 3M? I think it'd be hard to get a lossless compression...
Your right, it seems the state `grammar x input x start-symbol` will likely need to be stored somewhere.
BTW, I did a "gzip -9" of the .g4's in grammars-v4, and some of the SQL grammars after compression are ~30KB. So, I don't see a URL working as a...