saqut-compiler/tests
saqut f607f43cc8 feat(faz0): tip sistemi + tanılama motoru (Type + DiagnosticEngine)
Faz 0 (#69) — frontend'in iki temel veri yapısı:

- src/core/type.hpp: Type (Primitive/Array/Struct/Function/Error),
  equals() (katı yapısal, gizli dönüşüm yok — ADR-010), toString(),
  toJson() (cam ilkesi), factory'ler ve fromName() yardımcısı.
- src/diagnostic/diagnostic.hpp: DiagLevel, Diagnostic (veri birincil),
  hata kataloğu (E001-E010, W001-W003) + jsonEscape + makeDiagnostic.
- src/diagnostic/diagnostic_engine.hpp: toplar (ilk hatada durmaz,
  ADR-013), printAll() (insan-okur, sıralı) + toJson() (makine-okur).
- tests/: çerçevesiz birim testleri + run.sh.

Header-only (ADR-003). -Wall -Wextra temiz. Henüz pipeline'a bağlı
değil; Faz 2/3 (sembol tablosu, tip denetleyici) bunları tüketecek.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 00:31:44 +03:00
..
run.sh feat(faz0): tip sistemi + tanılama motoru (Type + DiagnosticEngine) 2026-06-16 00:31:44 +03:00
test_diagnostic.cpp feat(faz0): tip sistemi + tanılama motoru (Type + DiagnosticEngine) 2026-06-16 00:31:44 +03:00
test_type.cpp feat(faz0): tip sistemi + tanılama motoru (Type + DiagnosticEngine) 2026-06-16 00:31:44 +03:00