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?
Parse2 generates source java for the parser from ABNF.
I remarked that Parse2 (see Ralph's answer) has some limitations:
;
S --> NT1 NT2 T1 ; NT1 --> S | T2 ; ...
Parse2. , Parse2 ABNF, , , , ABNF .
ABNF , . ABNF, , , .
PS: Parse2 , (java- ) .