statebox / cql

CQL: Categorical Query Language implementation in Haskell
GNU Affero General Public License v3.0
162 stars 14 forks source link

Parsing #47

Closed wisnesky closed 5 years ago

wisnesky commented 5 years ago

I tried my best to reuse code but ultimately ended up replacing much of the "plentifully typed" abstract syntax with raw, string-based syntax, probably because that's what I'm used to. I can build the rest of the parsers. However, the current parsers could use enhancement - they fail on special cases (like empty space at the front of an AQL program), comments, better error reporting, etc. I also disabled quick check for expediency, relying instead on trying examples.