unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* New package emacs-parser-generator
@ 2021-11-27 21:40 Christian Johansson
  2021-11-28  7:01 ` Eli Zaretskii
  0 siblings, 1 reply; 16+ messages in thread
From: Christian Johansson @ 2021-11-27 21:40 UTC (permalink / raw)
  To: Emacs developers

Hi!

I have started on a parser generator library for Emacs that currently 
can generate canonical LR(k) parsers as stand-alone elisp files. I'm 
using it for the automatically generated PHP 8.0 parser in phps-mode. A 
difference between my library and the built-in Wisent parser generator 
is that it can handle e-identifiers (like %empty), context sensitive 
precedence (like %prec) and global precedence rules (not sure if Wisent 
does support that)

In the future I have planned on implementing more parsing algorithms in 
this library like LL(k) and LALR(k)

It is located at https://github.com/cjohansson/emacs-parser-generator  
(GitHub is currently down it seems but when it gets up again it should 
be at that location)


-- 
Hälsningar / Best Regards
Christian




^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-12-01 19:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-27 21:40 New package emacs-parser-generator Christian Johansson
2021-11-28  7:01 ` Eli Zaretskii
2021-11-28  7:22   ` Christian Johansson
2021-11-28 13:24     ` Stefan Monnier
2021-11-28 13:45       ` Christian Johansson
2021-11-28 23:46         ` Daniel Martín
2021-11-29 12:30           ` Eli Zaretskii
2021-11-29 13:09             ` Christian Johansson
2021-11-29 19:22               ` Yuan Fu
2021-12-01  7:52                 ` Christian Johansson
2021-12-01  8:39                   ` Yuan Fu
2021-12-01  8:51                     ` Christian Johansson
2021-12-01 13:45                       ` Stefan Monnier
2021-12-01 14:10                         ` Christian Johansson
2021-12-01 19:25                       ` Yuan Fu
2021-12-01 19:44                         ` Christian Johansson

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).