antlr4rust icon indicating copy to clipboard operation
antlr4rust copied to clipboard

Anybody have a visitor pattern example?

Open mrunix opened this issue 4 years ago • 3 comments

Thank you very much!

mrunix avatar Sep 11 '20 13:09 mrunix

Yes. I tried this tool out with the openCypher ANTLR grammar and it works nicely out of the box. Thanks a lot for this, a very useful tool. However, the visitor API is somewhat unclear. There is one small example in the tests directory, but it is difficult to understand how the visitor can be used. Where is the core API defined?

fruffy avatar Feb 11 '21 19:02 fruffy

https://github.com/newca12/playground-rs/tree/main/antlr-calc

newca12 avatar Jul 16 '21 17:07 newca12

https://github.com/yunusemredilber/antlr_rust_language

yunusemredilber avatar Oct 01 '23 15:10 yunusemredilber