Stream: t-compiler/wg-rls-2.0

Topic: using ra_syntax in rustc


E M (Mar 28 2020 at 16:49, on Zulip):

Has anyone tried modifying rustc to use ra_syntax to parse code instead of the existing parser?

Laurențiu Nicola (Mar 28 2020 at 16:52, on Zulip):

That's the plan, but I don't know if matklad is working on it at this point. It needs to be coordinated with the larger Rust project, so it's probably going to need at least an RFC which I'm not sure is written yet.

Edwin Cheng (Mar 28 2020 at 21:10, on Zulip):

They called it "parser library-ification", you could search it in Zulip for more details.

matklad (Mar 29 2020 at 17:22, on Zulip):

Not yet. I would estimate the work to get "something" in terms of unified parser as a week for someone who is familiar with both rustc and rust-analyzer. The work to do it properly... three months?

Last update: Sep 30 2020 at 14:30UTC