How zuhanit/epscript-lsp works
Main Components
a. Client-Side (VSCode Extension)
• Components:
• Extension Host (extension.ts)
• Build Manager
• EPS Client
• Offset Manager
b. Language Server (Core)
• This in the middle
• Components:
• Server Core (epsServer.ts)
• Parser System
• Context Manager
• Document Providers
• Diagnostic Manager
• Language Manager
c. Supporting Systems
• On the sides
• Components:
• Grammar System (ANTLR4 based)
• Symbol Table
• Evaluator System
• Built-ins Handler
Specific Implementation Details to Highlight
• Language Features:
• Code Completion
• Hover Support
• Highlights
• Signature Help
• Jump to Declaration
• Diagnostics
• Semantic Tokens
• Build System:
• euddraft Integration
• Build Manager
• Offset Selection
Additional Elements
Supporting elements:
• Configuration Systems
• I18n Support (showing language options)
• Test Infrastructure
• Webpack Build Pipeline
Architectural Patterns to Emphasize
Clear separation of:
• Client/Server Architecture
• Listener Pattern Implementation
• Symbol Table Hierarchy
• Evaluation Pipeline
LSP Protocol
• LSP protocol boundary between client and server
• Supported message types
File Organization
• Packages structure (editors, server, types)
• Configuration file locations
Build System Integration
• How the build manager integrates with euddraft
• Offset management system
Keep the abstraction level high enough to show the overall architecture but detailed enough to show the unique features of this epScript implementation.