Skip to content

Commit 03691c7

Browse files
committed
update readme to point to the WG
1 parent 74ecfc2 commit 03691c7

File tree

1 file changed

+8
-41
lines changed

1 file changed

+8
-41
lines changed

README.md

Lines changed: 8 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
[![Build Status](https://travis-ci.org/rust-analyzer/rust-analyzer.svg?branch=master)](https://travis-ci.org/rust-analyzer/rust-analyzer)
44

55
Rust Analyzer is an **experimental** modular compiler frontend for the Rust
6-
language, which aims to lay a foundation for excellent IDE support.
6+
language. It is a part of a larger rls-2.0 effort to create excellent IDE
7+
support for Rust. If you want to get involved, check rls-2.0 working group repository:
78

8-
It doesn't implement much of compiler functionality yet, but the white-space
9-
preserving Rust parser works, and there are significant chunks of overall
10-
architecture (indexing, on-demand & lazy computation, snapshotable world view)
11-
in place. Some basic IDE functionality is provided via a language server.
9+
https://github.com/rust-analyzer/WG-rls2.0
1210

1311
Work on the Rust Analyzer is sponsored by
1412

@@ -41,37 +39,15 @@ features (some of which are VS Code specific).
4139

4240
See [these instructions](./DEBUGGING.md) on how to debug the vscode extension and the lsp server.
4341

44-
## Current Status and Plans
45-
46-
Rust analyzer aims to fill the same niche as the official [Rust Language
47-
Server](https://github.com/rust-lang-nursery/rls), but uses a significantly
48-
different architecture. More details can be found [in this
49-
thread](https://internals.rust-lang.org/t/2019-strategy-for-rustc-and-the-rls/8361),
50-
but the core issue is that RLS works in the "wait until user stops typing, run
51-
the build process, save the results of the analysis" mode, which arguably is the
52-
wrong foundation for IDE.
53-
54-
Rust Analyzer is an experimental project at the moment, there's exactly zero
55-
guarantees that it becomes production-ready one day.
42+
## Getting in touch
5643

57-
The near/mid term plan is to work independently of the main rustc compiler and
58-
implement at least simplistic versions of name resolution, macro expansion and
59-
type inference. The purpose is two fold:
44+
We are on the rust-lang Zulip!
6045

61-
- to quickly bootstrap usable and useful language server: solution that covers
62-
80% of Rust code will be useful for IDEs, and will be vastly simpler than 100%
63-
solution.
46+
https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frls-2.2E0
6447

65-
- to understand how the consumer-side of compiler API should look like
66-
(especially it's on-demand aspects). If you have `get_expression_type`
67-
function, you can write a ton of purely-IDE features on top of it, even if the
68-
function is only partially correct. Pluging in the precise function afterwards
69-
should just make IDE features more reliable.
48+
## Contributing
7049

71-
The long term plan is to merge with the mainline rustc compiler, probably around
72-
the HIR boundary? That is, use rust analyzer for parsing, macro expansion and
73-
related bits of name resolution, but leave the rest (including type inference
74-
and trait selection) to the existing rustc.
50+
See [CONTRIBUTING.md](./CONTRIBUTING.md) and [ARCHITECTURE.md](./ARCHITECTURE.md)
7551

7652
## Supported LSP features
7753

@@ -146,15 +122,6 @@ and trait selection) to the existing rustc.
146122
- [x] [textDocument/prepareRename](https://microsoft.github.io/language-server-protocol/specification#textDocument_prepareRename)
147123
- [x] [textDocument/foldingRange](https://microsoft.github.io/language-server-protocol/specification#textDocument_foldingRange)
148124

149-
## Getting in touch
150-
151-
We have a Discord server dedicated to compilers and language servers
152-
implemented in Rust: [https://discord.gg/sx3RQZB](https://discord.gg/sx3RQZB).
153-
154-
## Contributing
155-
156-
See [CONTRIBUTING.md](./CONTRIBUTING.md) and [ARCHITECTURE.md](./ARCHITECTURE.md)
157-
158125
## License
159126

160127
Rust analyzer is primarily distributed under the terms of both the MIT

0 commit comments

Comments
 (0)