-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Merge format and literal back into this repo (and update malachite) #5618
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
Conversation
cbce338
to
5570aa0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, and let's completely remove parser repository dependency from Cargo.toml
Cargo.toml
Outdated
# rustpython-parser-core = { version = "0.4.0" } | ||
# rustpython-parser = { version = "0.4.0" } | ||
# rustpython-ast = { version = "0.4.0" } | ||
# rustpython-format= { version = "0.4.0" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# rustpython-parser-core = { version = "0.4.0" } | |
# rustpython-parser = { version = "0.4.0" } | |
# rustpython-ast = { version = "0.4.0" } | |
# rustpython-format= { version = "0.4.0" } |
Cargo.toml
Outdated
# rustpython-parser-core = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "d2f137b372ec08ce4a243564a80f8f9153c45a23" } | ||
# rustpython-parser = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "d2f137b372ec08ce4a243564a80f8f9153c45a23" } | ||
# rustpython-ast = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "d2f137b372ec08ce4a243564a80f8f9153c45a23" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# rustpython-parser-core = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "d2f137b372ec08ce4a243564a80f8f9153c45a23" } | |
# rustpython-parser = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "d2f137b372ec08ce4a243564a80f8f9153c45a23" } | |
# rustpython-ast = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "d2f137b372ec08ce4a243564a80f8f9153c45a23" } |
Cargo.toml
Outdated
# rustpython-literal = { path = "../RustPython-parser/literal" } | ||
# rustpython-parser-core = { path = "../RustPython-parser/core" } | ||
# rustpython-parser = { path = "../RustPython-parser/parser" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# rustpython-literal = { path = "../RustPython-parser/literal" } | |
# rustpython-parser-core = { path = "../RustPython-parser/core" } | |
# rustpython-parser = { path = "../RustPython-parser/parser" } |
256ac94
to
33a8cfd
Compare
With ruff forking off into their own parser (and now us using that instead), I don't see much of a reason to keep
Parser
as its own repo, and a monorepo makes it easier to make systemic changes (e.g. #5587). Maybe we'd switch some stuff inliteral
to use ruff'sruff_python_literal
crate, but if #5587 lands we'd need to have our own wtf8-based implementation anyway.I was originally gonna try to do something with
git subtree
orfilter-branch
to maintain the history, but it didn't seem so worth it.