Hi there!
I've been trying to get this to work for some time now, but I cannot for the life of me get it to work. I'm using an M1 mac, so that might be an issue, but I don't think so.
(tree-sitter-available-p) returns t, and i've tried to move the dylibs around in different folders to get emacs to pick up on them. I've been following your RFC page and also the manuals, but no dice.
Non working recipe:
- Compile
casouri/emacs on ts branch, reports that it finds tree-sitter >= 0.0
- Run
batch-new.sh and move the files in dists to /usr/local/bin (among others)
- Launch emacs from
src/emacs
(require 'tree-sitter)
- Open some C file
M-x ts-c-mode
All syntax highlighting dissapears, and tree-sitter-inspect-mode shows nil. I assume this is because it cannot find the dylibs, but I'm stumped atm. Could you kindly give me some pointers as to what I'm missing? I'm sorry for the probably very stupid mistake I've made :)

Hi there!
I've been trying to get this to work for some time now, but I cannot for the life of me get it to work. I'm using an M1 mac, so that might be an issue, but I don't think so.
(tree-sitter-available-p)returnst, and i've tried to move the dylibs around in different folders to get emacs to pick up on them. I've been following your RFC page and also the manuals, but no dice.Non working recipe:
casouri/emacson ts branch, reports that it finds tree-sitter >= 0.0batch-new.shand move the files indiststo/usr/local/bin(among others)src/emacs(require 'tree-sitter)M-x ts-c-modeAll syntax highlighting dissapears, and
tree-sitter-inspect-modeshows nil. I assume this is because it cannot find the dylibs, but I'm stumped atm. Could you kindly give me some pointers as to what I'm missing? I'm sorry for the probably very stupid mistake I've made :)