unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "T.V Raman" <raman@google.com>
Cc: casouri@gmail.com, emacs-devel@gnu.org
Subject: Re: tree-sitter and language support
Date: Fri, 25 Nov 2022 21:48:24 +0200	[thread overview]
Message-ID: <83y1ryu86v.fsf@gnu.org> (raw)
In-Reply-To: <p91sfi6udce.fsf@google.com> (raman@google.com)

> From: "T.V Raman" <raman@google.com>
> Cc: emacs-devel@gnu.org
> Date: Fri, 25 Nov 2022 09:57:05 -0800
> 
> Incidentally, if one installs tree-sitter-lang from melpa, it
> automatically builds the modules; but it then requires tree-sitter from
> Feb 2022 which is older than what is in the emacs tree.

We need a version that supports custom memory-allocation function, because
Emacs needs to control how memory is allocated, and what happens when
tree-sitter runs out of memory.

> We could ease a lot of pain if we brought the language modules into the
> emacs tree?

That's impractical, and probably won't happen, at least in the near future.
Those modules are developed by their own teams, unrelated to Emacs.



  reply	other threads:[~2022-11-25 19:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-25  5:20 tree-sitter and language support T.V Raman
2022-11-25  6:51 ` Yuan Fu
2022-11-25 10:41   ` Roman Rudakov
2022-11-25 12:05     ` Eli Zaretskii
2022-11-25 17:57   ` T.V Raman
2022-11-25 19:48     ` Eli Zaretskii [this message]
2022-11-25 12:28 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83y1ryu86v.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=casouri@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=raman@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).