[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Font-lock is limited to text matching" is a myth
From: |
Stefan Monnier |
Subject: |
Re: "Font-lock is limited to text matching" is a myth |
Date: |
Tue, 23 Nov 2010 09:43:50 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> Slightly off-topic, but I'm a huge fan of "LPeg" [1], which is a
> pattern-matching library for Lua, based on Parsing Expression Grammars
> (PEGs).
FWIW, the "parsing machine" used by LPEG (at least the one described in
their SP&E article) is very similar to the one used in src/regex.c.
So if someone is up to it, it shouldn't be too difficult to extend
Emacs's regexes to something like LPEG.
Stefan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: "Font-lock is limited to text matching" is a myth,
Stefan Monnier <=