Exit compiler on parser failure
-------------------------------

                 Key: ODE-390
                 URL: https://issues.apache.org/jira/browse/ODE-390
             Project: ODE
          Issue Type: Improvement
          Components: SimPEL
            Reporter: Matthieu Riou


The current parser implementation, mostly thanks to ANTLR, is very good at 
recovering from lexing and parsing errors and continuing the parsing all the 
way down. The goal is to report as many errors upfront. as possible. But at the 
moment the compiler tries to build an OModel even if the parser failed which 
shouldn't be the case as it results in duplicate reports for several errors.

Parsing and compilation should be two distinct phases and the compiler should 
attempt compilation if parsing failed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to