Jake Wheat
4bca2fa2ec
work on lexing
...
add utility function to tell if two tokens will pretty print then lex
back to the same two tokens or not
add notes for some final missing lexing bits that are in hssqlppp
add token combo tests for postgres
add start of sql server, oracle and odbc lexing tests
2016-02-15 20:20:24 +02:00
Jake Wheat
47198c78c1
add tests for + - followed by comment edge cases
2016-02-13 20:38:49 +02:00
Jake Wheat
fc2119be02
refactor postgresql operator parsing
2016-02-13 20:34:50 +02:00
Jake Wheat
c24008444c
work on postgres operator parsing
2016-02-13 20:28:12 +02:00
Jake Wheat
5084c0c3ab
add lexing for \' only in e' strings and dollar strings in pg dialect
2016-02-13 17:07:27 +02:00
Jake Wheat
b41803427d
work on postgresql lexing
...
add positional arg
add e' quoted strings
add \' escaping in strings (not finished)
add ::, :=, : symbols
2016-02-13 16:31:20 +02:00
Jake Wheat
a59f19aae9
don't unescape quotes in string literals and identifiers
2016-02-13 15:54:40 +02:00
Jake Wheat
f17053c7d9
add notes to lex.lhs
2016-02-13 11:40:49 +02:00
Jake Wheat
aa5c2e89c7
refactor the identifier syntax
2016-02-12 14:13:47 +02:00
Jake Wheat
52f035b718
new syntax for names and string literals
2016-02-12 13:09:58 +02:00
Jake Wheat
1b4eefc431
refactor dialect into a non enum and separate to own file
2016-02-12 12:51:06 +02:00
Jake Wheat
2b73907119
rename modules lexer->lex, parser->parse
2016-02-12 12:22:19 +02:00