alekfrohlich / albi

Albi is a gro to SBML transpiler. It's goal is to translate a subset of the gro programming language that is semantically meaningful to simulators and synthesis tools cabable of handling the SBML standard.
GNU General Public License v2.0
0 stars 1 forks source link

Add better error recovery to bison grammar #25

Open alekfrohlich opened 5 years ago

alekfrohlich commented 5 years ago

Add synchronization points for error recovering. Also add more contextual description of where errors happened.

alekfrohlich commented 5 years ago

Proper error recover at invalid identifiers has been postponed until after the call project is presented. As is, Albi doesn't properly terminate the parser, it just rejects the Flex input. That's not ideal, but should suffice for now.