[Top][All Lists]

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

Re: Using incremental parsing in Emacs

From: Eli Zaretskii
Subject: Re: Using incremental parsing in Emacs
Date: Sat, 04 Jan 2020 10:23:50 +0200

> From: arthur miller <address@hidden>
> CC: "address@hidden" <address@hidden>
> Date: Fri, 3 Jan 2020 22:21:16 +0000
> When it comes to tree-sitter which you linked to, I didn't understand from 
> their website how they deal with
> compile time dependencies and various configuration options that are usually 
> passed via configure & co.

You can ask them a question, but in general, some jobs related to this
don't need to understand that stuff.  E.g., our font-lock doesn't, and
it still does a pretty decent job.

> Another thing is, about "speed-wise", if Enacs core implemented support for 
> creating language servers, or
> plugging in them, as well as clients, then maybe it would be possible to use 
> share memory for passing round
> those big json files that lsp-mode like to play with. That might also let 
> Emacs reuse existing tools like
> lsp-mode. I think they are using sockets now, I am not sure though.

Using JSON as the middleware adds a non-trivial processing overhead,
so if we can avoid that, we should.

reply via email to

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