Skip to content
samucaoo1Public

About

Cosmeron — Built for those willing to explore beyond the expected path. Modular, header-only C11 library for portable systems programming: algorithms, data structures, networking, concurrency, math and TUI.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Cosmeron — A Universe Beyond

A Universe Beyond
Version 1.0.0 · Nebula

C11 Platforms License Entropy Lines of Code

Cosmeron is a zero-dependency C11 ecosystem and standard library built around of Cosmic DSL for safe, modular, and portable systems programming—targeting native platforms (Linux, BSD, macOS, Windows) as well as WebAssembly (WASI / Emscripten).

Development Progress

Overall Progress: 28.6% (6/21 modules)

MODULES
├── Core              [####################] 100%
├── Container         [####################] 100%
├── Math              [####################] 100%
├── Numeric           [####################] 100%
├── Text              [####################] 100%
└── Tuple             [####################] 100%

ROADMAP
├── Audio             [....................]   0%
├── Chronometry       [....................]   0%
├── CLI               [....................]   0%
├── Compression       [....................]   0%
├── Concurrency       [....................]   0%
├── Database          [....................]   0%
├── File              [....................]   0%
├── Graphics          [....................]   0%
├── Input             [....................]   0%
├── Logging           [....................]   0%
├── Network           [....................]   0%
├── Parsing           [....................]   0%
├── Random            [....................]   0%
├── Security          [....................]   0%
└── Sort              [....................]   0%

Progress represents the implementation and refactoring status of each module, not test coverage.


Documentation


License

Cosmeron is licensed under the European Union Public Licence 1.2 (EUPL-1.2). The canonical licence is available in the repository root as LICENSE, with official language copies in English, Português, and Español.


Cosmic DSL - The brand new Declarative C11 DSL

Cosmeron replaces ad-hoc boilerplate with a clean, type-safe declarative DSL in pure C11:

  • Modules & Packages (MODULE, PACKAGE): Unified namespacing with zero global namespace pollution.
  • Objects & Pure POD Structs (OBJECT, STRUCT): Encapsulated types and zero-overhead data containers.
  • Strict Function Contracts: OPERATION, PREDICATE, FUNCTION, PROCEDURE and COMPARISON.
  • Dual-Mode Templates: TEMPLATE_OBJECT, TEMPLATE_PACKAGE, TEMPLATE_STRUCT.
  • X-Macro Enums, Callbacks & Events: Zero-heap-allocation reactive events and type-safe callbacks.

Targets & Pre-Release

  • Native: Linux, FreeBSD, OpenBSD, NetBSD, macOS, Windows.
  • WebAssembly: WASI and Emscripten.
  • Refactored vs. Pending: See the Roadmap.

Repository Structure

Cosmeron/
├── Codespace/
│   ├── Cosmeron/
│   ├── Tests/
│   └── Examples/
├── Roadmap/
├── Docs/
│   ├── en/
│   ├── pt/
│   └── es/
└── .github/

Governance

About

Cosmeron — Built for those willing to explore beyond the expected path. Modular, header-only C11 library for portable systems programming: algorithms, data structures, networking, concurrency, math and TUI.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages