[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: treesit: how to get it to parse multiple languages
From: |
Yuan Fu |
Subject: |
Re: treesit: how to get it to parse multiple languages |
Date: |
Mon, 18 Nov 2024 23:01:28 -0800 |
> On Nov 11, 2024, at 11:28 AM, Juri Linkov <juri@linkov.net> wrote:
>
>>> a major mode out
>>> there that already implements multiple-language functionalities using
>>> treesitter.
>>>
>>> …
>>>
>>> Do you all know if such a mode exists?
>>
>> In Emacs 30, php-ts-mode?
>>
>> https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/progmodes/php-ts-mode.el
>
> It would be nice if html-ts-mode supported embedded css-ts-mode and js-ts-mode
> the same way.
Yeah, it can be a good poster child for writing multi-lang modes. My time is
very limited now, so anybody sees this, feel free to give it a try. And maybe
document the code extensively too ;-)
Yuan
- treesit: how to get it to parse multiple languages, Andrew De Angelis, 2024/11/03
- Re: treesit: how to get it to parse multiple languages, Eli Zaretskii, 2024/11/04
- Re: treesit: how to get it to parse multiple languages, Yuan Fu, 2024/11/05
- Re: treesit: how to get it to parse multiple languages, Andrew De Angelis, 2024/11/10
- Re: treesit: how to get it to parse multiple languages, Peter Oliver, 2024/11/10
- Re: treesit: how to get it to parse multiple languages, Juri Linkov, 2024/11/11
- Re: treesit: how to get it to parse multiple languages,
Yuan Fu <=
- Re: treesit: how to get it to parse multiple languages, Vincenzo Pupillo, 2024/11/19
- Re: treesit: how to get it to parse multiple languages, Yuan Fu, 2024/11/24
- Re: treesit: how to get it to parse multiple languages, Vincenzo Pupillo, 2024/11/24
- Re: treesit: how to get it to parse multiple languages, Juri Linkov, 2024/11/29
- Re: treesit: how to get it to parse multiple languages, Yuan Fu, 2024/11/29
- Re: treesit: how to get it to parse multiple languages, Vincenzo Pupillo, 2024/11/29
- Re: treesit: how to get it to parse multiple languages, Yuan Fu, 2024/11/19