tree-sitter / py-tree-sitter

Python bindings to the Tree-sitter parsing library
https://tree-sitter.github.io/py-tree-sitter/
MIT License
817 stars 96 forks source link

Replacement of `build_library` #240

Closed balatic closed 4 months ago

balatic commented 4 months ago

@ObserverOfTime First of all, amazing work. When upgrading from 0.21.3 to 0.22.2, it seems like a lot has changed in the way we build grammar files, and in the way we access the parser. What replaced Language.build_library? And what's the source of the so called ready to use pip packages like tree_sitter_python? Do these pip packages have any open source repo? Or are they being published privately? How do we load grammar files other than the privately sourced ones produced by amaanq?