like it is most definitely not lost on me that latex has all these notions of alignment and markup because it does not really understand your structured mathematical expressions that are much easier to manipulate in my head than in any format which is fixed to the flat page because i can individually isolate the part of an algebraic expression i'm currently thinking about, not just from other unrelated expressions on nearby lines, but also even from the rest of the top-level expressioni it's contained in
this is interesting in particular in the slightly distinct but related context of literate programming, because a programming language's module system and grammatical entities constitute a GREAT deal of intricate structure which i've definitely never seen any documentation generator attempt to visualize,
beyond perhaps incorporating the hierarchical ontology described by recursive namespaces into a symbol search process?
but like, all the ideas that people use in like LSP servers for jump-to-definition n shit should totally be exposed in a data structure visible in a form made external to the compiler itself somehow