These are chat archives for antlr/antlrcs

23rd
Jun 2017
Jericho
@Jericho
Jun 23 2017 12:59
@sharwell yes that's it. Replacing the closing square bracket with another delimiter gets rid of the exception. Should I opene an issue on github to report this problem?
Sam Harwell
@sharwell
Jun 23 2017 13:41
Sure, but just so you know I don't think it's likely for this one to change
Just a better doc and/or message
Jericho
@Jericho
Jun 23 2017 13:42
why is it not likely to change?
It would be unfortunate because I don't control the template syntax so I have to find a solution that accepts square brackets
Sam Harwell
@sharwell
Jun 23 2017 13:44
Two reasons:
  1. It's not unknown that there are some characters that can't currently be used as one delimiter or the other (even though the documentation and handling for this case is admittedly terrible)
  2. This library is mostly in maintenance mode (critical bug fixes only), where I have limited to work on it and if I break something then many people could feel the pain of breaking
Over the years there are enough things I would like to see improved that a v5 is not out of the question
Jericho
@Jericho
Jun 23 2017 13:46
I see.
Sam Harwell
@sharwell
Jun 23 2017 13:46
A big one is making it so parts like the template lexer could be replaced without rebuilding the library.
Jericho
@Jericho
Jun 23 2017 13:49
I'll poke around stringtemplate source and see if I can figure out the issue. Maybe submit a PR (which you can choose to ignore if you feel it may break something else)