m-novikov / tree-sitter-sql

SQL syntax highlighting for tree-sitter
MIT License
110 stars 32 forks source link

Separate parsers for SQL flavors #42

Open m-novikov opened 2 years ago

m-novikov commented 2 years ago

Currently, the parser accepts any kind of input provided there are some parts of PostgreSQL and MySQL. We probably should use approach from https://github.com/tree-sitter/tree-sitter-typescript and have main grammar file with conditional inclusions of flavored grammars.