Go to file
konsti 4d03b9b5b2
Fix empty lambda args range (#35)
Previously, empty lambda arguments (e.g. `lambda: 1`) would get the
range of the entire expression, which leads to incorrect comment
placement. Now empty lambda arguments get an empty range between the
`lambda` and the `:` tokens.
2023-07-21 17:41:19 +02:00
.github/workflows Remove asdl (#21) 2023-07-05 14:25:26 +02:00
ast Implement `Ranged` for `TypeParam` (#32) 2023-07-20 20:03:17 -04:00
core Lex Jupyter line magic with `Mode::Jupyter` (#23) 2023-07-18 09:24:24 +05:30
format Fix ArgWithDefault TextRange (#13) 2023-06-20 18:21:09 +02:00
literal Add utilities to enum (#44) 2023-05-16 23:29:49 +09:00
parser Fix empty lambda args range (#35) 2023-07-21 17:41:19 +02:00
ruff_text_size Separate byteoffset ast and located ast 2023-05-09 00:21:52 +09:00
scripts Remove asdl (#21) 2023-07-05 14:25:26 +02:00
.cspell.json Setup spell checker 2023-05-10 17:57:15 +09:00
.gitattributes gitattribute 2023-05-07 17:20:52 +09:00
.gitignore impl Ranged for TextRange (#20) 2023-07-02 10:11:06 +02:00
Cargo.toml Remove `fold`, `unparse`, and `location` features (#9) 2023-06-19 17:26:17 -04:00
LICENSE Set up workspace - Forked from 2023-05-05 23:49:50 +09:00
README.md Add Pylyzer 2023-06-11 21:56:59 +09:00

README.md

RustPython parser as a library

This project is forked from RustPython project. The parser is one of the core part of RustPython and Ruff project.

We try to keep these crates as a well-packaged library for more potential users.

Projects

  • RustPython is a Python interpreter
  • Ruff is an extremely fast Python linter
  • Pylyzer is a static code analyzer / language server for Python
  • Baembal is a Python package to accelerate ast.parse