<p>I'm looking to create an Intellij IDEA language support plugin for Erlang.</p>

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

<p>Does anyone know where can I get the EBNF or BNF for Erlang?</p>

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