[Top][All Lists]

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

asynchronous parsing (was: "Font-lock is limited to text matching" is a

From: Ted Zlatanov
Subject: asynchronous parsing (was: "Font-lock is limited to text matching" is a myth)
Date: Wed, 12 Aug 2009 10:21:34 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux)

On Tue, 11 Aug 2009 12:04:20 -0400 Stefan Monnier <address@hidden> wrote: 

>> I. Asynchronous parsing
SM> BTW, I'm interested in adding core-Emacs support for such parsing, so if
SM> you have any ideas about it, please share them.  The way I see it, there
SM> should be a table-based parsing engine written in C running in
SM> a spearate thread, so the question are "what should the tables look
SM> like?", "what should the output look like?", "what should the engine
SM> look like?", "how should the asynchronous code synchronize with the rest
SM> of Emacs?".  Any help along this effort would be welcome.

Maybe it would make sense to make this engine the first implementation
of an asynchronous process in Emacs.  We know we need general-purpose
asynchronous processes, it's been discussed many times.  Doing it with a
parser, a read-only process with internal state, would be a good start.
The difference from your suggestion is that rather than implementing a
one-off, the goal becomes the first cut of a general facility.

I bring this up because the need for asynchronous processes keeps coming
up in Gnus discussions...


reply via email to

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