Ross Patterson

Results 33 comments of Ross Patterson

Adding a new attribute could, of course, be a breaking change for some existing grammars. Seaching Google for ["$lexer" and "antlr"](https://www.google.com/search?q="%24lexer"+"antlr") finds only hits for using a generated lexer in...

The [XPath spec](https://www.w3.org/TR/1999/REC-xpath-19991116) does not define `!` as an XPath operator. The valid XPath operators are `|` (set union), `/` and `//` (path composition), `=`, `!=`, `` (comparison), `+`, `-`,...

No, they're both legal, but they have different results. Let me put it more succinctly: - `a_function() || "a string"` is exactly equal to the value of `a_function()` concatenated to...

Mike Cowlishaw, who created Rexx, describes concatenation this way in _The Rexx Language_ (2nd. ed.): > The concatenation operators are used to combine two strings to form one string by...

Fixed by [fbe2034](https://github.com/antlr/grammars-v4/pull/2746/commits/fbe203443b12dd7a2a6da3446ff559cbb17aabe8).

Cleaned up by 37d69f57ee646bdc0672f46f0ec3e8660727ef1f at @KvanTTT's request. All done, closing.

The `transformGrammar.py` thing is a great idea, but I don't think I'll need it. I've got a working change to the lexer that eliminates the only predicate it has, which...

Apparently there are linend issues in the test-case-verification stuff. I'll sort that out and push an update, probably tomorrow.