Cyber Language Server


Cyber Language Server

LSP Implementation for the Cyber Language

Developed a full Language Server Protocol implementation in Rust for the Cyber language with advanced language features including completions, diagnostics, and hover information.

Technical Highlights

  • Used tower-lsp for async LSP communication with high performance
  • Leveraged tree-sitter for incremental parsing and efficient syntax analysis
  • Implemented concurrent document processing with Tokio and DashMap
  • Designed thorough error handling with anyhow and custom error types
  • Built with tracing for comprehensive logging and diagnostics

Features

  • Created advanced language features including completions
  • Implemented diagnostics and hover information
  • Built document parsing and syntax validation
  • Designed with an extensible architecture for future language features

GitHub Repository