Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add syntux module #3880

Merged
merged 12 commits into from
Oct 25, 2019
Merged

Add syntux module #3880

merged 12 commits into from
Oct 25, 2019

Conversation

topecongiro
Copy link
Contributor

@topecongiro topecongiro commented Oct 22, 2019

This PR adds a syntux module which aims to provide a thin and safe abstraction layer on top of libsyntax. The idea is to make rustfmt resistant to breaking changes in the rustc codebase. The ultimate goal is to factor out the syntux module into a separate crate and avoid using rustc-ap-* crates directly from rustfmt codebase.

src/formatting.rs Outdated Show resolved Hide resolved
src/modules.rs Show resolved Hide resolved
src/syntux/parser.rs Outdated Show resolved Hide resolved
@topecongiro topecongiro merged commit 41bc654 into rust-lang:master Oct 25, 2019
@topecongiro topecongiro deleted the syntax-parser branch October 25, 2019 13:37
@karyon
Copy link
Contributor

karyon commented Oct 28, 2021

backported in #4100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants