#ast #rustc #syntax #macro #syntax-tree #github #language

nightly fast-rustc-ap-rustc_ast

Automatically published version of the package rustc_ast in the rust-lang/rust repository from commit 15812785344d913d779d9738fe3cca8de56f71d5 The publishing script for this crate lives at: https://github.com/alexcrichton/rustc-auto-publish

1 stable release

1.0.0 Mar 10, 2020

#1076 in Programming languages

49 downloads per month
Used in 4 crates

MIT/Apache

1MB
26K SLoC

The rustc_ast crate contains those things concerned purely with syntax – that is, the AST ("abstract syntax tree"), parser, pretty-printer, lexer, macro expander, and utilities for traversing ASTs.

For more information about how these things work in rustc, see the rustc guide:


lib.rs:

The Rust parser and macro expander.

Note

This API is completely unstable and subject to change.

Dependencies

~5.5MB
~107K SLoC