#macro-expansion #syntax #rustc #syntax-tree #ast #expander #version

nightly msiz_rustc-ap-syntax

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

3 stable releases

3.0.0 Sep 11, 2019
2.0.0 Sep 11, 2019
1.0.0 Sep 10, 2019

#1081 in Programming languages

MIT/Apache

3MB
61K SLoC

The syntax 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

~7MB
~135K SLoC