Comments (9)
Thanks for the status update.
Initially I didn't know how to build it and put the result in place, but that turned out to be doable, so I'm all set :)
Wanted to try the query builder and that now seems to work:
from elisp-tree-sitter.
Two ideas for a unique namespace:
Short, practical -> "ets" for "emacs-tree-sitter"
Evocative -> "canopy" as in "where tree-sitters live"
from elisp-tree-sitter.
Thanks for the kind words!
ts-parse
is defined by the dynamic module here.
I think I'll rename it to something else, maybe ts-parse-chunks
. It may be better if my package switches to another prefix, but I can't think of a satisfactory one currently.
from elisp-tree-sitter.
Naming things is hard. :) Thanks.
from elisp-tree-sitter.
On a side note, does the tree-sitter-dyn.so
that's mentioned here need to be updated to account for this change?
from elisp-tree-sitter.
On a side note, does the tree-sitter-dyn.so that's mentioned here need to be updated to account for this change?
Yes, but I haven't uploaded the new version yet, since I intend to add a mechanism for the binaries to be versioned and downloaded separately first, so that the package as a whole can be published on MELPA.
Do you need this change soon?
from elisp-tree-sitter.
Wanted to try the query builder
I made most of that feature for several months, any feed back? :D
from elisp-tree-sitter.
Below are some things I noticed about the version I tried at the time of the screenshot (I went back and tried it again just now -- and I haven't updated since that time):
- I thought it was helpful in making it clear what matched.
- I've used it on one of Clojure's larger source files (core.clj 263653 bytes) and it seemed to perform without any difficulty so that's definitely nice.
- The echo area was a bit noisy while the query is being constructed and not complete (Error: (rust-panic "called ...) etc.), but I can understand at this stage that it would be helpful to have that information (at least if you are the one developing the query builder).
Overall I think it is nice for testing out queries as well as for helping to interactively develop one's mental model of how tree-sitter queries work.
Thanks for making it!
from elisp-tree-sitter.
Since 8e17490, the core APIs' prefix has been changed from ts-
to tsc-
.
from elisp-tree-sitter.
Related Issues (20)
- Doesn't highlight Rust documentation code examples
- Swift support, revisited. HOT 1
- wrong ELF class: ELFCLASS64 on RPI4 HOT 1
- `Unsupported Operating System: OpenBSD` HOT 7
- bin/build not work on linux because builtin cd will output the folder name. HOT 1
- tree-sitter languages download of windows binaries failed with error
- tsc-lang-abi-too-new when installing new language HOT 11
- Crash when large file contains an ERROR node
- Invalid version syntax: ‘[email protected] HOT 1
- Colors look wrong in haskell mode. HOT 3
- `tree-sitter-debug-mode` is broken
- Crash when loading one particular Markdown file HOT 7
- Reporting Vulnerability
- (ts-fold-indicators-mode) not working when running emacs from terminal
- How do I add a new grammer to this mode? HOT 2
- why the submodule langs pointed to an old commit?
- tree-sitter-hl-mode doesn't honor the :extend font face in single line comments HOT 1
- request to rebuild tsc-dyn.so with older Linux OS
- Provide `aarch64` build of `tsc-dyn.so` for AArch64 Linux
- Repetitions and Predicate Problems
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 elisp-tree-sitter.