mezoni

Results 17 comments of mezoni

Specifying the default version should help ``` gvm use go1.7.4 --default ```

You (and, of course, mostly an authors of this software) should learn how works the sqlite and how to properly use sqlite. Your problem not in your code, the problem...

If you do not want to generate it, then here is a temporary link to a ready-made parser. https://gist.github.com/mezoni/480e584ea39ac1652b62a6d8863399bf I am ready to answer any questions you may have.

No. Only simple cases. When a possible error is taken into account in the grammar and a special parsing rule is created for this. Not the most convenient way. This...

`users may provide badly formatted queries` Can you provide examples?

Your case is very simple and not simple at the same time. A malformed string can only be recovered only at the position of an invalid character (such as a...

But I changed the grammar and it doesn't throw errors in simple cases. ```dart test('missign )', () { expect(debugQuery('('), '()'); expect(debugQuery('(a b'), '(( ))'); expect(debugQuery('-(-(a OR -b) -c) | -(d'),...

Passed ```dart group('Base expressions', () { test('missing `) or `"`', () { expect(debugQuery('(field: "x'), '(field:"")'); expect(debugQuery('("x'), '("")'); expect(debugQuery('('), '()'); expect(debugQuery('(a b'), '(( ))'); expect(debugQuery('-(-(a OR -b) -c) | -(d'), '(-((-((...

Error Handling in PEG Parsers Local Error Recovery for PetitParser http://scg.unibe.ch/archive/masters/Ruef16a.pdf