Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Support Python #51

Closed
egraether opened this issue Mar 8, 2016 · 16 comments
Closed

Support Python #51

egraether opened this issue Mar 8, 2016 · 16 comments

Comments

@egraether
Copy link
Contributor

starting point: https://docs.python.org/3.5/library/ast.html

@term-inal
Copy link

you can also start with gast: https://github.com/serge-sans-paille/gast
It uses standard ast module from python but support many python versions (and syntax specificities in one module)

@mlangkabel
Copy link
Contributor

@term-inal Thanks for pointing us there! Getting some AST info for Python code will be surely the first step once we start tackeling that language.
After that the next (and probably most complicated) step will be getting some kind of type information on all the objects used in the code that should be indexed.

@egraether
Copy link
Contributor Author

+1 by mail

@bsw4p
Copy link

bsw4p commented May 15, 2017

+1

@egraether
Copy link
Contributor Author

+1 by mail

@egraether
Copy link
Contributor Author

@egraether
Copy link
Contributor Author

+1 by mail

@D1mon
Copy link

D1mon commented Sep 21, 2017

+1

@brianly
Copy link

brianly commented Oct 27, 2017

Adding my voice as someone who'd find this valuable and be able to buy the product for work.

@egberts egberts mentioned this issue Oct 31, 2017
@egraether
Copy link
Contributor Author

+1 by mail

@cnjsdfcy
Copy link

+1

@egraether
Copy link
Contributor Author

+1 by mail

1 similar comment
@egraether
Copy link
Contributor Author

+1 by mail

@egraether
Copy link
Contributor Author

We created the SourcetrailDB library to allow anyone to write custom indexers and extend language support for Sourcetrail.

And as next language we started working on a Sourcetrail Python indexer using jedi and SourcetrailDB. It's only an early prototype right now, but it looks promising. I will post updates here. Please let us know if you want to get involved!

@dmoody256
Copy link

+1

@egraether
Copy link
Contributor Author

Added Python Support with 2019.2.0 based on SourcetrailPythonIndexer
For bugs and feature requests please open issues on that repo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants