67 releases

Uses new Rust 2021

0.15.10 Sep 29, 2022
0.15.8 Jul 22, 2022
0.15.4 Mar 1, 2022
0.15.2 Dec 17, 2021
0.1.3 Nov 21, 2018

#32 in Data structures

Download history 19316/week @ 2022-08-17 17712/week @ 2022-08-24 22568/week @ 2022-08-31 22177/week @ 2022-09-07 24406/week @ 2022-09-14 22450/week @ 2022-09-21 18999/week @ 2022-09-28 20910/week @ 2022-10-05 18255/week @ 2022-10-12 19484/week @ 2022-10-19 20258/week @ 2022-10-26 20918/week @ 2022-11-02 19998/week @ 2022-11-09 19772/week @ 2022-11-16 18302/week @ 2022-11-23 19374/week @ 2022-11-30

81,186 downloads per month
Used in 139 crates (29 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

~375–550KB