[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cc-mode fontification feels random
From: |
Stefan Monnier |
Subject: |
Re: cc-mode fontification feels random |
Date: |
Fri, 11 Jun 2021 16:52:37 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> Another problem with stock tree-sitter is that it makes Emacs less
> self-hosting. Tree-sitter grammars are written in JavaScript.
Yes, there are some technical disadvantages to tree-sitter, indeed.
None of them make it unusable, but they do make it less convenient for
ELisp hackers and Emacs users. So it's not a perfect solution, but
I don't think that should mean we don't want it in our toolbox.
Stefan
PS: I think we can expect 99% of Emacs users have a Javascript engine
already installed (in the form of a web browser), and with native
compilation Emacs now comes with a runtime dependency on (a substantial
chunk of) GCC, so the extra dependencies introduced by tree-sitter seem
quite workable for the Emacs end-user. The ELisp hackers working on the
major mode who want to tweak the grammar will suffer more, tho.
- Re: cc-mode fontification feels random, (continued)
- Re: cc-mode fontification feels random, Ergus, 2021/06/10
- Re: cc-mode fontification feels random, Óscar Fuentes, 2021/06/10
- Re: cc-mode fontification feels random, Ergus, 2021/06/10
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/10
- Re: cc-mode fontification feels random, Ergus, 2021/06/10
- Re: cc-mode fontification feels random, Jim Porter, 2021/06/10
- Re: cc-mode fontification feels random, Stefan Monnier, 2021/06/10
- Re: cc-mode fontification feels random, Ergus, 2021/06/11
- Re: cc-mode fontification feels random, Stefan Monnier, 2021/06/11
- Re: cc-mode fontification feels random, Daniel Colascione, 2021/06/11
- Re: cc-mode fontification feels random,
Stefan Monnier <=
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/12
- Re: cc-mode fontification feels random, Daniel Colascione, 2021/06/12
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/12
- Re: cc-mode fontification feels random, Stefan Monnier, 2021/06/12
- Re: cc-mode fontification feels random, Daniele Nicolodi, 2021/06/12
- Re: cc-mode fontification feels random, tomas, 2021/06/12
- Re: cc-mode fontification feels random, Stefan Monnier, 2021/06/12
- Re: cc-mode fontification feels random, Daniel Colascione, 2021/06/09
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/09
- Re: cc-mode fontification feels random, Alan Mackenzie, 2021/06/09