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

#44 in Data structures

Download history 41755/week @ 2024-01-30 44264/week @ 2024-02-06 47658/week @ 2024-02-13 45440/week @ 2024-02-20 46216/week @ 2024-02-27 50762/week @ 2024-03-05 50778/week @ 2024-03-12 51921/week @ 2024-03-19 49819/week @ 2024-03-26 45884/week @ 2024-04-02 43640/week @ 2024-04-09 43703/week @ 2024-04-16 44734/week @ 2024-04-23 44485/week @ 2024-04-30 46475/week @ 2024-05-07 39060/week @ 2024-05-14

182,296 downloads per month
Used in 228 crates (41 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