Question

I'm looking to create an Intellij IDEA language support plugin for Erlang.

The first and biggest problem I've had is in making the JFlex Erlang syntax definition.

Does anyone know where can I get the EBNF or BNF for Erlang?

Was it helpful?

Solution

Why not go straight to the source? The Erlang 4.7 specification lists productions in a grammar.

OTHER TIPS

Have a look at lib/compiler/src/core_parse.yrl in the otp source distribution.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top