Dhruv Manilawala e363fb860e Lex Jupyter Magic in assignment value position (#30)
Emit `MagicCommand` token when it is the assignment value[^1] i.e., on
the right side of an assignment statement.

Examples:
```python
pwd = !pwd
foo = %timeit a = b
bar = %timeit a % 3
baz = %matplotlib \
        inline"
```

[^1]: Only `%` and `!` are valid in that position, other magic kinds are
not valid
2023-07-24 17:44:03 +05:30
2023-07-05 14:25:26 +02:00
2023-07-22 14:10:59 -04:00
2023-06-20 18:21:09 +02:00
2023-05-16 23:29:49 +09:00
2023-07-05 14:25:26 +02:00
2023-05-10 17:57:15 +09:00
2023-05-07 17:20:52 +09:00
2023-07-02 10:11:06 +02:00
2023-05-05 23:49:50 +09:00
2023-06-11 21:56:59 +09:00

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
Description
An extremely fast Python linter and code formatter, written in Rust.
Readme MIT 219 MiB
Languages
Rust 96.1%
Python 2.6%
TypeScript 0.9%
RenderScript 0.2%
Shell 0.1%