all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Helmut Eller <eller.helmut@gmail.com>
Cc: dmcc2@hypnicjerk.ai, emacs-devel@gnu.org
Subject: Re: rosie/libpexl library for regex pattern composition
Date: Sun, 28 Jul 2024 10:51:33 +0300	[thread overview]
Message-ID: <864j8a0xa2.fsf@gnu.org> (raw)
In-Reply-To: <8734nudmeh.fsf@gmail.com> (message from Helmut Eller on Sun, 28 Jul 2024 09:08:06 +0200)

> From: Helmut Eller <eller.helmut@gmail.com>
> Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
> Date: Sun, 28 Jul 2024 09:08:06 +0200
> 
> It seems that tree-sitter only needs a single function:
> treesit_read_buffer.  If it works for tree-sitter, then maybe it's also
> good enough for Rosie.

Tree-sitter accesses buffer text one character at a time, for which an
API is very simple, and we already have such an API modules could use:
char-after.  But I very much doubt that libraries like Rosie could do
well with such APIs for its needs.  The alternative is to give modules
direct access to the entire buffer text, which IMO is unthinkable.



  reply	other threads:[~2024-07-28  7:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-27 13:04 rosie/libpexl library for regex pattern composition Danny McClanahan
2024-07-28  7:08 ` Helmut Eller
2024-07-28  7:51   ` Eli Zaretskii [this message]
2024-07-29 13:58     ` Danny McClanahan
2024-07-29 19:33       ` Helmut Eller

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

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

  git send-email \
    --in-reply-to=864j8a0xa2.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=dmcc2@hypnicjerk.ai \
    --cc=eller.helmut@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.