[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tree-sitter integration in python.el
From: |
Yuan Fu |
Subject: |
Re: Tree-sitter integration in python.el |
Date: |
Mon, 3 Oct 2022 15:25:29 -0700 |
> On Oct 3, 2022, at 11:07 AM, Matthias Meulien <orontee@gmail.com> wrote:
>
>
> 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...).
> --
> Matthias
Eli has pointed out how to compile the language definition. Alternatively, you
can use my script here to download and compile them:
https://github.com/casouri/tree-sitter-module
Yuan
- Re: Tree-sitter integration in python.el, (continued)
- Re: Tree-sitter integration in python.el, Yuan Fu, 2022/10/08
- Re: Tree-sitter integration in python.el, Augusto Stoffel, 2022/10/10
- Re: Tree-sitter integration in python.el, Yuan Fu, 2022/10/10
- Re: Tree-sitter integration in python.el, Augusto Stoffel, 2022/10/10
- Re: Tree-sitter integration in python.el, Yuan Fu, 2022/10/12
- Re: Tree-sitter integration in python.el, Stefan Monnier, 2022/10/11
- Re: Tree-sitter integration in python.el, Eli Zaretskii, 2022/10/04
- Re: Tree-sitter integration in python.el, Matthias Meulien, 2022/10/04
- Re: Tree-sitter integration in python.el, Eli Zaretskii, 2022/10/04
- Re: Tree-sitter integration in python.el, Matthias Meulien, 2022/10/04
Re: Tree-sitter integration in python.el,
Yuan Fu <=
Re: Tree-sitter integration in python.el, address@hidden, 2022/10/03
Re: Tree-sitter integration in python.el, Matthias Meulien, 2022/10/03