You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update architecture documentation for ruff_python_parser
RustPython now uses ruff_python_parser from astral-sh/ruff instead of
the separate RustPython/Parser project. Update architecture documentation
to reflect this change.
Copy file name to clipboardExpand all lines: architecture/architecture.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ The main entry point of RustPython is located in `src/main.rs` and simply forwar
72
72
73
73
For each of the three components, the entry point is as follows:
74
74
75
-
- Parser: The Parser is located in a separate project, [RustPython/Parser][10]. See the documentation there for more information.
75
+
- Parser: The Parser is located in a separate project, [astral-sh/ruff/crates/ruff_python_parser][10]. See the documentation there for more information.
76
76
- Compiler: `compile`, located in [`crates/vm/src/vm/compile.rs`][11], this eventually forwards a call to [`compiler::compile`][12].
77
77
- VM: `run_code_obj`, located in [`crates/vm/src/vm/mod.rs`][13]. This creates a new frame in which the bytecode is executed.
78
78
@@ -107,7 +107,7 @@ The Parser is the main sub-component of the compiler. All the functionality requ
107
107
1. Lexical Analysis
108
108
2. Parsing
109
109
110
-
The functionality for parsing resides in the RustPython/Parser project. See the documentation there for more information.
110
+
The functionality for parsing resides in the ruff_python_parser project in the astral-sh/ruff repository. See the documentation there for more information.
111
111
112
112
### VM
113
113
@@ -177,7 +177,7 @@ Integration and snippets that test for additional edge-cases, implementation spe
0 commit comments