Hi all!
I am trying to use ANTLR for parsing PLSQL code using Mr. Porcelli's parser:
https://github.com/porcelli/plsql-parser. This is my first experience with ANTLR, but I already made some smaller parsers using Lex+Bison.
So I made some super easy expression evaluator to get into ANTLR and then I tried to generate PLSQL grammar. Generating a lexer grammar ("lexer grammar PLSQLLexer;") was successful, but generation of a parser grammar ("parser grammar PLSQLParser;") never ended. It almost looks like a deadlock or never ending cycle in ANTLR. No relevant output is written before generation gets stuck. At least nothing that would help me to understand what went wrong.
I tried both ANTLRv3.3 (for this version of ANTLR the parser was made) and the latest 3.5.1. I even tried both java6 and java7, but without any change.
Can somebody give me a hint, where could be a problem?
Thank you very much for all advices!
Martin Jiricka