Skip to content

Runtime parser loading #23

@y9san9

Description

@y9san9

Hi! I wanted to raise one issue and maybe this is something that can be implemented here. What I miss from all the variety of such projects is runtime parser loading. For some reason parsers are also hardcoded as rust crates or something like that. Did you consider to make it work like parsers in neovim work? What I mean by that is the use of such directory:

  • ~/.ttags/languages
    • kotlin
      • parser.so: Compiled dynamic lib with parser
      • tag.scm: Queries for tags
      • config.toml: Some config options like extensions and others if any

Some languages could be builtin, others could be added by users in their local folder. It will not require to write any Rust or C code. But rather you will have to add schema queries and attach parser. Some schell scripts to update prebuilt parsers also could be done fairly easy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions