Home /Modules/ide/SLEELA.IDE.CONTRACT.md

SLEELA.IDE.CONTRACT.md

ide/SLEELA.IDE.CONTRACT.md · 39 line(s) · markdown

SLeeLa IDE Contract

Version: 0.1.0-dev

Authoritative sources

Required services

ServiceContract
LexingUse the SLeeLa token inventory
ParsingPreserve compiler grammar and source locations
PSIRepresent declarations, references, expressions, types and modules
SymbolsResolve source plus indexed /lib objects
TypesConsume compiler semantic results
DiagnosticsPreserve category, severity, range, message and origin
FormattingNever alter semantics
BuildInvoke repository build contract
RunInvoke repository runtime contract
TestDiscover supported test suites
DebugMap source locations to debugger locations
VersioningRespect #sleela language-version rules

Compiler positions are one-based at the boundary; IDE offsets must convert explicitly.

Failure rule

Compiler, build, runtime and debugger failures remain IDE-visible failures. Adapters must not convert unsuccessful operations into successful task results.

Mixed-language rule

C, C++, and Java language semantics remain delegated to their host tooling. SLeeLa tooling owns source discovery, dependency metadata, native/JVM invocation, ABI metadata, and declared interop navigation.