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

#35 in Data structures

Download history 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 51118/week @ 2024-11-13 50673/week @ 2024-11-20 43691/week @ 2024-11-27

213,435 downloads per month
Used in 281 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