Skip to content

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

@andrewrk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedThis proposal is planned.enhancementSolving this issue will likely involve adding new logic or components to the codebase.frontendTokenization, parsing, AstGen, Sema, and Liveness.proposalThis issue suggests modifications. If it also has the "accepted" label then it is planned.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