How crutchcorn/ee-templating-language works
Main Components Identification
The project is a Language Server Protocol (LSP) based VSCode extension with three main packages:
• VSCode Extension Package
• Language Server
• Custom Compiler
Connection and Data Flow
VSCode Extension
• ↕ (LSP Protocol)
Language Server
• ↕ (Compilation Requests)
Compiler Pipeline
Important Details
a) File Processing Flow:
.ee Files → VSCode Extension → Language Server → Compiler → JSON Output
b) Compiler Pipeline Detail:
Source → Root Lexer → Root Tokens → Root Parser → Output Transformer → Final Output
Technical Details to Note
• The project uses pnpm workspaces
• TypeScript is used throughout
• VSCode extension API integration
• Language Server Protocol implementation
This architecture represents a typical language tooling project with IDE integration, making it important to show both the development-time components (like the debug configurations) and the runtime components (like the language server and compiler pipeline).