Comments (2)
bindings use this convention, grammars use the other
from node-tree-sitter.
language bindings are called language-tree-sitter and the parser for that language is called tree-sitter-language.
tree-sitter is a C library. If I want to write a program that uses tree-sitter but I don't want to write that program in C, how do I use a C library from Python or Node or whatever? The answer is you need language bindings for the C library into your programming language of choice. The difference between py-tree-sitter and tree-sitter-python is that tree-sitter-python is for parsing Python programs, whereas py-tree-sitter are Python bindings for tree-sitter, it is used for parsing programs in any programming language from Python.
from node-tree-sitter.
Related Issues (20)
- .
- Silently fails while importing on VSCode extension debugger HOT 8
- Node module version mismatch when integrating tree-sitter with VS Code extension HOT 4
- Implicit use of wrong grammar when multiple grammar directories are present HOT 2
- electron version 19.0.17 HOT 3
- Special characters in rule names cause Uncaught SyntaxError HOT 2
- Electron error HOT 1
- BFS not working, some internal problem with cursor HOT 1
- Consider making Query matches/captures iterators
- Support for all query predicates supported by "official" tree sitter queries
- Tree.rootNode undefined in jest tests due to race condition HOT 2
- .
- The module 'l\node_modules\tree-sitter\build\Release\tree_sitter_runtime_binding.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 115. This version of Node.js requires NODE_MODULE_VERSION 118. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`) HOT 3
- Can't use in VS Code extension HOT 4
- Invalid language object with tree-sitter v0.21 - caused by NAPI? HOT 4
- node siter fails when included in a react based project and webpack >5 HOT 3
- intermittent `TypeError: NodeClass is not a constructor` when getting tree nodes HOT 7
- Nonexistent property `QueryCapture.text` in typings
- Bug: `Parser.parse(string)` fails if the string length is `>=` than the buffer size HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-tree-sitter.