LSP Native Architecture
Most languages treat Language Server Protocol as an afterthought. In Chimerix, the compiler is the
LSP server core.
The syntax tree is designed to be fully traversable and mutable by IDEs in real-time. Zero lag on completion
requests. Zero hacks.
; Hover over 'Database' to see types instantly
db = Database:connection_string
users = db >> query:"SELECT *"
Built-in Dependency Injection
Stop using heavy reflection libraries or confusing decorators. Chimerix has a $ operator
specifically for DI.
The compiler resolves dependency graphs at compile time. If a dependency is missing, it won't compile. No
runtime surprises.
; Define a service
Logger = (output = $ConsoleOutput)
; No manual instantiation needed!
App = (
log = $Logger ; Injected automatically
run = log:info:"Started"
)
Data-First Design
Using the = operator for definitions and : for arguments creates a syntax that reads
like configuration files, but executes like optimized binary.