[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using incremental parsing in Emacs
From: |
VanL |
Subject: |
Re: Using incremental parsing in Emacs |
Date: |
Sat, 04 Jan 2020 23:50:24 +1100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (berkeley-unix) |
Eli Zaretskii <address@hidden> writes:
> E.g., step 1 is anathema to JIT font-lock: it would produce a long
> delay in displaying a file's buffer when the file is first visited.
> For example, think about visiting a large and complex source file such
> as xdisp.c: even if it takes tens of milliseconds to parse all of it,
> as some tree-sitter presentation claims, waiting for that long before
> we even start displaying the first window-full would be an annoyance.
> And that's even before we consider the time to compute all the face
> text properties from the syntax tree, something that will also take
> time.
Is it possible to phase out the C part of Emacs over the present decade
given [1] and can the approaches presented there foreshorten that wait
time?
Footnotes:
[1] C is not a low-level language
https://queue.acm.org/detail.cfm?id=3212479
- Re: Using incremental parsing in Emacs, (continued)
- Re: Using incremental parsing in Emacs, Eli Zaretskii, 2020/01/04
- Re: Using incremental parsing in Emacs, arthur miller, 2020/01/04
- Re: Using incremental parsing in Emacs, Stephen Leake, 2020/01/04
- Re: Using incremental parsing in Emacs, Eli Zaretskii, 2020/01/04
- Re: Using incremental parsing in Emacs, Stephen Leake, 2020/01/05
- Re: Using incremental parsing in Emacs, yyoncho, 2020/01/05
- Re: Using incremental parsing in Emacs, Dmitry Gutov, 2020/01/05
Re: Using incremental parsing in Emacs, HaiJun Zhang, 2020/01/03
Message not available
- Re: Using incremental parsing in Emacs, HaiJun Zhang, 2020/01/03
- Re: Using incremental parsing in Emacs, Eli Zaretskii, 2020/01/04
- Re: Using incremental parsing in Emacs,
VanL <=
- Re: Using incremental parsing in Emacs, arthur miller, 2020/01/04
- Replacing all C code????, Richard Stallman, 2020/01/04
- Re: Replacing all C code????, VanL, 2020/01/04
- Re: Replacing all C code????, Richard Stallman, 2020/01/05
- Re: Replacing all C code????, Stefan Monnier, 2020/01/05
- Re: Replacing all C code????, Fangrui Song, 2020/01/05
- Re: Replacing all C code????, Richard Stallman, 2020/01/05
- Re: Replacing all C code????, Stefan Monnier, 2020/01/05
- Re: Replacing all C code????, VanL, 2020/01/06
Re: Using incremental parsing in Emacs, arthur miller, 2020/01/04