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/ and always lists the latest versions — no hand-maintained list here.


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, Process
ModulesCompleteImports, exports, cross-module calls
Bytecode VMPartialrun --bytecode, ~40× faster than the evaluator; 142 of 205 runnable examples run fully on the VM, the rest fall back to the evaluator (--strict-bytecode fails instead)
Go CodegenPartialcompile --emit-go: values boxed as interface{}, no tail-call elimination; --emit-go-v2 is frozen

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 BackendCompleteZ3 integration, cross-function inlining
Bounded RecursionComplete--verify-recursive-depth N (Dafny-style unrolling)

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:

  • ? 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​