Skip to content

Implement a server in the compiler that serves information about the compilation #615

Description

@andrewrk

This will not be LSP, but a custom protocol just for Zig. A third party project can act as a proxy between this and LSP for that use case.

This issue covers both the compiler process (e.g. zig build-exe --listen=-) acting as a server, as well as a meta-protocol exposed by the build system (i.e. zig build --listen=-). The latter will act as a multiplexer for the former.

Once the initial implementation of both of these is created, follow-up issues can be made for specific features.

Activity

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

    enhancementSolving this issue will likely involve adding new logic or components to the codebase.frontendTokenization, parsing, AstGen, Sema, and Liveness.zig build systemstd.Build, the build runner, `zig build` subcommand, package management

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions