m-novikov / tree-sitter-sql

SQL syntax highlighting for tree-sitter
MIT License
112 stars 33 forks source link

Please include src/parser.c file in the repository #72

Open Eli-Zaretskii opened 1 year ago

Eli-Zaretskii commented 1 year ago

Commit 98d9b300c0, with the log message Merge branch 'improve-from-clause', removed the file src/parser.c from the repository. This causes the command treesit-install-language-grammar available in Emacs 29 and later to fail to produce and install the tree-sitter grammar library for SQL. See the Emacs bug report for more details.

Emacs 29 provides this command for those Emacs users who are not proficient in building libraries and don't necessarily have the development tools, such as those required to generate the parser.c file, available. All the other tree-sitter grammar libraries supported by Emacs do provide the parser's C or C++ source file in the repository. Requiring those users to install the necessary tools could in practice mean some of them will be unable to produce the grammar library when they need it.

Would it be possible for you to include src/parser.c file in the repository, as it was there before the above commit?

Thanks in advance.