1
Fork 0
Commit graph

23 commits

Author SHA1 Message Date
Jake Wheat fc002dc549 add partial support for parens at the query expression level 2024-10-07 10:49:50 +01:00
prescientmoon 4b0db42396
Merge branch 'default-clause-inside-constraints' into latest 2024-09-02 19:50:11 +02:00
prescientmoon 74578f9cdf
Allow default clauses inside constraints 2024-09-02 19:06:33 +02:00
prescientmoon 424211b49a
Allow not specifying types for column defs 2024-09-02 18:25:37 +02:00
prescientmoon bae817defd
Implement sqlite "without rowid" clauses 2024-07-11 21:59:58 +02:00
Jake Wheat b3bfb5e723 refactor parsing code slightly, small parse error tweaks 2024-02-08 10:49:37 +00:00
Jake Wheat 742382fcc0 restrict parsing of * and X.* as term in expressions 2024-02-08 10:43:11 +00:00
Jake Wheat c11bee4a9c switch tests to hspec, improve error messages 2024-02-04 16:00:59 +00:00
Jake Wheat fe6b71fa2a hlint pass 2024-01-11 15:34:07 +00:00
Jake Wheat 858c7723b0 adjust makeSelect helper to be new type, lib and tests now compile without any warnings 2024-01-11 14:45:20 +00:00
Jake Wheat a3d1ba7e5c attempt to improve some parse errors, change some imports to be explicit 2024-01-11 14:01:04 +00:00
Jake Wheat 2fd285e670 tidying pass: update changelog, get example compiling, pass on haddock, rename MyStream to SQLStream, tweak cabal file 2024-01-10 12:29:21 +00:00
Jake Wheat de121d1fd6 move the megaparsec stream stuff to the lexer, restore the old lex return without source positions, add a new lex function that does return source positions 2024-01-10 11:57:13 +00:00
Jake Wheat e76aa2818b all tests passing, switch to megaparsec provisionally complete 2024-01-10 11:41:38 +00:00
Jake Wheat 0f307f51c7 fix handling of lex errors 2024-01-10 09:44:12 +00:00
Jake Wheat 55a7537108 clean up some warnings, remove parsec dep, fix a temp commented out test 2024-01-10 09:34:17 +00:00
Jake Wheat af8ea544f6 fix the permutation parsers 2024-01-10 09:27:13 +00:00
Jake Wheat 8cc475240b fix the scalar expression operator parsing, use expression operator parsing for set operations too 2024-01-10 09:18:07 +00:00
Jake Wheat 7a5ad6c206 add reader to parse stack for dialect 2024-01-10 08:18:57 +00:00
Jake Wheat ab687318fb checkpoint during parser conversion to megaparsec 2024-01-10 07:40:24 +00:00
Jake Wheat 9396aa8cba switch in megaparsec with stub lexing code 2024-01-09 17:53:12 +00:00
Jake Wheat 4a3455b67c switch from pretty to prettyprinter 2024-01-09 00:14:48 +00:00
Jake Wheat ec8ce0243e switch from literate to regular haskell source 2024-01-09 00:07:47 +00:00