@@ -28,7 +28,7 @@ rustpython-compiler = { workspace = true }
28
28
rustpython-pylib = { workspace = true , optional = true }
29
29
rustpython-stdlib = { workspace = true , optional = true , features = [" compiler" ] }
30
30
rustpython-vm = { workspace = true , features = [" compiler" ] }
31
- rustpython-parser = { workspace = true }
31
+ ruff_python_parser = { workspace = true }
32
32
33
33
cfg-if = { workspace = true }
34
34
log = { workspace = true }
@@ -94,7 +94,7 @@ x86_64-pc-windows-msvc = { triplet = "x64-windows-static-md", dev-dependencies =
94
94
[workspace ]
95
95
resolver = " 2"
96
96
members = [
97
- " compiler" , " compiler/core" , " compiler/codegen" ,
97
+ " compiler" , " compiler/core" , " compiler/codegen" , " compiler/source " ,
98
98
" ." , " common" , " derive" , " jit" , " vm" , " vm/sre_engine" , " pylib" , " stdlib" , " derive-impl" ,
99
99
" wasm/lib" ,
100
100
]
@@ -108,6 +108,7 @@ repository = "https://github.com/RustPython/RustPython"
108
108
license = " MIT"
109
109
110
110
[workspace .dependencies ]
111
+ rustpython-compiler-source = { path = " compiler/source" }
111
112
rustpython-compiler-core = { path = " compiler/core" , version = " 0.4.0" }
112
113
rustpython-compiler = { path = " compiler" , version = " 0.4.0" }
113
114
rustpython-codegen = { path = " compiler/codegen" , version = " 0.4.0" }
@@ -121,15 +122,20 @@ rustpython-stdlib = { path = "stdlib", default-features = false, version = "0.4.
121
122
rustpython-sre_engine = { path = " vm/sre_engine" , version = " 0.4.0" }
122
123
rustpython-doc = { git = " https://github.com/RustPython/__doc__" , tag = " 0.3.0" , version = " 0.3.0" }
123
124
125
+ ruff_python_parser = { git = " https://github.com/astral-sh/ruff.git" , tag = " v0.4.10" }
126
+ ruff_python_ast = { git = " https://github.com/astral-sh/ruff.git" , tag = " v0.4.10" }
127
+ ruff_text_size = { git = " https://github.com/astral-sh/ruff.git" , tag = " v0.4.10" }
128
+ ruff_source_file = { git = " https://github.com/astral-sh/ruff.git" , tag = " v0.4.10" }
129
+ ruff_python_codegen = { git = " https://github.com/astral-sh/ruff.git" , tag = " v0.4.10" }
124
130
# rustpython-literal = { version = "0.4.0" }
125
131
# rustpython-parser-core = { version = "0.4.0" }
126
132
# rustpython-parser = { version = "0.4.0" }
127
133
# rustpython-ast = { version = "0.4.0" }
128
134
# rustpython-format= { version = "0.4.0" }
129
135
rustpython-literal = { git = " https://github.com/RustPython/Parser.git" , version = " 0.4.0" , rev = " d2f137b372ec08ce4a243564a80f8f9153c45a23" }
130
- rustpython-parser-core = { git = " https://github.com/RustPython/Parser.git" , version = " 0.4.0" , rev = " d2f137b372ec08ce4a243564a80f8f9153c45a23" }
131
- rustpython-parser = { git = " https://github.com/RustPython/Parser.git" , version = " 0.4.0" , rev = " d2f137b372ec08ce4a243564a80f8f9153c45a23" }
132
- rustpython-ast = { git = " https://github.com/RustPython/Parser.git" , version = " 0.4.0" , rev = " d2f137b372ec08ce4a243564a80f8f9153c45a23" }
136
+ # rustpython-parser-core = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "d2f137b372ec08ce4a243564a80f8f9153c45a23" }
137
+ # rustpython-parser = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "d2f137b372ec08ce4a243564a80f8f9153c45a23" }
138
+ # rustpython-ast = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "d2f137b372ec08ce4a243564a80f8f9153c45a23" }
133
139
rustpython-format = { git = " https://github.com/RustPython/Parser.git" , version = " 0.4.0" , rev = " d2f137b372ec08ce4a243564a80f8f9153c45a23" }
134
140
# rustpython-literal = { path = "../RustPython-parser/literal" }
135
141
# rustpython-parser-core = { path = "../RustPython-parser/core" }
0 commit comments