"To name is to invoke. To invoke is to bind. To bind is to compute."
CCT is a compiled, ritual-themed programming language with deterministic sigil generation.
System sigil generated from a multi-module CCT program (Ars Magna Omniversal)
Each program generates a unique, deterministic visual sigil representing its structure, calls, and module dependencies
Open the SVG in a browser and hover the circles and lines: sigilo components now reveal ritual names, statement kinds, call edges, and source context through native SVG tooltips.
Animated execution trace from the creator-platform example — open in a browser to watch it play
FASE 39: live trace correlation overlaid on the route sigil. Each span is color-coded by operational category (SQL, cache, storage, transcode, mail, auth…) and arrives at its node in temporal order. The timeline below shows relative durations per depth layer. Slow spans glow; unresolved spans are never silently dropped.
Current status: FASE 40 completed (security/cryptography, advanced text and parsing, logging and runtime diagnostics, Sigilo Vivo foundations, operational database, transactional mail, runtime instrumentation, trace visualization, and media bridges and packaging are now closed on the validated baseline).
Platform validation note: the current implementation has not yet been validated on Linux. Development to date have been built on macOS. Previous release v0.19 includes Linux binaries.
Implemented phases: 0 -> 40, plus the interstitial FASE 14T closure.
Phase-reference convention: phase labels found in file/module headers, local markers, or help text may refer to the phase in which that specific component was introduced or stabilized. They are historical markers and do not necessarily represent the current global project status shown above.
Highlights of the current baseline:
- Real end-to-end compiler pipeline (
.cct -> parse/semantic -> codegen -> .cgen.c -> host C compiler -> binary) - Deterministic sigil generation (
.svg+.sigil) integrated into normal compile and--sigilo-only - Sigils are no longer static pictures only: local and system SVG components can be hovered directly in the browser
- Multi-module support with
ADVOCARE, cycle detection, direct-import visibility rules, and internal visibility viaARCANUM - Modular sigils with two official emission modes (
essencial/completo, aliasesessential/complete) - Advanced typing subset consolidated:
GENUS,PACTUM, and basic constraintsGENUS(T PACTUM C) - Bibliotheca Canonica foundation: reserved namespace
cct/...with canonical stdlib resolution - Canonical text-core module:
cct/verbum(len,concat,compare,substring,trim,contains,find) - Canonical formatting/conversion module:
cct/fmt(stringify_*,fmt_parse_*,format_pair) - Canonical static-collection module:
cct/series(series_len,series_fill,series_copy,series_reverse,series_contains) - Canonical baseline algorithms module:
cct/alg(alg_linear_search,alg_compare_arrays,alg_binary_search,alg_sort_insertion) - Canonical memory utility module:
cct/mem(alloc,free,realloc,copy,set,zero,mem_compare) - Canonical dynamic-vector module:
cct/fluxus(fluxus_init,fluxus_free,fluxus_push,fluxus_pop,fluxus_len,fluxus_get,fluxus_clear,fluxus_reserve,fluxus_capacity) - Canonical IO module:
cct/io(print,println,print_int,read_line) - Canonical filesystem module:
cct/fs(read_all,write_all,append_all,exists,size) - Canonical path module:
cct/path(path_join,path_basename,path_dirname,path_ext) - Canonical math module:
cct/math(abs,min,max,clamp) - Canonical random module:
cct/random(seed,random_int,random_real) - Canonical parse module:
cct/parse(parse_int,parse_real,parse_bool) - Canonical compare module:
cct/cmp(cmp_int,cmp_real,cmp_bool,cmp_verbum) - Canonical Option/Result modules:
cct/optionandcct/result(Some/None,Ok/Err,unwrap/unwrap_or/expect) - Moderate canonical algorithm extras:
cct/alg(alg_binary_search,alg_sort_insertion) - Canonical public showcases for stdlib usage (
string,collection,io/fs,parse/math/random,multi-module) - Sigilo metadata now exposes stdlib usage counters and module list in showcase/public flows
- Final stdlib stability matrix and release notes are published for the 11H freeze
- Relocatable distribution bundle (
make dist) with wrapper-based stdlib resolution - Structured diagnostics with source snippets and actionable suggestions (FASE 12A)
- Numeric cast expression baseline (
cast GENUS(T)(value)) in FASE 12B - Functional error ergonomics via Option/Result in FASE 12C
- Hash-backed canonical collections via
cct/mapandcct/setin FASE 12D.1 - Functional collection combinators via
cct/collection_opsin FASE 12D.2 (fluxus_map,fluxus_filter,fluxus_fold,fluxus_find,fluxus_any,fluxus_all,series_map,series_filter,series_reduce,series_find,series_any,series_all) - Baseline collection iterator syntax from FASE 12D.3, expanded in FASE 19D.1 to
map/set(ITERUM key, value IN mapandITERUM item IN set) - Standalone formatter command in FASE 12E.1 (
cct fmt,cct fmt --check,cct fmt --diff) - Canonical linter command in FASE 12E.2 (
cct lint,cct lint --strict,cct lint --fix) - Canonical project workflow in FASE 12F (
cct build,cct run,cct test,cct bench,cct clean) with basic incremental cache - Canonical documentation generator in FASE 12G (
cct doc) for module/symbol API pages (markdown/html) - Common math operators in FASE 13M:
**(power),//(floor integer division),%%(euclidean modulo) - FASE 14A hardening: canonical diagnostic taxonomy + canonical exit-code contract + sigilo explain mode + deterministic sigilo diagnostic ordering
- FASE 14T sigilo instrumentation: native SVG
<title>hover on semantic elements, deterministic additivedata-*on local nodes/call edges, lightweight root semantics, and explicit enable/disable toggles - FASE 15 closure set:
FRANGE/RECEDEloop-control stability, logicalET/VELwith precedence/parentheses, stable bitwise/shift operators, andCONSTANSsemantic+codegen enforcement (locals, parameters, and const-pointer binding) - FASE 16 closure set: freestanding profile (
--profile freestanding), bridge-safecct/kernel, ASM emission path (--emit-asm), and bridge packaging gates - FASE 17/18 canonical-library expansion: text/parsing/IO/FS/path utilities, algorithms/collections growth, plus
process,hash, andbitmodules - FASE 19 language-surface expansion:
ELIGE/CASUS/ALIOQUIN(with legacyCUMcompatibility),FORMA, payloadORDO, andITERUMovermap/setwith insertion-order semantics - FASE 20 application-library expansion:
cct/json,cct/socket,cct/net,cct/http,cct/config, andcct/db_sqlite - FASE 21-29 bootstrap closure: lexer, parser, semantic analyzer, codegen, stage0/stage1/stage2 self-host convergence
- FASE 30 operational closure: self-hosted project workflows, mature
csv/https/orm_lite, and final operational handoff - FASE 31 promotion closure:
./cctis now the default wrapper, with./cct-hostand./cct-selfhostexposed explicitly and./cct --which-compilerreporting the active mode - Aggregated whole-project validation now extends through promotion with
make test-all-0-31andmake test-phase31-final - FASE 32 security/media:
cct/crypto(SHA-256/512, HMAC, PBKDF2, CSPRNG),cct/encoding(base64, hex, URL, HTML),cct/regex,cct/date/cct/datetime,cct/toml,cct/compress(gzip),cct/filetype,cct/media_probe,cct/image_ops,cct/text_lang - FASE 33 text and parsing:
cct/verbumexpansion (split/join, predicates, pad, repeat, regex-split),cct/lexer_util,cct/uuid(v4/v7),cct/slug,cct/gettext,cct/form_codec - FASE 34 observability:
cct/log(structured, sinks, rate-limiting),cct/trace(spans,.ctraceformat),cct/metrics(counter/gauge/histogram, Prometheus export),cct/signal,cct/fs_watch,cct/audit - FASE 35 Sigilo Vivo foundations: route structural metadata, web-focused navigable SVG,
.ctraceviewer CLI (cct sigilo trace view), external framework manifests (.system.sigil) - FASE 36 operational database:
cct/db_postgres(prepared statements, LISTEN/NOTIFY, JSONB/ARRAY/UUID),cct/db_postgres_search(FTS builders, GIN index),cct/redis(strings/hashes/lists/sets/pub-sub, raw RESP escape hatch),cct/db_postgres_lock(advisory locks, try-lock, lock-with) - FASE 37 transactional mail:
cct/mail(SMTP with PLAIN/LOGIN/STARTTLS/SMTPS, file/memory backends),cct/mail_spool(persistent queue with exponential-backoff retry),cct/mail_webhook(delivery/bounce/complaint normalization for Mailgun/SendGrid) - FASE 38 runtime instrumentation:
cct/instrument(span emission by category: DB/CACHE/STORAGE/MAIL/TASK/HTTP; off-by-default, zero overhead when inactive),cct/context_local(request/task-scoped key-value store forrequest_id,trace_id,user_id,locale,route_id) - FASE 39 trace visualization: animated SVG renderer overlaying
.ctraceonto route sigil (timeline, step-by-step, comparison mode), operational category overlay system with stable color palette and exportable CSS (cct sigilo trace render,cct sigilo trace compare) - FASE 40 media bridges and packaging:
cct/media_store(local store with tmp/quarantine/processed/public/private zones, UUID/hash naming, SHA-256 checksum, atomic promotion viarename(2)),cct/archive_zip(ZIP creation, text/file entry writing, safe extraction, path-traversal rejection at API level),cct/object_storage(optional S3-compatible bridge: upload, download, delete, signed URL; works with AWS S3, MinIO, Cloudflare R2)
CCT documentation is organized by audience and purpose. Choose your reading path:
- This README (you're reading it!)
- Installation Guide - Setup and verification
- Current Release Status Through FASE 31 - Compiler and bootstrap validated baseline at a glance
- FASE 40 Release Notes - Media bridges and packaging closure summary
- Spec - Sections 1-3, 12 - Basic syntax and examples
- Project Conventions - Code organization
- Examples Catalog - Runnable examples including the FASE 20 app stack
Estimated time: 1 hour
- Language Specification - Complete language reference
- Bibliotheca Canonica - Standard library guide
- FLUXUS Usage - Dynamic vectors in depth
- Build System - Project workflow
- Mail Configuration Guide - How CCT applications should configure SMTP/file/memory backends
- Trace Capture Guide - Live request capture windows and
.ctraceexport for Sigilo replay - Self-Hosting Guide - Bootstrap, promotion, and operational modes
- Explore
examples/showcase_stdlib_*.cctfor real-world patterns - Explore
examples/*_20f2.cctfor JSON/network/HTTP/config/SQLite flows
Estimated time: 4-6 hours
- Spec - Sections 1, 4-11, 20 - Language reference plus the FASE 31 compiler-entry addendum
- Bibliotheca Canonica - Sections 12+ - Stdlib API
- Linter Rules - Lint rule reference
- Doc Generator - Doc comment syntax
- Testing Guide - Post-FASE-31 validation model
- Architecture - Compiler internals
- Roadmap - Phase history and future plans
- Release Status Through FASE 31 - Current cross-phase validation and release baseline
- Release Documentation:
- FASE 40 Release Notes - Media bridges and packaging closure summary
- FASE 39 Release Notes - Trace visualization closure summary
- FASE 38 Release Notes - Runtime instrumentation closure summary
- FASE 37 Release Notes - Transactional mail closure summary
- FASE 36 Release Notes - Operational database closure summary
- FASE 35 Release Notes - Sigilo Vivo foundations closure summary
- FASE 34 Release Notes - Logging and runtime diagnostics closure summary
- FASE 33 Release Notes - Advanced text and parsing closure summary
- FASE 32 Release Notes - Security, cryptography, and media closure summary
- FASE 31 Release Notes - Self-hosted compiler promotion closure summary
- FASE 30 Release Notes - Operational self-hosted platform closure summary
- FASE 29 Release Notes - Self-host convergence and identity-validation summary
- FASE 28 Release Notes - Advanced bootstrap codegen closure summary
- FASE 27 Release Notes - Structural codegen closure summary
- FASE 26 Release Notes - Bootstrap codegen foundation summary
- FASE 25 Release Notes - Bootstrap generic semantic closure summary
- FASE 24 Release Notes - Bootstrap semantic-core summary
- FASE 23 Release Notes - Advanced bootstrap parser closure summary
- FASE 22 Release Notes - Bootstrap parser-core summary
- FASE 21 Release Notes - Bootstrap lexer/foundation closure summary
- FASE 20 Release Notes - Application-library stack closure summary
- FASE 19 Release Notes - FASE 19 language-surface closure summary
- FASE 18 Release Notes - Canonical-library expansion closure summary
- FASE 17 Release Notes - Canonical-library expansion highlights
- FASE 16 Release Notes - Freestanding/bridge trajectory summary
- FASE 15 Release Notes - Semantic/operator closure summary
- FASE 14T Release Notes - Sigilo hover and additive metadata closure summary
- FASE 14 Release Notes - Hardening-stream highlights
- FASE 13 Release Notes - Highlights and migration guide
- FASE 12 Release Notes - FASE 12 delivery summary
- FASE 11 Release Notes - Early stdlib/platform notes
Estimated time: 3-4 hours
- spec.md: Authoritative language reference (what is valid CCT)
- architecture.md: How the compiler works internally
- bibliotheca_canonica.md: Standard library concepts and APIs
- roadmap.md: Where we came from, where we're going
- release/: phase release notes and public-facing closure summaries
Primary docs:
docs/spec.mddocs/architecture.mddocs/roadmap.mddocs/bibliotheca_canonica.mddocs/release/STATUS_0_31.md— current cross-phase release status indexdocs/release/STATUS_0_30.md— historical pre-promotion release status snapshotdocs/release/— phase release-note archive through FASE 40
Tooling and guides:
docs/install.mddocs/build_system.mddocs/project_conventions.mddocs/testing.mddocs/mail_configuration.mddocs/self_hosting.mddocs/fluxus_usage.mddocs/linter.mddocs/doc_generator.mddocs/sigilo_operations_14b2.md
Project and phase dossiers:
PROJETO_CCT.mdPROJETO_CCT_V2.mdmd_out/FASE_*_CCT.md(phase execution plans and records, including the full FASE 19 track)
The current project baseline is FASE 40 completed. Historical and bootstrap-era release packages remain available for traceability, migration references, and operational handoff.
Current-phase release documentation (32-40):
docs/release/FASE_40_RELEASE_NOTES.md— media bridges and packaging (media_store,archive_zip,object_storage)docs/release/FASE_39_RELEASE_NOTES.md— trace visualization (animated SVG renderer, operational category overlays)docs/release/FASE_38_RELEASE_NOTES.md— runtime instrumentation (instrument,context_local)docs/release/FASE_37_RELEASE_NOTES.md— transactional mail (mail,mail_spool,mail_webhook)docs/release/FASE_36_RELEASE_NOTES.md— operational database (db_postgres,db_postgres_search,redis,db_postgres_lock)docs/release/FASE_35_RELEASE_NOTES.md— Sigilo Vivo foundations (route metadata, navigable SVG,.ctraceviewer, framework manifests)docs/release/FASE_34_RELEASE_NOTES.md— logging and diagnostics (log,trace,metrics,signal,fs_watch,audit)docs/release/FASE_33_RELEASE_NOTES.md— advanced text and parsing (verbumexpansion,lexer_util,uuid,slug,gettext,form_codec)docs/release/FASE_32_RELEASE_NOTES.md— security, cryptography, and media (10 modules)
Bootstrap and promotion release documentation (21-31):
docs/release/FASE_31_RELEASE_NOTES.md— compiler-promotion and wrapper-mode closure summarydocs/release/FASE_30_RELEASE_NOTES.md— operational self-hosted platform closure summarydocs/release/FASE_29_RELEASE_NOTES.md— self-hosting convergence and stage-identity closure summarydocs/release/FASE_28_RELEASE_NOTES.md— advanced bootstrap codegen closure summarydocs/release/FASE_27_RELEASE_NOTES.md— structural codegen (SIGILLUM,ORDO,ELIGE) closure summarydocs/release/FASE_26_RELEASE_NOTES.md— bootstrap codegen foundation closure summarydocs/release/FASE_25_RELEASE_NOTES.md— bootstrap generic semantic closure summarydocs/release/FASE_24_RELEASE_NOTES.md— bootstrap semantic core closure summarydocs/release/FASE_23_RELEASE_NOTES.md— advanced bootstrap parser closure summarydocs/release/FASE_22_RELEASE_NOTES.md— bootstrap parser-core closure summarydocs/release/FASE_21_RELEASE_NOTES.md— bootstrap foundations and lexer closure summary
Historical package documentation:
docs/release/FASE_20_RELEASE_NOTES.md— FASE 20 application-library stack closure summarydocs/release/FASE_19_RELEASE_NOTES.md— FASE 19 language-surface closure summarydocs/release/FASE_18_RELEASE_NOTES.md— FASE 18 canonical-library expansion summarydocs/release/FASE_17_RELEASE_NOTES.md— FASE 17 canonical-library expansion summarydocs/release/FASE_16_RELEASE_NOTES.md— FASE 16 freestanding/bridge summarydocs/release/FASE_15_RELEASE_NOTES.md— FASE 15 semantic/operator closure notesdocs/release/FASE_14T_RELEASE_NOTES.md— FASE 14T sigilo hover/additive metadata closure notesdocs/release/FASE_14_RELEASE_NOTES.md— Hardening-stream release notesdocs/release/FASE_13_RELEASE_NOTES.md— Highlights and operational guidancedocs/release/FASE_12_RELEASE_NOTES.md— FASE 12 delivery notesdocs/release/FASE_11_RELEASE_NOTES.md— Early stdlib/platform release notes- detailed matrices/snapshots from older phases were archived from the public
docs/releasesurface
Quick reference:
- FASE 0-20 public contracts remain stable
- FASE 21-29 closed the bootstrap compiler stack through self-host convergence
- FASE 30 closed the operational self-host platform baseline
- FASE 31 closed promotion of the self-hosted compiler to the default path
- FASE 32-40 closed the standard library expansion through security, text, observability, Sigilo Vivo, database, mail, instrumentation, trace visualization, and media bridges/packaging
make test-all-0-31remains the authoritative whole-project validation path for the compiler and bootstrap layers- Zero silent-breaking-change policy remains active
See docs/roadmap.md, docs/spec.md, and docs/release/STATUS_0_31.md for compiler baseline details.
--profile freestanding,--emit-asm, and entrypoint contract stabilizationcct/kernelmodule family for freestanding-only targets- host behavior preserved while bridge/ABI/linkability gates were added
- 17: tooling-oriented modules (
char,args,verbum_scan,verbum_builder,code_writer,env,time,bytes) - 18: broad stdlib growth (
verbum,fmt,parse,fs,io,path,fluxus,set,map,alg,series,random) - 18: new modules
process,hash, andbit
ELIGEwithCASUS/ALIOQUINfor integer,VERBUM, andORDO(CUMremains accepted as a legacy alias)FORMAinterpolation with format specifiers- payload-capable
ORDOandELIGEdestructuring ITERUMexpanded tomapandset
cct/jsonfor canonical JSON values, parser, stringify/pretty-print, navigation, and mutation helperscct/socket/cct/netfor host-only TCP/UDP runtime bridging and ergonomic text/network helperscct/httpfor HTTP/1.1 request/response modeling, parsing, client flows, and single-request server handlingcct/configfor INI configuration parsing, typed access, writing, env overlays, and JSON bridgingcct/db_sqlitefor host-only SQLite open/query/prepare/transaction/scalar workflows
- 21-28: bootstrap compiler foundations through advanced parser, semantic, and codegen closure
- 29: stage0/stage1/stage2 self-host convergence and identity validation
- 30: operational self-host workflows, mature application-library subset, and final operational handoff
cct/crypto: SHA-256/512, HMAC-SHA256/512, PBKDF2, CSPRNG, constant-time comparisoncct/encoding: base64 (standard and URL-safe), hex, URL percent-encoding, HTML entitiescct/regex: compile, match, search, find-all, replace, split; flags: case-insensitive, multiline, dotallcct/date/cct/datetime: ISO 8601 parsing, formatting,add_days/add_months, timezone, Unix timestampscct/toml: file/string parsing, table/array/scalar access, environment variable overlaycct/compress: gzip compression and decompression via zlibcct/filetype: magic-byte detection (image, video, audio, document, text)cct/media_probe: codec, resolution, FPS, bitrate, duration via ffprobecct/image_ops: load, save, resize, crop, rotate, format conversion (JPEG/PNG/GIF/BMP/WebP)cct/text_lang: automatic language detection for 10 languages via n-gram analysis
cct/verbumexpansion:split/join,starts_with/ends_with/contains,repeat,pad_left/pad_right,trimvariants, case conversion, regex split/replacecct/lexer_util: generic scanner with position tracking,consume/peek/skip_whitespace, error reporting with source contextcct/uuid: UUID v4 (random), v7 (timestamp-ordered), parse, validate, string/byte conversioncct/slug: accent normalization, lowercase, hyphen-separated;slug_uniquewith suffix guaranteecct/gettext: translation catalogs by locale, singular/plural, fallback to default localecct/form_codec:application/x-www-form-urlencodedparse/encode, multi-value query strings, correct percent-encoding
cct/log: levels DEBUG→CRITICAL, sinks (stderr/file/callback), JSON format, rate limiting, per-module level inheritancecct/trace:trace_open/trace_close/trace_attr, automatic parent-child hierarchy,.ctraceJSON Lines serialization,trace_read/trace_writecct/metrics: counter/gauge/histogram with labels, in-memory registry, Prometheus text export, JSON exportcct/signal: SIGTERM/SIGINT/SIGHUP capture, cooperative shutdown callbacks,signal_poll/signal_wait_anycct/fs_watch: create/modify/remove/move events, debounce, inotify (Linux) / kqueue (macOS) / polling fallbackcct/audit: append-only JSON Lines with timestamp and sequence number, optional hash chaining, configurable flush policy
- Route structural metadata:
SigilRoute,SigilGroup,SigilMiddleware,SigilHandlerentities; additive serialization into.sigil - Web-focused navigable SVG: HTTP method badges, middleware chains, endpoint grouping;
cct sigilo routes list/show .ctraceformat: JSON Lines one span per line, tolerant and strict parsers;cct sigilo trace view(terminal tree + flat timeline),cct sigilo trace export(SVG)- External framework manifests (
.system.sigil): routes/middleware/pages/tasks without compiler coupling;cct sigilo manifest validate/merge
cct/db_postgres:postgres_open/prepare/bind_*/step/column_*/finalize/close; transactions; LISTEN/NOTIFY; JSONB/ARRAY/UUID types; API parity withdb_sqlitecct/db_postgres_search: FTS query/rank/headline builders (no string concatenation),to_tsquery/ts_rank/ts_headlineSQL fragments, GIN index helperscct/redis: strings (TTL), hashes, lists, sets, pub/sub;redis_rawRESP escape hatch; DSN formatredis://[:pass@]host:port[/db]cct/db_postgres_lock: named advisory locks, blocking acquire/try-lock, session and transaction scope,postgres_lock_withclosure pattern
cct/mail: message building (headers, attachments, inline, text+HTML multipart); SMTP backends PLAIN/LOGIN/STARTTLS/SMTPS; file backend (writes.eml); memory backend (mail_memory_drainfor tests)cct/mail_spool: PENDING→SENT/FAILED→DEAD state machine; JSON Lines persistence; exponential-backoff retry;mail_spool_drain_memory,mail_spool_retry_deadcct/mail_webhook: normalized events (delivered/bounce/complaint/open/click) across Mailgun/SendGrid;mail_headers_parse(RFC 5322);mail_mime_scan(multipart boundary detection)
cct/instrument:instrument_open/close/attr; categories CALL/DB/CACHE/MAIL/STORAGE/TASK/HTTP/CUSTOM; span_id 0 as no-op sentinel; off by default (CCT_INSTRUMENT=1orinstrument_set_mode("active"));instrument_flushwrites.ctracecct/context_local:ctx_set/ctx_get/ctx_has/ctx_clear/ctx_reset; well-known keys:request_id,trace_id,user_id,locale,route_id,task_id; integrates withcct/logandcct/instrumentfor automatic context annotation
- Animated SVG renderer (
src/sigilo/trace_render.c): renders.ctraceover route sigil; timeline per depth lane; CSS@keyframesanimation; step-by-step mode; comparison mode withdata-delta-us; unresolved spans in dedicated chamber - Operational category overlays (
src/sigilo/trace_overlay.c): 11 categories (SQL/cache/storage/transcode/mail/i18n/task/HTTP/auth/error/unknown); stable color palette; heuristic name-prefix inference;span-slowmarking (>2× median); exportable CSS and SVG legend - New CLI subcommands:
cct sigilo trace render,cct sigilo trace render --step N,cct sigilo trace compare
cct/media_store: local media store with five canonical lifecycle zones (tmp/quarantine/processed/public/private); UUID v4 and SHA-256 hash naming policies; SHA-256 checksum on ingest; atomic promotion viarename(2); path-traversal-safe deletecct/archive_zip: ZIP creation, text/file entry writing, listing, reading, and safe extraction;zip_add_textfor JSON/SVG/HTML without a temp file;..and absolute entry names rejected as hardErrat both write and extract time (ZIP slip prevention); backed by libzip or minizcct/object_storage: optional S3-compatible object storage bridge (AWS S3, MinIO, Cloudflare R2); put/get/delete/head/exists/signed-URL (AWS Signature V4); tests skip cleanly whenAPP_OBJ_STORAGE_ENDPOINTis absent; fully optional alongside localmedia_store
FASE 31 is now complete.
Operational consequence of this closure:
- the repository now documents a promoted self-hosted compiler path in addition to the historical host path
./cctis the default user-facing entrypoint./cct-hostis the explicit host fallback entrypoint./cct-selfhostis the explicit self-hosted entrypoint./cct --which-compilerreports the active compiler mode used by the wrapper
This updates the practical baseline beyond the earlier FASE 30 snapshot without removing the historical status record.
The repository now exposes three compiler-facing entrypoints with different operational roles:
./cct: the default wrapper users should call in normal workflows./cct-host: the preserved host compiler path for fallback, regression comparison, and emergency recovery./cct-selfhost: the explicit self-hosted compiler path for direct operational validation
Use:
./cct --which-compiler
./cct-host --which-compiler
./cct-selfhost --which-compilerExpected interpretation:
./cct --which-compilerreports the current default wrapper mode (selfhostorhost)./cct-host --which-compilerreportshost./cct-selfhost --which-compilerreportsselfhost
The promoted compiler path is controlled explicitly:
make bootstrap-promote
./cct --which-compiler
make bootstrap-demote
./cct --which-compilerOperational meaning:
make bootstrap-promote: activate the self-hosted compiler as the default./cctmodemake bootstrap-demote: switch the default./cctmode back to the host compiler./cct-hostand./cct-selfhostremain available regardless of the current default mode
Recommended daily validation after FASE 31:
make bootstrap-stage-identity
make test
make test-host-legacyRecommended release validation:
make bootstrap-stage-identity
make test
make test-host-legacy
make test-all-0-31
make test-phase30-final
make test-phase31-finalThe promoted self-host path is the default compiler path, but the wrapper still preserves host fallback in selected areas.
Current practical model:
- direct compile,
--check,--ast, and--tokensare part of the promoted compiler contract - project commands remain available through
./cctand./cct-selfhost - some tooling-oriented flows still reuse host-side implementation layers to preserve CLI continuity and repository stability
- explicit tooling commands such as
fmt,lint,doc, and--sigilo-onlymay still delegate to the host path where the repository has not yet promoted a self-host implementation end to end
This is an intentional compatibility strategy, not an undocumented divergence.
Requirements:
- C compiler (
gccorclang) make
Platform support note:
- Linux and macOS are the primary validated platforms.
- Windows support is currently experimental and incomplete.
- Several Windows-specific issues remain unresolved across process execution, shell integration, path handling, packaging, and parts of the runtime/test stack.
- The compiler and the language may therefore fail partially or completely on native Windows depending on the workflow.
- For serious development, validation, and release work, prefer Linux, macOS, or WSL2.
Build:
makeRun full test suite:
make testTokenize:
./cct --tokens examples/hello.cctSemantic check:
./cct --check examples/hello.cctCompile and run:
./cct examples/hello.cct
./examples/helloSigil-only (system + local in essential mode):
./cct --sigilo-only --sigilo-mode essencial tests/integration/sigilo_final_modular_entry.cctBasic usage:
./cct [options] <file.cct>Main commands:
./cct <file.cct>: compile (and generate sigil artifacts)./cct fmt <file.cct> [more.cct ...]: format file(s) in place./cct fmt --check <file.cct> [more.cct ...]: check formatting only (exit2on mismatch)./cct fmt --diff <file.cct> [more.cct ...]: show formatting diff without writing./cct lint <file.cct>: run canonical lint rule set./cct lint --strict <file.cct>: treat lint warnings as CI failure (exit2)./cct lint --fix <file.cct>: apply safe automatic fixes./cct build [--project DIR]: build project using canonical structure./cct run [--project DIR] [-- --args]: build and run project binary./cct test [pattern] [--project DIR]: run*.test.cctproject tests./cct bench [pattern] [--project DIR]: run*.bench.cctproject benchmarks./cct build|test|bench ... --sigilo-check [--sigilo-strict] [--sigilo-baseline PATH]: opt-in sigilo baseline gate in project workflow./cct build|test|bench ... --sigilo-ci-profile advisory|gated|release: CI profile contract for progressive sigilo gates./cct build|test|bench ... --sigilo-override-behavioral-risk: explicit/audited override for behavioral-risk CI blocks./cct build|test|bench ... --sigilo-report summary|detailed: operational report verbosity for sigilo-check (defaultsummary)./cct build|test|bench ... --sigilo-explain: actionable diagnosis line with probable cause and recommended next step./cct clean [--project DIR] [--all]: clean.cctartifacts (anddistwith--all)./cct doc [--project DIR] [--format markdown|html|both]: generate API docs underdocs/api./cct --tokens <file.cct>: token stream./cct --ast <file.cct>: single-module AST./cct --ast-composite <entry.cct>: composed AST for module closure./cct --check <file.cct>: syntax + semantic checks only./cct --sigilo-only <file.cct>: generate sigil artifacts without executable./cct sigilo inspect <artifact.sigil>: inspect sigilo metadata./cct sigilo validate <artifact.sigil>: run formal sigilo validation (tolerant/strict profiles)./cct sigilo diff <left.sigil> <right.sigil>: compare two sigilo artifacts./cct sigilo check <left.sigil> <right.sigil> --strict --summary: gate drift by severity./cct sigilo inspect|diff|check ... --consumer-profile legacy-tolerant|current-default|strict-contract: explicit consumer compatibility profile./cct sigilo validate ... --consumer-profile legacy-tolerant|current-default|strict-contract: explicit strict/tolerant validator profile./cct sigilo baseline check <artifact.sigil> [--baseline PATH]: compare artifact vs persisted baseline./cct sigilo baseline update <artifact.sigil> [--baseline PATH] [--force]: explicit baseline update./cct --which-compiler: report which compiler mode the wrapper will use./cct --no-color ...: disable ANSI colors in diagnostics
Sigil options:
--sigilo-style network|seal|scriptum--sigilo-mode essencial|completo(aliases:essential|complete)--sigilo-out <basepath>--sigilo-no-meta--sigilo-no-svg--sigilo-no-titles--sigilo-no-data
Canonical project layout:
project/
├── src/main.cct
├── lib/
├── tests/*.test.cct
├── bench/*.bench.cct
└── cct.toml (optional)
Typical local flow:
./cct test --project .
./cct build --project .
./cct run --project .
./cct bench --project . --iterations 5
./cct clean --project . --all
./cct doc --project . --format bothSigilo-focused local workflows (FASE 13B.1):
- minimal daily loop and strict pre-merge loop are consolidated in
docs/sigilo_operations_14b2.md - strict baseline gate uses:
./cct sigilo baseline check <artifact.sigil> --strict --summary- exit code
2for blocking drift (review-requiredorbehavioral-risk)
Sigilo-focused CI profiles (FASE 13B.3):
- profiles:
advisory: informative; blocks onlybehavioral-riskunless explicit overridegated: blocksreview-requiredandbehavioral-riskrelease: strict profile; requires baseline and blocksreview-requiredandbehavioral-risk
- commands:
./cct build --project . --sigilo-check --sigilo-ci-profile advisory./cct test --project . --sigilo-check --sigilo-ci-profile gated./cct build --project . --sigilo-check --sigilo-ci-profile release./cct build --project . --sigilo-check --sigilo-ci-profile advisory --sigilo-override-behavioral-risk
- operational contract reference:
docs/sigilo_operations_14b2.md
Sigilo operational observability (FASE 13B.4):
- report signature:
format=cct.sigilo.report.v1 - default output is summary-oriented and script-safe
- detailed output (
--sigilo-report detailed) adds per-itemdomain,before, andafter - explain output (
--sigilo-explain) adds probable cause + recommended action + troubleshooting doc reference - troubleshooting playbook:
docs/sigilo_troubleshooting_13b4.md
Sigilo consumer compatibility (FASE 13C.3):
- profiles:
legacy-tolerant: maximum compatibility for legacy readerscurrent-default: canonical default profile in FASE 13 toolingstrict-contract: blocking contract enforcement (--strictalias)
- migration and fallback behavior is covered in current operational guidance and validator profile docs
Sigilo strict/tolerant validation (FASE 13C.4):
- canonical validator command:
./cct sigilo validate <artifact.sigil> [--strict] [--consumer-profile ...] - tolerant profiles keep compatibility-first behavior with warning classification
- strict-contract profile blocks contractual violations for release gates
FASE 13 release package (FASE 13D.4):
docs/release/FASE_13_RELEASE_NOTES.md
FASE 13M addendum package (FASE 13M.B2):
- details were consolidated into historical internal release records
The historical make test path is no longer the only meaningful repository gate. CCT now maintains explicit validation layers:
make test
make test-legacy-full
make test-legacy-rebased
make test-all-0-30
make test-bootstrap
make test-bootstrap-selfhost
make test-phase30-final
make test-host-legacy
make test-all-0-31
make test-phase31-finalMeaning:
make test: current default repository runner — includes FASE 32-39 integration testsmake test-legacy-full: frozen historical legacy suite for phases 0-20make test-legacy-rebased: legacy 0-20 expectations rebased to the current compiler behaviormake test-all-0-30: authoritative aggregated validation across the pre-promotion operational baselinemake test-bootstrap: bootstrap compiler phases (21-28)make test-bootstrap-selfhost: multi-stage self-host convergence (29)make test-phase30-final: operational self-hosted platform gate (30)make test-host-legacy: explicit host-path regression coverage retained after promotionmake test-all-0-31: authoritative aggregated validation across the compiler and bootstrap layers (phases 0-31)make test-phase31-final: compiler-promotion and wrapper-mode gate (31)
FASE 32-39 integration tests run as part of make test. Modules requiring live backends (PostgreSQL, Redis, SMTP) skip gracefully when the corresponding environment variables are absent.
For publication, release gating, or major refactors, run both make test-all-0-31 (compiler/bootstrap gate) and make test (full suite including stdlib phases 32-39).
The compiler is no longer only a host-compiler project. The validated self-host operational path is:
make bootstrap-stage0
make bootstrap-stage1
make bootstrap-stage2
make bootstrap-stage-identity
make bootstrap-selfhost-ready
make project-selfhost-build PROJECT=examples/phase30_data_app
make project-selfhost-run PROJECT=examples/phase30_data_app
make project-selfhost-test PROJECT=examples/phase30_data_app
make project-selfhost-package PROJECT=examples/phase30_data_appThis path is backed by the phase-29, phase-30, and phase-31 validation gates and is the basis for future primary-toolchain work.
The bootstrap track is complete through FASE 31.
Validated bootstrap layers:
src/bootstrap/lexer/— lexer in CCTsrc/bootstrap/parser/— parser + AST in CCTsrc/bootstrap/semantic/— semantic analysis in CCTsrc/bootstrap/codegen/— code generation in CCTsrc/bootstrap/main_compiler.cct— self-hosted compiler entrypoint
Historical bootstrap entrypoint retained from FASE 21:
src/bootstrap/main_lexer.cctprovides the standalone bootstrap CLItests/integration/lexer_*.cctcontains the bootstrap lexer integration fixtures
Operational self-hosted workflow:
make bootstrap-stage-identity
make bootstrap-selfhost-ready
make project-selfhost-build PROJECT=examples/phase30_data_app
make project-selfhost-run PROJECT=examples/phase30_data_app
make project-selfhost-test PROJECT=examples/phase30_data_appStandalone bootstrap CLI example retained for the lexer layer:
make cct_lexer_bootstrap
./cct_lexer_bootstrap tests/integration/codegen_minimal.cctOperational validation targets:
make test-bootstrap-selfhost— FASE 29 gatemake test-operational-selfhost— FASE 30A gatemake test-operational-platform— FASE 30B-30D gatemake test-phase30-final— consolidated FASE 30 gatemake test-phase31-final— promotion/default-wrapper gatemake test-all-0-31— aggregated end-to-end validation through promotion
The bootstrap trajectory should now be read in three layers:
- FASE 29: convergence and identity (
stage0,stage1,stage2) - FASE 30: operational self-host workflows on top of the converged compiler
- FASE 31: promotion of the self-hosted compiler to the default user-facing compiler path
That means the bootstrap compiler is no longer only a validation artifact. It is now part of the normal operational toolchain exposed to users.
- Lexer, parser, AST, semantic analysis, and executable code generation
- Structured flow control:
SI/ALITER,ELIGE/CASUS/ALIOQUIN,DUM,DONEC,REPETE,ITERUM - Calls and returns:
CONIURA,REDDE,ANUR - Scalars, booleans, strings, and real-number subset (
UMBRA,FLAMMA) - String interpolation expression:
FORMA - Basic arrays (
SERIES) and payload-capableORDOsubset (withELIGEdestructuring) - Collection iteration over
FLUXUS,SERIES,map, andset(with arity validation)
SPECULUMpointers (supported subset)- Address-of, dereference read/write, and pass-by-reference patterns
- Runtime-backed allocation/discard primitives:
OBSECRO pete(...)OBSECRO libera(...)DIMITTEMENSURA(...)
- Executable
SIGILLUMsubset with nested composition and controlled by-reference mutation
IACE,TEMPTA ... CAPE,SEMPER- Local catch and multi-call propagation subset
- Documented runtime-failure bridging subset and clear direct-abort behavior outside integrated paths
ADVOCAREmodule loading with deterministic closure- Direct-import resolution (no implicit transitive symbol visibility)
- Visibility boundary with
ARCANUMfor internal top-level declarations - Two-level sigil architecture:
- local sigil per module
- composed system sigil (
.system.svg/.system.sigil)
- System sigil rendered as sigil-of-sigils (inline vector composition of module sigils)
GENUS(...)generic declarations and explicit instantiation- Pragmatic executable monomorphization (deterministic naming and dedup)
PACTUMcontract declarations and explicitSIGILLUM ... PACTUM ...conformance- Basic constrained generics:
GENUS(T PACTUM C)in genericRITUALE - Final 10E consolidation: harmonized boundary diagnostics and finalized metadata contract
Supported in the final FASE 10 subset:
- Explicit generic instantiation (
GENUS(...)) for executable materialization - Explicit contract conformance (
PACTUM) for namedSIGILLUM - Single-constraint form per type parameter in generic rituals:
GENUS(T PACTUM C)
Out of scope in this subset:
- Type argument inference
- Multiple contracts per type parameter
- Advanced constraint solver behavior
- Dynamic dispatch runtime for contracts
Sigilo is now both a deterministic visual artifact and a native hover-readable map of the program.
For a valid input program, CCT emits:
<base>.svg<base>.sigil
For modular system sigils:
<entry>.system.svg<entry>.system.sigil
In --sigilo-mode completo, imported module sigils are also emitted as deterministic module-indexed artifacts.
FASE 14T keeps sigilo output as pure SVG, exportable, and diff-friendly while adding native semantic hover:
- local and system SVGs emit
<title>on semantic elements already present in the drawing - local semantic nodes and call edges emit deterministic additive
data-* - SVG roots can expose lightweight semantics via
role,aria-label, anddesc - no JavaScript is required
In practice:
- hover a ritual node to see the ritual name, structural metrics, and normalized source excerpt
- hover a structural node to see the statement kind (
SI,DUM,REDDE,EVOCA, etc.) - hover an edge to see the relationship it represents (
primary,call,branch,loop,bind,term) - open a
.system.svgand hover module circles and cross-module lines the same way
The instrumentation is selectable at generation time:
- default: titles + additive metadata enabled
--sigilo-no-titles: suppress<title>and hover wrappers, preserving geometry and additivedata-*--sigilo-no-data: suppress additivedata-*and root<desc>, preserving<title>--sigilo-no-titles --sigilo-no-data: restore the pre-14T plain SVG contract
Typical tooltip payloads include the ritual name, statement kind, depth/call metrics, and normalized source excerpt, for example RITUALE main, stmt: RITUALE, and source: ....
Stable additions:
**: exponentiation (right-associative)//: integer floor division (integer operands only)%%: euclidean modulo (integer operands only)%: preserved with legacy behavior
Executable example:
./cct examples/math_common_ops_13m.cct
./examples/math_common_ops_13mExpected output excerpt:
pow 2**5 = 32idiv -7//3 = -3emod -7%%3 = 2
The standard library is now formally introduced as Bibliotheca Canonica.
Current delivery in FASE 11A:
- reserved import namespace
cct/... - canonical physical stdlib root (
lib/cct/) - deterministic resolver path for canonical modules
Current delivery in FASE 11B.1:
cct/verbumpublic text primitives- strict substring bounds behavior
- predictable text operations for later
cct/fmt, IO, and parse modules
Current delivery in FASE 11B.2:
cct/fmtformatting and conversion surface- canonical stringify for integer/real/float/bool
- canonical parse facade (
fmt_parse_int,fmt_parse_real,fmt_parse_bool) - simple formatting composition (
format_pair)
Current delivery in FASE 11C:
cct/seriesstatic-collection helpers (generic mutation helpers + integer-lookup helper)cct/algbaseline algorithms for integer arrays- practical interop with
cct/fmtin collection workflows
Current delivery in FASE 11D.1:
cct/memmemory utility primitives for allocation, release, resize, and raw buffer operations- explicit ownership/discard contract for stdlib dynamic-storage evolution
- dedicated ownership reference:
docs/ownership_contract.md
Current delivery in FASE 11D.2:
- standalone FLUXUS storage runtime core (
cct_rt_fluxus_init/free/reserve/grow/push/pop/get/clear) - deterministic growth/capacity semantics validated through dedicated runtime tests
Current delivery in FASE 11D.3:
- canonical stdlib module
cct/fluxus - ergonomic dynamic-vector API backed by runtime storage core
- dedicated 11D.3 integration tests and sigilo metadata counters for FLUXUS operations
- usage guide:
docs/fluxus_usage.md
Current delivery in FASE 11E.1:
- canonical stdlib modules
cct/ioandcct/fs - runtime-backed IO primitives (
print,println,print_int,read_line) - runtime-backed filesystem primitives (
read_all,write_all,append_all,exists,size) - dedicated 11E.1 integration tests and sigilo compatibility coverage
Current delivery in FASE 11E.2:
- canonical stdlib module
cct/path - stable path API for composition and decomposition (
path_join,path_basename,path_dirname,path_ext) - verified integration with
cct/fsworkflows - sigilo metadata support for path usage counters
Current delivery in FASE 11F.1:
- canonical stdlib modules
cct/mathandcct/random - deterministic numeric helpers (
abs,min,max,clamp) - reproducible pseudo-random baseline (
seed,random_int,random_real) - sigilo metadata support for math/random usage counters
Current delivery in FASE 11F.2:
- canonical stdlib modules
cct/parseandcct/cmp - strict textual conversions (
parse_int,parse_real,parse_bool) - canonical comparator contract (
cmp_int,cmp_real,cmp_bool,cmp_verbum) - moderate
cct/algexpansion (alg_binary_search,alg_sort_insertion) - sigilo metadata support for parse/cmp/alg usage counters
Current delivery in FASE 11G:
- canonical showcase suite under
examples/andtests/integration/ - modular showcase exercising stdlib + user modules with
--ast-composite - sigilo metadata enrichment for stdlib usage counters and module inventory
- public-facing usage narrative aligned across README/spec/docs
Current delivery in FASE 11H:
- final stdlib subset manifest freeze (
docs/stdlib_subset_11h.md) - final stability matrix (stable/experimental/runtime-internal) (
docs/stdlib_stability_matrix_11h.md) - packaging/install closure (
make dist,make install,make uninstall) - public technical release notes (
docs/release/FASE_11_RELEASE_NOTES.md)
Current delivery in FASE 12C + 12D.1:
- canonical stdlib modules
cct/optionandcct/result - Option baseline (
Some,None,option_is_some,option_unwrap,option_unwrap_or,option_expect,option_free) - Result baseline (
Ok,Err,result_is_ok,result_unwrap,result_unwrap_or,result_unwrap_err,result_expect,result_free) - integration with FASE 12B numeric cast flow (
cast GENUS(T)(value)) - canonical HashMap baseline (
map_init,map_insert,map_get,map_remove,map_contains,map_len,map_is_empty,map_capacity,map_clear,map_reserve,map_free) - canonical Set baseline (
set_init,set_insert,set_remove,set_contains,set_len,set_is_empty,set_clear,set_free) - sigilo metadata counters for Option/Result and Map/Set usage
Current delivery in FASE 12D.2:
- canonical stdlib module
cct/collection_ops - functional combinators for FLUXUS and SERIES (
map/filter/fold/find/any/all) - callback bridge through rituale-pointer arguments in collection operations
- Option integration preserved via
fluxus_find/series_find - sigilo metadata counter for collection-ops usage (
collection_ops_count)
Current delivery in FASE 12D.3:
- baseline iterator statement
ITERUM item IN collection COM ... FIN ITERUM - semantic/type checks for iterator collections (FLUXUS and SERIES subset)
- codegen lowering to deterministic C loops
- sigilo metadata counter for iterator usage (
iterum_count)
Current delivery in FASE 12E.1:
- standalone formatter command integrated in CLI (
cct fmt) - check/diff formatter modes for CI/editor integration
- deterministic indentation and spacing normalization for core CCT syntax
- formatter coverage tests in
tests/formatter/plustests/run_tests.sh
Current delivery in FASE 12E.2:
- standalone linter command integrated in CLI (
cct lint) - canonical rule IDs:
unused-variable,unused-parameter,unused-import,dead-code-after-return,dead-code-after-throw,shadowing-local - strict lint mode (
--strict) and safe auto-fix mode (--fix) - dedicated lint documentation (
docs/linter.md) and integration tests
Current delivery in FASE 16:
- freestanding bridge profile and kernel-facing stdlib surface (
cct/kernel) - profile-aware behavior separation for host vs freestanding flows
Current delivery in FASE 17:
- bootstrap/tooling-oriented stdlib modules (
char,args,verbum_scan,verbum_builder,code_writer,env,time,bytes)
Current delivery in FASE 18:
- major canonical-library expansion across text/format/parse, io/fs/path, collections/algorithms
- new modules:
cct/process,cct/hash,cct/bit
Current delivery in FASE 19:
- language-facing integration with stdlib usage via
ELIGE,FORMA, payloadORDO, andITERUMovermap/set - reference module
lib/cct/ordo_samples.cctdocumenting idiomaticResultado/Opcaopayload patterns
Current delivery in FASE 20:
cct/json: canonical JSON model, strict parse, stringify/pretty-print, key/index access, mutation, and typed expect helperscct/socket/cct/net: thin host socket bridge plus TCP/UDP wrappers, line-oriented text I/O, and address helperscct/http: request/response model, parser/stringifier, client GET/POST/JSON flows, and single-request server primitivescct/config: INI parse/load/write, typed getters, section listing, env overlay, and JSON conversion helperscct/db_sqlite: host-only persistence with query cursors, prepared statements, transactions, and scalar helpers- generated host builds link
-lsqlite3only when the SQLite surface is used - fallback policy: if the host toolchain lacks
sqlite3, the host compile step fails clearly instead of silently disabling the module
Example import:
ADVOCARE "cct/stub_test.cct"
Reference: docs/bibliotheca_canonica.md.
The application-library maturity work extended the canonical library with:
cct/csvcct/httpscct/orm_lite
These modules are documented in the language manual and are exercised by the phase-30 operational examples.
The FASE 32-39 standard library expansion added:
Security and encodings: cct/crypto, cct/encoding
Data formats: cct/regex, cct/date, cct/toml, cct/compress, cct/filetype
Media: cct/media_probe, cct/image_ops, cct/text_lang
Text and parsing: cct/verbum (expansion), cct/lexer_util, cct/uuid, cct/slug, cct/gettext, cct/form_codec
Observability: cct/log, cct/trace, cct/metrics, cct/signal, cct/fs_watch, cct/audit
Database: cct/db_postgres, cct/db_postgres_search, cct/redis, cct/db_postgres_lock
Mail: cct/mail, cct/mail_spool, cct/mail_webhook
Instrumentation: cct/instrument, cct/context_local
All FASE 32-39 modules are host-only. Freestanding use is rejected at compile time with a clear diagnostic. Modules requiring a live backend (PostgreSQL, Redis, SMTP) skip their integration tests when the relevant environment variables are absent (DATABASE_URL, REDIS_URL, SMTP_HOST).
Run canonical showcase programs:
./cct examples/showcase_stdlib_string_11g.cct && ./examples/showcase_stdlib_string_11g
./cct examples/showcase_stdlib_collection_11g.cct && ./examples/showcase_stdlib_collection_11g
./cct examples/showcase_stdlib_io_fs_11g.cct && ./examples/showcase_stdlib_io_fs_11g
./cct examples/showcase_stdlib_parse_math_random_11g.cct && ./examples/showcase_stdlib_parse_math_random_11g
./cct examples/showcase_stdlib_modular_11g_main.cct && ./examples/showcase_stdlib_modular_11g_mainInspect modular composition and sigilo:
./cct --ast-composite examples/showcase_stdlib_modular_11g_main.cct
./cct --sigilo-only --sigilo-mode essencial examples/showcase_stdlib_modular_11g_main.cct
./cct --sigilo-only --sigilo-mode completo examples/showcase_stdlib_modular_11g_main.cctBuild a relocatable distribution bundle:
make dist
./dist/cct/bin/cct --version
./dist/cct/bin/cct --check tests/integration/stdlib_resolution_basic_11a.cctInstall under default prefix (/usr/local):
make installInstall under custom prefix:
make install PREFIX="$HOME/.local"References:
docs/install.mddocs/stdlib_subset_11h.mddocs/stdlib_stability_matrix_11h.mddocs/release/FASE_11_RELEASE_NOTES.md
src/: compiler implementationlexer/,parser/,semantic/,codegen/,module/,runtime/,cli/,common/sigilo/: sigil generation, route metadata, trace renderer (trace_render.c,trace_overlay.c)runtime/: standard library C bridges includingruntime_postgres.c,runtime_mail.c
lib/cct/: Bibliotheca Canonica — standard library CCT source filestests/: integration and phase regression suiteexamples/: language examplesdocs/: specification, architecture, roadmap, release records, and operational guidesdocs/release/: phase release notes through FASE 39docs/bootstrap/: bootstrap handoff and promotion-specific dossiersmd_out/FASE_*_CCT.md: phase execution plans and implementation dossiers
MIT License - Copyright (c) 2026 Erick Andrade Busato
See LICENSE file for details.