Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Apr 23, 2026. It is now read-only.

joernio/rust_ast_gen

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust_ast_gen

A tool that generates JSON AST representations of Rust source files, built on top of rust-analyzer's libraries.

Usage

Usage: rust_ast_gen --input-dir <INPUT_DIR> --output-dir <OUTPUT_DIR>

Options:
  -i, --input-dir <INPUT_DIR>    Input directory containing a Rust project
  -o, --output-dir <OUTPUT_DIR>  Output directory where generated files will be written to
  -h, --help                     Print help

One .json file is produced per .rs source file, mirroring the input directory structure.

Set RUST_LOG=info (or debug/trace) for progress output.

Building

cargo build --release

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.