A Parinfer implementation written in Python.
There are several text editors where Python is the best - or only - choice for extensions. Having a Parinfer implementation in Python allows Parinfer to reach more editors.
This is basically a 1-to-1 copy of parinfer.js.
The .json
files in the tests folder are copied directly from the main
Parinfer repo.
python3 tests.py
To run a performance stress test:
python3 perf.py
To profile those performance stress tests:
python3 -m cProfile -s time perf.py