Overview
Simplex is a self-hosted language - the compiler is written in Simplex itself. These metrics provide transparency into the codebase size and composition.
Lines of Code
Breakdown of Simplex source code by category. Production code includes the compiler, runtime libraries, and tools. Test code ensures reliability.
| Category | Files | Lines |
|---|---|---|
| Simplex Production | 70 | 38,614 |
| Simplex Tests | 161 | 32,608 |
| C Runtime | - | 16,160 |
| Python Bootstrap | - | 9,555 |
Test Coverage
Strong test-to-production ratio (0.84:1) demonstrates commitment to reliability. 161 test files cover all language features including the new simplex-learning library.
Language Constructs
Count of major language constructs defined across the codebase. This includes cognitive AI primitives unique to Simplex.
Cognitive AI Constructs
Simplex introduces first-class AI primitives for building cognitive systems.
simplex-learning Library (v0.7.0)
The real-time learning library enables specialists to adapt during runtime.
Binary Sizes
Compiled binary sizes for Simplex tools. Simplex produces compact, efficient binaries through LLVM optimization.
| Binary | Purpose | Size |
|---|---|---|
sxc-compile |
Main compiler driver | 416 KB |
sxpm |
Package manager | 394 KB |
cursus |
Test runner | 227 KB |
sxdoc |
Documentation generator | 225 KB |
sxlsp |
Language server (IDE support) | 220 KB |
Documentation
Comprehensive documentation is a priority for Simplex.
Standard Library
The Simplex standard library provides essential modules for common tasks.
cli
Command-line argument parsing
crypto
Cryptographic primitives
http
HTTP client and server
json
JSON parsing and serialization
log
Structured logging
regex
Regular expressions
sql
Database connectivity
test
Testing framework
toml
TOML configuration parsing
uuid
UUID generation
docs
Documentation utilities
simplex-learning
Real-time learning (v0.7.0)
Largest Files
The largest source files reflect the complexity centers of the compiler.
Development Activity
Simplex is in active development. Statistics from the Git repository.
Get Involved
Simplex is open source and welcomes contributions. Visit the Get Involved page to learn how you can help.
Last updated: January 10, 2026 • v0.7.0 • View source on GitHub