brainstorm - dobkeratops/rustfind GitHub Wiki
future directions that could be interesting..
-
Cross language description of the AST ? could an abstract AST be written but with some universal concepts eg spans, node type/kind , ident, and defintion links - then make an AST generator for arbitrary languages, or leverage an existing one with more advanced html generation (like popup menus)
-
Call Graph
-
would be handy for code navigation
-
with collapsing modules enclosing functions ? calls to funciton in a module show up as module links when the the module isn't expanded
-
advanced: data-flow graph, like the Shader Editors, for visualizing functional programs
- could mutable programs even be shown with mutable variables as an input and output..
-
Linking to/from RustDoc NG ?
-
some script to automatically publish a linked view of the whole rust sourcebase somewhere (whats the best way to host or run something like that .. ? i could just push the pages to github project pages..)
-
Display TYPE INFORMATION , eg popups when you hover over symbols, or hidden lines that can be expanded. very handy given that rust has type inherence, but even with complex expressions being able to see what each sub-expression is would be nice.
- is probably quite hard to do ?
-
local variables (or even all symbols) color coded by hash ?
- distinguish deifnitions with bold, and use color-coding to draw the eye to the same symbols. Some HTML viewers do this for local variables in C.
-
Emit CTAGS ?