Skip to main content

AILANG Implementation Status

Current Version

Check GitHub Releases for the current stable version and CHANGELOG.md for detailed release notes.

Feature Documentation

All implemented features are documented in Design Documents, which is auto-generated from design_docs/implemented/. Each design doc describes a feature, bug fix, or architectural decision.

Recent versions with design docs:

  • v0.6.1 — M-VERIFY contracts, multi-executor support, bug fixes
  • v0.6.0 — Semantic caching, SharedIndex, codegen improvements
  • v0.5.10 — Unified AI providers, type debugging tools
  • v0.5.9 — Flat codegen, GitHub messaging, cyclic type diagnostics

Component Status

Core Language (Complete)

ComponentStatusNotes
LexerCompleteUnicode, all token types, ~550 LOC
ParserCompleteRecursive descent + Pratt parsing, ~1,200 LOC
Type SystemCompleteHindley-Milner, row polymorphism, type classes
EvaluatorCompleteTree-walking interpreter with modules
REPLCompleteHistory, completion, type checking
EffectsCompleteIO, FS, Net, Clock, Rand, DB, AI
ModulesCompleteImports, exports, cross-module calls
Go CodegenCompleteFull compilation to Go

AI-First Features (Complete)

FeatureStatusNotes
Inline TestsCompletetests [(input, expected)] syntax
Structured ErrorsCompleteJSON output, error codes
Schema RegistryCompleteVersioned JSON schemas
Teaching PromptsCompleteailang prompt command
Multi-Model EvalsCompleteClaude, GPT, Gemini support
Semantic CachingCompleteSimHash + neural embeddings

Verification (v0.6.1+)

FeatureStatusNotes
ContractsCompleterequires/ensures clauses
Policy ModeCompleteRedundant verification
SMT BackendPlannedZ3 integration

Known Limitations

See Limitations for the full list.

Active bugs:

  • Polymorphic arithmetic in lambdas panics (use named functions as workaround)
  • Pattern guards parsed but not evaluated

Not yet implemented:

  • String interpolation (use ++ concatenation)
  • ? error propagation operator
  • Typed quasiquotes
  • CSP concurrency (deferred)

Testing & Quality

CI

CI Pipeline

Every push runs comprehensive checks:

CheckCommandPurpose
Unit testsgo test ./...50+ packages with timeout protection
Parser testsmake test-parserGolden file comparison
Coverage gatesmake gate-all-packagesPer-package minimum thresholds
Golden driftmake check-golden-driftDetect unintended output changes
Fuzzingmake fuzz-parserRandom input testing
Import systemmake test-importsModule loading verification

Run Locally

# Quick test
make test

# Full coverage report
make test-coverage

# Coverage percentage
make test-coverage-badge

# Specific test suites
make test-parser # Parser golden tests
make test-imports # Import system
make test-stdlib-canaries # Standard library health

Example Validation

Example files serve as integration tests. Check current status in README or run:

make verify-examples      # Verify all examples
make update-readme # Update pass/fail counts

See Also