[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...
Ted
- Re: "Font-lock is limited to text matching" is a myth, (continued)
- Re: "Font-lock is limited to text matching" is a myth, Stefan Monnier, 2009/08/11
- Re: "Font-lock is limited to text matching" is a myth, Edward O'Connor, 2009/08/11
- Re: "Font-lock is limited to text matching" is a myth, Steve Yegge, 2009/08/11
- Re: "Font-lock is limited to text matching" is a myth, Chong Yidong, 2009/08/12
- Re: "Font-lock is limited to text matching" is a myth, Lennart Borgman, 2009/08/12
- Re: "Font-lock is limited to text matching" is a myth, Steve Yegge, 2009/08/12
- Re: "Font-lock is limited to text matching" is a myth, Stefan Monnier, 2009/08/13
- Re: "Font-lock is limited to text matching" is a myth, Eric M. Ludlam, 2009/08/11
- Re: "Font-lock is limited to text matching" is a myth, Miles Bader, 2009/08/12
- Re: "Font-lock is limited to text matching" is a myth, Xah Lee, 2009/08/12
- asynchronous parsing (was: "Font-lock is limited to text matching" is a myth),
Ted Zlatanov <=
- Re: asynchronous parsing, joakim, 2009/08/12
- Re: asynchronous parsing, Ted Zlatanov, 2009/08/12
- Re: asynchronous parsing, joakim, 2009/08/12
- Re: asynchronous parsing, Stefan Monnier, 2009/08/12
- Re: asynchronous parsing, Ted Zlatanov, 2009/08/13
- Re: "Font-lock is limited to text matching" is a myth, Lennart Borgman, 2009/08/11
- Re: "Font-lock is limited to text matching" is a myth, Stefan Monnier, 2009/08/10
- Re: "Font-lock is limited to text matching" is a myth, Lennart Borgman, 2009/08/10
- Re: "Font-lock is limited to text matching" is a myth, Stefan Monnier, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Stefan Monnier, 2009/08/10