A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg00419.html below:

Re: Make peg.el a built-in library?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] From: Ihor Radchenko Subject: Re: Make peg.el a built-in library? Date: Tue, 08 Nov 2022 08:51:05 +0000
Helmut Eller <eller.helmut@gmail.com> writes:

> Isn't Tree-sitter a better alternative to peg.el?  I've never used
> Tree-sitter, but from the few things I read about it, it seems to be
> more "declarative", more efficient, and actually supported in core.

Tree-sitter is a massive overkill when you need to parse something just
slightly more complex than can be done via regexps.

Tree-sitter requires a whole separate .so file with compiled parser +
buffer setup.

Bovine is a bit easier to use (you can, at least, define grammar in
Elisp), but you also need to setup parser in a separate buffer with
existing documentation being even more limited compared to peg.el.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4