Skip to main content
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.

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-tr

Evidence: 10,000 deterministic EN/TR round trips, complete alias coverage, Core/CLI/LSP parity, packed-package checks, and a 1 MB performance ratchet.

usekullan
measureölç
resetsıfırla
ifeğer
elsedeğilse
forher
repeattekrarla
assertdoğrula
paramparametre
traineğit
objectivehedef
optimizereniyileyici
stepsadımlar
losskayıp
datasetverikümesi
minimizeazalt
maximizeartir
untildek
maxmaks
showgöster
probabilityolasılık
expectationbeklenti
entangleddolanık
andve
orveya
notdeğil

Runtime-verified Turkish starter

@dil("tr");module turkce_bell; fn main() {  let q = qreg[2];  H(q[0]);  CNOT(q[0], q[1]);  doğrula entangled(q[0], q[1]);  let sonuc = ölç(q[0]);  eğer (sonuc == 1) { X(q[1]); }  return sonuc;}

The preserve formatter keeps Turkish tokens, comments, imports, and block structure. canonical-en and localized-tr are explicit conversion modes.