[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Incremental parsing with LPEG
- From: steve donovan <steve.j.donovan@...>
- Date: Wed, 1 Jun 2011 14:51:54 +0200
On Wed, Jun 1, 2011 at 2:42 PM, Greg <tghill@hotmail.com> wrote:
> I'm trying to add syntax highlighting to an in-house lua editing suite.
> Currently I parse the entire file after every keystroke which is fine on small
> files but really slows down with larger files.
One solution is to use an editing component that is designed from the
ground up to work with LPeg lexers:
http://code.google.com/p/scintillua/
It's used in Textadept and works really well.
steve d.