#compiler #language #walk

nightly rustc-ap-syntax

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

611 major breaking releases

645.0.0 Feb 25, 2020
644.0.0 Feb 18, 2020
643.0.0 Feb 11, 2020
642.0.0 Feb 8, 2020
1.0.0 Jan 11, 2018

#1681 in Filesystem

Download history 4515/week @ 2023-08-15 4999/week @ 2023-08-22 4599/week @ 2023-08-29 5438/week @ 2023-09-05 5161/week @ 2023-09-12 4876/week @ 2023-09-19 4597/week @ 2023-09-26 5148/week @ 2023-10-03 4872/week @ 2023-10-10 4980/week @ 2023-10-17 4735/week @ 2023-10-24 4142/week @ 2023-10-31 5020/week @ 2023-11-07 4385/week @ 2023-11-14 4995/week @ 2023-11-21 4736/week @ 2023-11-28

19,764 downloads per month
Used in 5 crates (4 directly)

MIT/Apache

1.5MB
30K 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

~5MB
~99K SLoC