#syntax #parser #comment #whitespace #analyzer #compiler #language #group #front-end #experimental

ra_ap_syntax

Comment and whitespace preserving parser for the Rust language

22 releases

new 0.0.25 Nov 23, 2020
0.0.24 Nov 16, 2020
0.0.19 Oct 12, 2020
0.0.17 Sep 28, 2020
0.0.13 Aug 31, 2020
Download history 133/week @ 2020-08-23 87/week @ 2020-08-30 91/week @ 2020-09-06 53/week @ 2020-09-13 58/week @ 2020-09-20 108/week @ 2020-09-27 53/week @ 2020-10-04 66/week @ 2020-10-11 58/week @ 2020-10-18 82/week @ 2020-10-25 111/week @ 2020-11-01 751/week @ 2020-11-08 445/week @ 2020-11-15

745 downloads per month
Used in 19 crates (14 directly)

MIT/Apache

405KB
12K SLoC

rust-analyzer logo

rust-analyzer is an experimental modular compiler frontend for the Rust language. It is a part of a larger rls-2.0 effort to create excellent IDE support for Rust. If you want to get involved, check the rls-2.0 working group:

https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0

Work on rust-analyzer is sponsored by

Ferrous Systems

Quick Start

https://rust-analyzer.github.io/manual.html#installation

Documentation

If you want to contribute to rust-analyzer or are just curious about how things work under the hood, check the ./docs/dev folder.

If you want to use rust-analyzer's language server with your editor of choice, check the manual folder. It also contains some tips & tricks to help you be more productive when using rust-analyzer.

Communication

For usage and troubleshooting requests, please use "IDEs and Editors" category of the Rust forum:

https://users.rust-lang.org/c/ide/14

For questions about development and implementation, join rls-2.0 working group on Zulip:

https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frls-2.2E0

Quick Links

License

Rust analyzer 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.

Dependencies

~2.2–3MB
~64K SLoC