73 releases

0.16.0 Nov 11, 2024
0.15.15 Dec 8, 2023
0.15.13 Sep 28, 2023
0.15.11 Mar 25, 2023
0.1.3 Nov 21, 2018

#32 in Data structures

Download history 50180/week @ 2024-07-31 51774/week @ 2024-08-07 52238/week @ 2024-08-14 55167/week @ 2024-08-21 54647/week @ 2024-08-28 57636/week @ 2024-09-04 52719/week @ 2024-09-11 53848/week @ 2024-09-18 54351/week @ 2024-09-25 55699/week @ 2024-10-02 54473/week @ 2024-10-09 57792/week @ 2024-10-16 58945/week @ 2024-10-23 58647/week @ 2024-10-30 57239/week @ 2024-11-06 42554/week @ 2024-11-13

228,619 downloads per month
Used in 274 crates (54 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
~15K SLoC