While tackling issue #209 (addressed in pr #228), we realized that it would be nice to create a parser for reading in queries from a multi query file. This pr is functional, but if a bracket is missing from a single query, the file pointer will keep reading lines and eventually crash unable to resolve the bad query. Ideally, this parser would catch this error before the crash and return a meaningful error. This will also allow us to verify the integrity of a query file before attempting to run the queries with a CompassApp.
While tackling issue #209 (addressed in pr #228), we realized that it would be nice to create a parser for reading in queries from a multi query file. This pr is functional, but if a bracket is missing from a single query, the file pointer will keep reading lines and eventually crash unable to resolve the bad query. Ideally, this parser would catch this error before the crash and return a meaningful error. This will also allow us to verify the integrity of a query file before attempting to run the queries with a CompassApp.