every solution found on "switch antlr4" isn't option because using antlr4ruby
(which antlr3, 4 meant "for").
i want build rule property access, should match this:
variable variable.property variable.prop.prop etc.
here's have:
variable: name -> ^(variable name) | variable dot name -> ^(access variable name);
(variable
, access
parser tokens use later, name
kind of string).
this left-recursive, have no idea how fix this.