https://bugs.kde.org/show_bug.cgi?id=438206

--- Comment #11 from Francis Herne <m...@flherne.uk> ---
To address the development comments:

It's great that you're interested in contributing to kdev-python. As you can
see it's kind of needed at the moment. Consider dropping by #kdevelop on Libera
IRC if you want to discuss it (ping FLHerne [me] or scummos [Sven]).

Tools/tests:
There are quite a lot of unit/end-to-end tests. Run `ninja test` (or `make
test`) after building kdev-python, or for more detailed output run the test
binaries individually (e.g. build/parser/tests/pyasttest ,
build/duchain/tests/pyduchaintest ).

parser/generated.h converts from CPython's AST structures to kdev-python's.
It's generated based on parser/python39.sdef by the script
conversionGenerator.py.

The script pythonpythonparser.py spits out the AST as an XML representation,
using the Python `ast` module API. In recent years it's been used only as a
tool for debugging and development. I believe it was once used in kdevelop
before it called into the C API instead, and could be resurrected as such to
implement Sven's suggestion. I'm not a big fan of this idea, I suspect
performance would suffer considerably.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to