Skip to content

Commit 3c99994

Browse files
committed
readme
1 parent d2edab7 commit 3c99994

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,22 @@
11
# sqlftw
2-
Complete MySQL SQL dialect representation and SQL lexer and parser in PHP
2+
Complete MySQL SQL dialect lexer, parser and representation written in PHP
3+
4+
currently supports almost all SQL features up to MySQL 8.0.15
5+
6+
not yet supported features:
7+
- UNION
8+
- functions with named arguments
9+
- comments
10+
- optimizer hints
11+
- curly bracket literals `{x expr}`
12+
- resolving operator precedence
13+
14+
main layers:
15+
- Lexer - *(ns: Parser\Lexer)* tokenizes SQL, returns array of parser Tokens
16+
- Parser(s) - validates syntax and returns a parsed Command
17+
- Command(s) - *(ns: SQL)* SQL command parsed from plaintext to object representation. can be serialized back to plaintext
18+
- Reflection - Database structure representation independent of actual SQL syntax **(work in progress)**
19+
20+
platforms:
21+
- Platform - features supported by particular SQL implementation
22+
- Formatter - helper for configuring SQL serialisation

0 commit comments

Comments
 (0)