Updated
about 24 hours
ago.
No love.
1 follower.
Description
The rpm-spec-language-server is currently using rpm itself via the specfile library and regular expressions for providing "code smarts" like jump to definition or macro expansion. Unfortunately, this approach is very brittle, resource intensive and actually dangerous. It would be far more beneficial to use tree-sitter and the grammar written by Andreas Schneider: https://gitlab.com/cryptomilk/tree-sitter-rpmspec to extract something like an AST from the spec file and operate on that instead.
Goals
- introduce tree-sitter and
tree-sitter-rpmspecinto the language server - expose the AST as
textDocument.semanticTokensto the editor/user - use the AST for improved "code smarts"
Resources
Looking for hackers with the skills:
Nothing? Add some keywords!
This project is part of:
Hack Week 25
Comments
Be the first to comment!
Similar Projects
This project is one of its kind!