Is it possible to write an Antlr code generation target for Erlang?
It depends what you mean. If you mean you want to generate parser & lexer source files in Erlang, then no, this is not possible (at least, not out of the box*). Checkout the current list of targets for ANTLR: http://www.antlr.org/wiki/display/ANTLR3/Code+Generation+Targets
* You could be the one implementing it, of course. But that's no trivial task!
Erlang comes with its own parse tools. They use their own syntax though, so you cant take a grammar file from antlr.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With