00
Language v0.2.0 · Preview
N/M Turkish source reference
Preferred Turkish keywords, portable ASCII aliases, source-preserving formatting behavior, and a starter program verified by the runtime test suite.
01
Source formatting and Turkish compatibility contract
The 0.1 contracts freeze three formatter modes and the preferred Turkish keyword registry. Conversion is token-based and deterministic; it never rewrites identifiers by substring.
formatter 0.1TR source 0.1
Every original LF, CRLF, or CR separator is preserved independently, including mixed-newline documents.
String contents, line comments, and block comments are never localized. Structural braces inside them do not affect indentation.
Portable ASCII aliases remain readable. localized-tr writes the preferred Unicode spelling; canonical-en writes the canonical English token.
The 0.1 alias registry is additive within the same contract line. Removing or changing an accepted alias requires deprecation guidance and a new contract version.
nm fmt main.nm --mode preservenm fmt main.nm --mode canonical-ennm fmt main.nm --mode localized-trEvidence: 10,000 deterministic EN/TR round trips, complete alias coverage, Core/CLI/LSP parity, packed-package checks, and a 1 MB performance ratchet.
usekullanmeasureölçresetsıfırlaifeğerelsedeğilseforherrepeattekrarlaassertdoğrulaparamparametretraineğitobjectivehedefoptimizereniyileyicistepsadımlarlosskayıpdatasetverikümesiminimizeazaltmaximizeartiruntildekmaxmaksshowgösterprobabilityolasılıkexpectationbeklentientangleddolanıkandveorveyanotdeğilRuntime-verified Turkish starter
1@dil("tr");2module turkce_bell;3 4fn main() {5 let q = qreg[2];6 H(q[0]);7 CNOT(q[0], q[1]);8 doğrula entangled(q[0], q[1]);9 let sonuc = ölç(q[0]);10 eğer (sonuc == 1) { X(q[1]); }11 return sonuc;12}The preserve formatter keeps Turkish tokens, comments, imports, and block structure. canonical-en and localized-tr are explicit conversion modes.