wildwestrom / ast-viewer-ui

An AST viewer UI for languages with an AST.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AST Viewer UI

This project was inspired by "Zoom Out": The missing feature of IDEs.

I want to create a GUI with text fields, boxes, arrows, etc. and generates source code, or even an AST that can be used by a compiler. So far I can take Rust code and spit the AST back out.

Roadmap

Subject to change of course, but here's the basic gist.

  1. Round-trip any Rust file.
  2. Have a minimal GUI.
    • Load a file.
    • Have a view of the AST and round-tripped source.
  3. Render AST nodes as connecting blocks.
  4. Allow for editing AST nodes.
  5. Output a new source file after editing the AST.
  6. Allow for editing files in a whole Rust project.
  7. Turn this into its own "language" as a thin wrapper over machine code, assembly, or something like LLVM-IR, that allows for higher-level abstractions.

About

An AST viewer UI for languages with an AST.

License:GNU General Public License v3.0


Languages

Language:Rust 100.0%