Original implementation of ABNF Parser for Java?

I need an advanced Backus-Naur form analyzer (RFC 5234) in Java to test some languages.

In the interest of not reinventing the wheel, I would rather use the existing ABNF Parser source code implementation if it already exists.

I need open source because it allows me to maintain code as needed.

Does anyone know what exists?

+5
source share
2 answers

Parse2 generates source java for the parser from ABNF.

+2
source

I remarked that Parse2 (see Ralph's answer) has some limitations:

  • aparse , .
  • ;
  • aparse "" ABNF, RFC 5234, RFC, .
  • aparse (, S --> NT1 NT2 T1 ; NT1 --> S | T2 ; ...) .

Parse2. , Parse2 ABNF, , , , ABNF .

ABNF , . ABNF, , , .

PS: Parse2 , (java- ) .

+2

All Articles