[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tree-sitter api
From: |
Po Lu |
Subject: |
Re: Tree-sitter api |
Date: |
Fri, 01 Apr 2022 09:56:21 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
Phil Sainty <psainty@orcon.net.nz> writes:
> Unfortunately "tree" is an extremely generic term and on
> its own doesn't suggest the very specific functionality
> provided by tree-sitter.
>
> "trees" just looks like the plural of "tree" rather than
> "tree"+"s"[itter], and so I would expect that to be for
> manipulating some general-purpose tree data structures
> before I thought of "an incremental parsing library" for
> programming languages.
>
> Conversely the "sit" part of the name, whilst not
> suggestive of being connected with trees of some kind,
> *is* very suggestive of the actual library which is being
> integrated.
>
> I.e. tree-sitter itself may not* be about "sitting"; but
> the Emacs integration is very specifically about a thing
> called "tree-sitter" rather than just about trees.
>
> (*) Or maybe it is. I don't understand that part of the
> name (and I can't find any documentation explaining it)
> -- but it *is* the name.
>
>
> -Phil
"treesit" sounds rather ambiguous and ugly, while "treesitt" is only 3
letters away from "tree-sitter". Instead of bikeshedding over a name,
why not use shorthands to refer to "tree-sitter" in files where the
column number limit is actually important? Isn't that what shorthands
were intended to solve?
Thanks.
- Re: Tree-sitter api, (continued)
- Re: Tree-sitter api, Eli Zaretskii, 2022/03/29
- Re: Tree-sitter api, Yuan Fu, 2022/03/29
- Re: Tree-sitter api, Lars Ingebrigtsen, 2022/03/30
- Re: Tree-sitter api, Daniel MartÃn, 2022/03/30
- RE: [External] : Re: Tree-sitter api, Drew Adams, 2022/03/30
- Re: Tree-sitter api, Richard Stallman, 2022/03/31
- Re: Tree-sitter api, Eli Zaretskii, 2022/03/31
- Re: Tree-sitter api, Lars Ingebrigtsen, 2022/03/31
- Re: Tree-sitter api, John Yates, 2022/03/31
- Re: Tree-sitter api, Phil Sainty, 2022/03/31
- Re: Tree-sitter api,
Po Lu <=
- Re: Tree-sitter api, Stefan Monnier, 2022/03/31
- RE: [External] : Re: Tree-sitter api, Drew Adams, 2022/03/31
- Re: Tree-sitter api, Filipp Gunbin, 2022/03/31
- Re: Tree-sitter api, Yuan Fu, 2022/03/31
- Re: Tree-sitter api, Yuan Fu, 2022/03/31
- Re: Tree-sitter api, Yuan Fu, 2022/03/31