dossier
dossier copied to clipboard
A multi-language source code analyzer and docstrings parser
I posted Dossier on the Rust subreddit, and user grunzl very helpfully pointed out that we could consider using https://github.com/github/stack-graphs and its tree-sitter integration for name resolution instead of rolling...
Not everyone has a Rust environment and able to use `cargo install`. We should support other installation methods, such as: - Prebuilt binaries for Mac/Windows/Linux - Homebrew? - npm? [cargo-dist](https://github.com/axodotdev/cargo-dist)...
https://tsdoc.org/ feels like the standard these days? Need to be able to parse the tsdoc comments, and annotate the entities mentioned.
So far Dossier has taken a "panic when you see something weird" attitude. This has been great getting the project off the ground quickly, but it won't work going forward....
Current CI/CD setup is very much "minimum viable CI". We should at minimum run tests on Mac + Windows + Linux.
This type signature is not parsed correctly, because we can't parse nested types. ```typescript function verifyToken(token: string): string | jwt.JwtPayload {} -------------- ^ | This is the issue ``` This...
Typing module: https://docs.python.org/3/library/typing.html This task can be split into multiple tasks. E.g. - Type aliases: https://docs.python.org/3/library/typing.html#type-aliases - Generics: https://docs.python.org/3/library/typing.html#user-defined-generic-types - NewType: https://docs.python.org/3/library/typing.html#newtype
While apparently not very common, namespaces are a feature that we don't yet support in TypeScript: https://www.typescriptlang.org/docs/handbook/namespaces.html
Currently we build one binary from Dossier, and it has as dependencies the `dossier-ts` and `dossier-py` crates. This is fine, but has a critical downside: **you can't add new languages...
I'm curious if dossier is still being developed since there have been no commits in 8 months. It seems very useful though, I wish it supported Rust!