69 releases

0.15.13 Sep 28, 2023
0.15.11 Mar 25, 2023
0.15.10 Sep 29, 2022
0.15.8 Jul 22, 2022
0.1.3 Nov 21, 2018

#31 in Data structures

Download history 33108/week @ 2023-08-16 29568/week @ 2023-08-23 28102/week @ 2023-08-30 27556/week @ 2023-09-06 28813/week @ 2023-09-13 27098/week @ 2023-09-20 31199/week @ 2023-09-27 33128/week @ 2023-10-04 32936/week @ 2023-10-11 32469/week @ 2023-10-18 29929/week @ 2023-10-25 30908/week @ 2023-11-01 31379/week @ 2023-11-08 32596/week @ 2023-11-15 30391/week @ 2023-11-22 28792/week @ 2023-11-29

128,428 downloads per month
Used in 191 crates (37 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.7–1MB
~15K SLoC