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

#46 in Data structures

Download history 50618/week @ 2024-11-21 54441/week @ 2024-11-28 54754/week @ 2024-12-05 57546/week @ 2024-12-12 44669/week @ 2024-12-19 35318/week @ 2024-12-26 51953/week @ 2025-01-02 60774/week @ 2025-01-09 60124/week @ 2025-01-16 52755/week @ 2025-01-23 64783/week @ 2025-01-30 72366/week @ 2025-02-06 73862/week @ 2025-02-13 68127/week @ 2025-02-20 73752/week @ 2025-02-27 63421/week @ 2025-03-06

291,779 downloads per month
Used in 376 crates (62 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