Zulip Chat Archive

Stream: lean4

Topic: from a file position (range), find all syntax nodes inside


Alissa Tung (Mar 19 2024 at 07:47):

I am curious about, for a given file, give a file position (ln, col) or range (from_ln, from_col) ~ (end_ln, end_col), how can I find all syntax nodes inside it? If Lean server already can do the task, I am curious about where it is implemented.

Marc Huisinga (Mar 19 2024 at 08:24):

How it works right now, roughly:

Kim Morrison (Mar 19 2024 at 09:38):

@Alissa Tung, in what sort of context are you hoping to run such a query?

Alissa Tung (Mar 21 2024 at 00:21):

Marc Huisinga 发言道

How it works right now, roughly:

Thank you, the explanation on this pipeline is very useful!


Last updated: May 02 2025 at 03:31 UTC