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

Research SV parser integration #6

Open
gasrodriguez opened this issue Jun 21, 2021 · 0 comments
Open

Research SV parser integration #6

gasrodriguez opened this issue Jun 21, 2021 · 0 comments
Assignees

Comments

@gasrodriguez
Copy link
Owner

We'll need a powerful enough SV parser to be able to index the project files in order to implement go to ref, find usages, autocomplation, refactor, hover and all those cool features. Ideally the integration with Go should be thin and not require a lot of coding, perhaps at the expense of performance. Alternatives to look are:

  • using an AST dump from one of the parsers (requires the creation of structs and methods to walk the tree)
  • creating a C api for some parser lib (not straightforward to wrap some classes that have to be extended from the Go code like listener/visitors, but may be possible setting callbacks)
  • using SWIG to wrap the lib's classes directly

Options to look: slang, surelog, others (?

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

2 participants