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