Overview

Simplex is a self-hosted language - the compiler is written in Simplex itself. These metrics provide transparency into the codebase size and composition.

71,222
Total Lines of Simplex
231
Simplex Files (.sx)
16,160
Lines of C Runtime
20,042
Lines of Documentation

Lines of Code

Breakdown of Simplex source code by category. Production code includes the compiler, runtime libraries, and tools. Test code ensures reliability.

Production Code
38,614
Test Code
32,608
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.

3,167
Functions
233
Structs
65
Enums
30
Traits

Cognitive AI Constructs

Simplex introduces first-class AI primitives for building cognitive systems.

10
Specialists
6
Actors
4
Hives

simplex-learning Library (v0.7.0)

The real-time learning library enables specialists to adapt during runtime.

21,812
Lines in simplex-learning

Binary Sizes

Compiled binary sizes for Simplex tools. Simplex produces compact, efficient binaries through LLVM optimization.

sxc-compile
416 KB
sxpm
394 KB
cursus
227 KB
sxdoc
225 KB
sxlsp
220 KB
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.

40
Documentation Files
20,042
Lines of Docs
501
Avg Lines/File

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.

codegen.sx
5,442
sxpm.sx
2,552
parser.sx
2,529
main.sx
1,776
compiler.sx
1,655

Development Activity

Simplex is in active development. Statistics from the Git repository.

44
Commits (Jan 2026)
1
Contributors
0.7.0
Current Version

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