[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tree-sitter integration in python.el
From: |
Eli Zaretskii |
Subject: |
Re: Tree-sitter integration in python.el |
Date: |
Mon, 03 Oct 2022 21:38:27 +0300 |
> From: Matthias Meulien <orontee@gmail.com>
> Cc: emacs-devel <emacs-devel@gnu.org>
> Date: Mon, 03 Oct 2022 20:07:44 +0200
>
> I also cloned tree-sitter-python but I've no idea of what should be done
> with the grammar file. I've understood that I am suppposed to convert
> the grammar to a shared object but I don't know how...
>
> (I've tree-sitter-cli installed and in path, but "tree-sitter generate
> tree-sitter-python/grammar.js" seems to generate rust and node bindings;
> Am I supposed to compile the src/parser.c file? I don't see any
> Makefile...).
Some of these lack the Makefile. But the Makefile is standard and can
be taken from any other language module, for example I see on in
tree-sitter-ruby. So just clone that as well, copy its Makefile into
tree-sitter-python, and run "make".
- Re: Tree-sitter integration in python.el, Matthias Meulien, 2022/10/03
- Re: Tree-sitter integration in python.el,
Eli Zaretskii <=
- Re: Tree-sitter integration in python.el, Matthias Meulien, 2022/10/03
- Re: Tree-sitter integration in python.el, Yuan Fu, 2022/10/03
- Re: Tree-sitter integration in python.el, Matthias Meulien, 2022/10/03
- Re: Tree-sitter integration in python.el, Yuan Fu, 2022/10/05
- Re: Tree-sitter integration in python.el, Matthias Meulien, 2022/10/06
- Re: Tree-sitter integration in python.el, Yuan Fu, 2022/10/06
- Re: Tree-sitter integration in python.el, Matthias Meulien, 2022/10/06
- Re: Tree-sitter integration in python.el, Yuan Fu, 2022/10/07
- Re: Tree-sitter integration in python.el, Augusto Stoffel, 2022/10/07
- Re: Tree-sitter integration in python.el, chad, 2022/10/07