Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekStride committed Mar 12, 2021
1 parent d6b3d08 commit d4fdd6f
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,31 @@
# tree-sitter-sql
# tree-sitter-sql

[![Build/test]()]()

SQL grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter).

## Features

- [x] SELECT statements (some features may be incomplete)
- [x] Index hints
- [x] Comments
- [x] Marginalia
- [ ] UPDATE statements
- [ ] DELETE statements
- [ ] CREATE statements
- [ ] DROP statements
- [ ] ALTER TABLE statements
- [ ] CREATE INDEX statements
- [ ] DROP INDEX statements
- [ ] ALTER INDEX statements
- [ ] EXPLAIN statements
- [ ] Functions (some are implemented)

For a complete list of features see the the [tests](test/corpus)

## References

* [The ESTree Spec](https://en.wikipedia.org/wiki/SQL_syntax#Operators) - I consulted wikipedia for naming conventions,
though I may not have been strict early on in the prototyping.
* [Phoenix Language Reference](https://forcedotcom.github.io/phoenix/index.html) - Note I'm using this as a reference
but implementing the Grammar in terms of the MySQL dialect of SQL.

0 comments on commit d4fdd6f

Please sign in to comment.