Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement language grammars #48

Closed
7 of 13 tasks
alexpovel opened this issue Oct 26, 2023 · 1 comment
Closed
7 of 13 tasks

Implement language grammars #48

alexpovel opened this issue Oct 26, 2023 · 1 comment

Comments

@alexpovel
Copy link
Owner

alexpovel commented Oct 26, 2023

A solid set of some of the most popular ones:

  • Python
  • TypeScript
  • Go
  • Rust
  • C#

And then, for each or at least most, implement all, or most of (if relevant for the language):

  • comments
  • "documentation strings"
  • function names (at definition site)
  • function calls
  • class/struct/enum names (at definition site)
  • strings
  • variable names
  • type annotations
@alexpovel
Copy link
Owner Author

For all languages, comments and strings are implemented, as of f8910c8, as a "least common denominator":

  • all languages have those
  • they're likely the most interesting in the context of srgn

Others, like "function calls in Rust", can be implemented once demand is there.

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

No branches or pull requests

1 participant