I already have a parser for Some language like Oracle with parse tree. My need to convert it from parse tree to AST (abstract syntax tree). But after spending a few hours reviewing the examples at some sites, I stil can't get a clear understanding of the grammar to Java process.
Is there some simple example, something like implemented with ANTLR going through the parser definition with AST result and all the way to the Java source code?
note: I learned antlr from https://theendian.com/blog/antlr-4-lexer-parser-and-listener-with-example-grammar/