74 releases

0.16.1 Nov 22, 2024
0.15.16 Aug 16, 2024
0.15.15 Dec 8, 2023
0.15.13 Sep 28, 2023
0.1.3 Nov 21, 2018

#37 in Data structures

Download history 59816/week @ 2024-10-21 57137/week @ 2024-10-28 61272/week @ 2024-11-04 50926/week @ 2024-11-11 51128/week @ 2024-11-18 50610/week @ 2024-11-25 55043/week @ 2024-12-02 56805/week @ 2024-12-09 56675/week @ 2024-12-16 36263/week @ 2024-12-23 38486/week @ 2024-12-30 60211/week @ 2025-01-06 60634/week @ 2025-01-13 57562/week @ 2025-01-20 54047/week @ 2025-01-27 63895/week @ 2025-02-03

241,551 downloads per month
Used in 345 crates (61 directly)

MIT/Apache

145KB
3.5K 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

~1MB
~14K SLoC