74 releases

new 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

#32 in Data structures

Download history 47741/week @ 2024-08-02 50696/week @ 2024-08-09 55105/week @ 2024-08-16 55132/week @ 2024-08-23 56264/week @ 2024-08-30 55833/week @ 2024-09-06 50882/week @ 2024-09-13 56565/week @ 2024-09-20 54584/week @ 2024-09-27 55676/week @ 2024-10-04 55088/week @ 2024-10-11 58636/week @ 2024-10-18 57641/week @ 2024-10-25 60142/week @ 2024-11-01 52169/week @ 2024-11-08 51676/week @ 2024-11-15

232,128 downloads per month
Used in 275 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