Skip to content

feat: add support or template support for additional compilers #87

Closed

Description

@ChrisGVE

It would be convenient to add new compilers to the toolbox, things like gcc, swift, someone was mentioning go, zig.

Is there a way to create a generic template that can be easily adapted for new tools and contributed back?

There are probably edge cases where a template wouldn't work, but I can imagine that we can cover a lot of ground, together with reading the existing code.

Feel free to close this if it is not relevant or if I did not search enough in the existing code 😅

Activity

  1. ChrisGVE commented on Feb 12, 2026

    @ChrisGVE
    ContributorAuthor

    I just ran a discover --all and I have interesting (some unexpected) finds:

    • swift, test, package, build
    • sqlite3 (not sure if we can really do something about sqlite outputs)
    • /bin/bash -c, git -c, python3 << that could be an uphill battle to tame what are adhoc scripts
  2. added 4 commits that reference this issue on Feb 16, 2026
    bf93624
    ac2b9aa
    bcee597
    25b752b
  3. added
    enhancement
    on Mar 8, 2026
  4. pszymkowiak commented on Mar 16, 2026

    @pszymkowiak
    Collaborator

    Resolved — RTK now has a TOML filter DSL that serves as the template system requested. Compiler filters already exist: gcc, swift-build, make, xcodebuild. Go has a dedicated Rust module. New compilers (zig, etc.) can be added as simple TOML files. See src/filters/ for examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions