Hey, what do folks here think about extracting rustc lexer as an independent library with a nice-ish interface? There's little direct value in this (lexer is simple), but it seems like a low-hanging fruit and an easy first step of librarifiication.
I've posted a PR with a POC interface here: https://github.com/rust-lang/rust/pull/59706. Would love to here feedback on it before making this more production ready.
sgtm. we'll need to think about the publishing story though.
Given that this should be relatively stable after initial development, and that a single external user initially would be rls2.0, I'd be happy with me just manually publishing the crate. We can scale this up to automatic publishing if needed
I've not read the details but I'm :+1: on the idea!
Maybe this would make a good thing to discuss at a design meeting?
Let me start a list of possible design meeting topics
I created a HackMd document for now