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

#36 in Data structures

Download history 55450/week @ 2024-08-22 55266/week @ 2024-08-29 56601/week @ 2024-09-05 53412/week @ 2024-09-12 53062/week @ 2024-09-19 54746/week @ 2024-09-26 56722/week @ 2024-10-03 54165/week @ 2024-10-10 58027/week @ 2024-10-17 58228/week @ 2024-10-24 59493/week @ 2024-10-31 54983/week @ 2024-11-07 50844/week @ 2024-11-14 50618/week @ 2024-11-21 54571/week @ 2024-11-28 45712/week @ 2024-12-05

209,455 downloads per month
Used in 286 crates (58 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