rrevenantt / antlr4rust

ANTLR4 parser generator runtime for Rust programming laguage
Other
404 stars 70 forks source link

Anybody have a visitor pattern example? #11

Open mrunix opened 4 years ago

mrunix commented 4 years ago

Thank you very much!

fruffy commented 3 years ago

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?

newca12 commented 3 years ago

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

yunusemredilber commented 11 months ago

https://github.com/yunusemredilber/antlr_rust_language