[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New package emacs-parser-generator

From: Christian Johansson
Subject: New package emacs-parser-generator
Date: Sat, 27 Nov 2021 22:40:45 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.2.1


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]