Jonathan Revusky

Results 53 comments of Jonathan Revusky

Actually, I wrote my last response before really exploring it that much. I have to admit that I hadn't followed your full instructions of pasting the converted grammar into the...

> From Java 16's [JEP395](https://openjdk.org/jeps/395): > > > The ability to declare local record classes, local enum classes, and local interfaces was introduced If you (or anybody else) want a...

> In the long run I believe it should/must be possible to find a parser that supports at least the latest LTS language features. [CongoCC](https://github.com/congo-cc/congo-parser-generator) is a parser generator that...

Well, obviously, it would be great to have some tooling. I am well aware of the two plugins you link above, the one for eclipse and the one for IntelliJ....

Oh, I think I forgot to tell you that I created a repository for experimenting with this kind of thing: https://github.com/congo-cc/IDE-Plugin I can give you commit rights if you want....

> And even matching by token subclass would be nice for some use cases (like preprocessing, for instance), both in lexing and parsing. I.e., == ( | ... | )....

> > And if you have any questions, by all means. > > Given the existing signature of the `visit` method of `Node.Visitor` (having a `void` return type), how do...

Well, it's not really needed. The origin of this is that, for some reason (probably a momentary lack of mental clarity) I had a separate method in the Node interface...

FYI, I just removed (actually commented out for now, but probably will totally remove soon) all the deprecated methods in Node.java.ftl. (Including the one you brought up.) But that is...

> I certainly agree the cases they were used for in Java were contrived and didn't contribute to making the code better or clearer. Well, the main problem I see...