Skip to content

Using the Zig Compiler's Incremental Semantic Analysis as a Foundation for Near-instant Code Feedback via LSP

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE-ZIG
MIT
LICENSE-ZLS
Notifications You must be signed in to change notification settings

llogick/zigscient-next

Repository files navigation

Using the Zig Compiler's Incremental Semantic Analysis as a Foundation for Near-instant Code Feedback via LSP

zigscient-next

Status

This project is a proof-of-concept/viability effort. The intention is to demonstrate the potential of using Zig's incremental semantic analysis for near-instant code feedback via LSP, and as a potential bridge between today and when the Zig Compile Server emerges.

Important Notes

Server Requirements

The server requires a valid workspace folder path to be passed in the initialize request by the editor. If an editor does not provide this information, the server will fall back to basic functionality.

Correct Modules Lookup

To ensure correct modules lookup, please refer to the wiki page.

Building

Note

This is a resource-intensive piece of software, so a capable CPU with good single-thread performance is recommended.

zig build -Doptimize=ReleaseFast --zig-lib-dir ./lib/

About

Using the Zig Compiler's Incremental Semantic Analysis as a Foundation for Near-instant Code Feedback via LSP

Topics

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE-ZIG
MIT
LICENSE-ZLS

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published