71 releases

0.15.15 Dec 8, 2023
0.15.13 Sep 28, 2023
0.15.11 Mar 25, 2023
0.15.10 Sep 29, 2022
0.1.3 Nov 21, 2018

#35 in Data structures

Download history 31442/week @ 2023-11-26 30364/week @ 2023-12-03 30479/week @ 2023-12-10 30733/week @ 2023-12-17 19338/week @ 2023-12-24 25235/week @ 2023-12-31 36341/week @ 2024-01-07 38235/week @ 2024-01-14 38269/week @ 2024-01-21 40698/week @ 2024-01-28 43974/week @ 2024-02-04 46496/week @ 2024-02-11 46536/week @ 2024-02-18 45731/week @ 2024-02-25 49397/week @ 2024-03-03 19979/week @ 2024-03-10

166,127 downloads per month
Used in 212 crates (39 directly)

MIT/Apache

130KB
3K SLoC

Rowan

Crates.io Crates.io

Rowan is a library for lossless syntax trees, inspired in part by Swift's libsyntax.

A conceptual overview is available in the rust-analyzer repo.

See examples/s_expressions for a tutorial, and rust-analyzer for real-world usage.

Testing

This crate is primarily tested by various integration tests in rust-analyzer.

License

Rowan is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.


lib.rs:

A generic library for lossless syntax trees. See examples/s_expressions.rs for a tutorial.

Dependencies

~0.6–0.9MB
~14K SLoC