ANTLR4 provides an ANTLR4 to Raku Grammar converter.
The grammar, AST and Raku bindings are provided as separate modules, so you can view both the raw abstract syntax tree and the final Raku converted output.
- Using panda (a module management tool bundled with Rakudo Star):
zef install ANTLR4-Grammar
To run tests:
prove -e perl6
Jeffrey Goff, DrForr on #raku, https://github.com/drforr/
Artistic License 2.0