[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tree-sitter introduction documentation

From: Richard Stallman
Subject: Re: Tree-sitter introduction documentation
Date: Mon, 02 Jan 2023 23:06:13 -0500

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > 
  > >   > (setq treesit-language-source-alist
  > >   >       '((python 
  > >   >         (typescript 
  > >   >                     "typescript/src" "typescript")))
  > > 

  > The above was an example of user customizations.  There's no such text
  > anywhere in Emacs, nor there will be.  Emacs will be distributed with
  > that variable having the nil value, and users will have to download
  > and install the grammar libraries by themselves.

That is reassuring.  It avoids the specific problem I raised concern

I could not tell that that code was meant only as a possible user
customization; I thought it was a proposed patch.

                                                      The major modes we
  > distribute all use grammars whose licenses are free, and as long as we
  > take care to verify this aspect, there should be no problem here from
  > this aspect.

I agree.

  > There's a command to download and install a grammar library, but it
  > leaves it to the user to specify from where to download the library
  > the user wants.

Could you please tell me more?  Or tell me how to find that source code?

I think there is a significant difference between referring users to a
released tarball of some free program, and referring users to a
development repo of that same program.

In a purely technical sense, any bad thing that is possible with a
repo is possible with a release tarball.  However, if we consider the
social practices of using the two, I think referring users to the repo
lacks proper caution -- we shouldn't recommend it to users in general.

Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]