Know your machine. Measure it carefully. Keep every result explainable.
Pytyliki is a local processor-systems workstation built around a focused C11 core. It brings hardware discovery, repeatable CPU and memory measurements, source diagnostics and numerical tools into one deliberate workspace—so you can move beyond a spec sheet and work with evidence from the machine in front of you.
From instruction-set availability to bounded matrix workloads, Pytyliki turns low-level system details into structured results you can inspect, compare and use in your own tools.
Core loop: Observe -> Measure -> Explain
Quick start · Feature matrix · TRACE ledger · Architecture · Trust boundaries · Documentation
The native C11 core provides a typed project quality profile with explicit specialization scope, interaction safeguards, numerical contracts, canonical naming, evidence-backed claims and sourced recognition measurements.
Iron Syntax v2 is the canonical keyboard-first source surface for bounded structured record input. It uses lower-case ASCII words without symbol sequences; the C11 core itself remains a native library, not a general-purpose source compiler.
- Identify the processor. Inspect CPU model, vendor, logical topology, memory totals and reported ISA capabilities.
- Check usable vector state. AVX-family reporting accounts for OS-managed XCR0 state; capability reporting does not execute SIMD instructions.
- Run bounded workloads. Execute CPU, memory and matrix suites with repeat counts, warm-up separation, checksums and integrity flags.
- Keep measurement history. The bounded TRACE ledger stores validated measurements, assigns run order, rejects conflicting identities and compares the latest compatible pair without polling hardware or writing files.
- Inspect source safely. Run static diagnostics and QCS syntax checks without executing or rewriting the inspected program.
- Use native building blocks. Work with typed memory views, bounded arenas, pools and numerical primitives.
- Compute with Kaskad K3. Use the standalone
pytyliki-k3C11 program for strict radix-1000 parsing, canonical formatting and checked signed arithmetic; its exact domain is explicitly bounded toint64. - Exchange evidence. Emit versioned JSON reports and integrate through an explicit C ABI with caller-owned buffers.
| Area | Status | Scope |
|---|---|---|
| C11 processor discovery, bounded CPU/memory benchmarks, memory and numerical primitives, static diagnostics, versioned C ABI | DONE |
Local inspection and caller-owned native interoperability |
| Embedded workbench and 20 low-level hardware framework contracts | PARTIAL |
C11 reference contracts and fake/test backend |
| Kaskad K3 canonical integer engine and CLI | IMPLEMENTED |
Exact strict syntax and checked arithmetic inside signed int64; no arbitrary precision |
| Offline audio analysis | PARTIAL |
Read-only mono/stereo float buffers held in memory |
| Physical MMIO/DMA, privileged target execution, firmware programming and a Pytyliki source compiler | Not shipped | Not implied by reference contracts |
DONE requires shipped code and relevant verification. PARTIAL means only the stated slice is delivered. STUB means placeholder behavior, MISSING means absent from this repository, and DEPRECATED means superseded. A contract, catalog entry or roadmap item alone is not implementation evidence. See the feature matrix and engineering gates.
Know your machine. Measure with bounds. Trust only evidence.
Pytyliki is a local processor-systems workstation built around a native C11 core. It inspects processor capabilities and topology, runs bounded CPU and memory workloads, provides memory and numerical primitives, and validates source structure without executing the inspected program.
It turns machine-specific observations into structured results. It does not turn one run into a universal performance claim.
Native Win32 workstation. The desktop application is Windows-only.
The following is the output layout emitted by --profile; angle-bracketed fields are detected at runtime, not fixed reference values.
Architecture: <runtime architecture>
CPU: <runtime CPU model>
Vendor: <runtime vendor>
Logical processors: <detected count>
Family/model: <family>/<model>
Physical memory: <MiB> MiB | available: <MiB> MiB
ISA: SSE2=<0|1> SSE4.2=<0|1> AVX-HW=<0|1> OSXSAVE=<0|1> AVX-OS=<0|1> AVX-usable=<0|1> AVX2-usable=<0|1> AVX512F-usable=<0|1> AES=<0|1> FMA-usable=<0|1> virtualization=<0|1>
AVX-family usable flags include OS-managed XCR0 vector-state validation; capability reporting does not execute SIMD instructions.
A three-run suite reports a warm-up separately from measured runs:
Suite: 3 run(s), 1 warm-up | integer mean <ms> ms | checksum <value> | integrity <PASS|CHECK>
For structured output, --profile --suite --repeat 3 --json emits the versioned pytyliki.report.v1 envelope. Its suite section uses pytyliki.suite.v1 and includes per-run checksums, integrity flags and statistics.
Pytyliki enforces explicit boundaries around hardware inspection and local workloads:
- Read-only processor discovery. Profiling reads processor identity, topology, memory and reported ISA state. It does not change CPU registers, scheduling, affinity, voltage or frequency.
- No driver or firmware operations. Pytyliki does not install, update or reconfigure drivers, flash firmware, or modify device configuration.
- No hidden network activity. Core diagnostics run locally and do not send automatic telemetry. Optional integrations require explicit selection and configuration.
- Bounded workloads. Diagnostic and benchmark paths use defined input, iteration or capacity limits. Measurements are observations, not real-time guarantees.
- Simulation is not hardware access. Embedded register and memory contracts use a fake/test backend. No physical MMIO/DMA backend or firmware programmer is implied by those reference models.
- Untrusted inputs stay untrusted. Imported profiles and inspected source files are treated as external data. Tools are not silently installed or launched.
Requirements: CMake 3.16+, a C11 compiler (MSVC, GCC or Clang), and Git.
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON
cmake --build build --parallel
ctest --test-dir build --output-on-failure
./build/pytyliki --profile
./build/pytyliki --suite --repeat 3
./build/pytyliki --partition 10000 8 256
./build/pytyliki --profile --suite --repeat 3 --json
./build/pytyliki-k3 parse 50k0k
./build/pytyliki-k3 add 999k999 1
```
### Windows (MSVC)
~~~powershell
cmake -S . -B build -DBUILD_TESTING=ON
cmake --build build --config Release --parallel
ctest --test-dir build -C Release --output-on-failure
.\build\Release\pytyliki.exe --profile
.\build\Release\pytyliki.exe --suite --repeat 3
.\build\Release\pytyliki.exe --partition 10000 8 256For Visual Studio and other multi-configuration generators, executables are placed under build/Release. Single-configuration generators place them directly in build.
The native build contract is CMakeLists.txt; it registers the C11 core, optional libraries, CLI/GUI targets and CTest suite. Follow CONTRIBUTING.md for the canonical build/test commands. The engineering governance standard, ADRs and mathematical traceability index define module ownership, ABI and formula-to-code evidence.
The native build contract is CMakeLists.txt; the engineering governance standard, ADRs and mathematical traceability index define module ownership, ABI and formula-to-code evidence. Follow CONTRIBUTING.md for the exact CMake and CTest commands.
cmake -S . -B build-sanitized -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON -DPYTYLIKI_ENABLE_SANITIZERS=ON
cmake --build build-sanitized --parallel
ctest --test-dir build-sanitized --output-on-failurePlatform boundary: repository CI builds and tests the C11 core/CLI on hosted Ubuntu and Windows runners, with a separate Linux ASan/UBSan job. The Win32 GUI is built only on Windows. The project does not claim ARM64 certification or specific minimum Windows/Linux releases in this README; other CPU/OS targets require independent build and test evidence.
-
CPU topology, ISA and memory inventory; bounded CPU/memory measurements and workload-partition examples.
-
Profile import and analysis, folded stacks and SVG flamegraphs.
-
Source diagnostics, QCS syntax inspection and embedded-MCU FLASH/SRAM reference estimates.
-
Versioned C ABI and structured reports with provenance and explicit limitations.
-
Kaskad K3 native calculator: strict radix-1000 parsing, canonical formatting, checked integer addition/subtraction/multiplication, and a standalone
pytyliki-k3CLI. Exact results are bounded to signedint64. -
Processor discovery. Inspect CPU identity, logical topology, memory totals and available memory.
-
Instruction-set verification. Report SSE, AVX, AVX2, AVX-512, AES and FMA flags, including OS-managed extended vector-state checks where applicable.
-
Bounded measurements. Run CPU, memory and matrix workloads with fixed workload parameters, repeat counts, checksums and integrity reporting.
-
Explainable measurement models. Compose validated TRACE inputs into a bounded, typed dependency graph; inspect provenance and publish derived values by atomic generation.
Start with onboarding, then explore benchmark statistics, the embedded C workbench, QCS inspection and Reaper integration. For the native Kaskad arithmetic program, see K3 bounded native engine v1; it preserves the source theory's radix and canonical syntax while stating its finite integer domain.
The native K3 module is adapted from Kaskad mathematical semantics and retains its separate Apache-2.0 license; see the K3 implementation boundary and third-party notices. The remainder of Pytyliki is distributed under the MIT License.
Read CONTRIBUTING.md before proposing changes. Report vulnerabilities through SECURITY.md.
Pytyliki is deliberately local and bounded. Hardware discovery is read-only: it does not change CPU scheduling, affinity, voltage, frequency, firmware, drivers or device configuration. Benchmarks describe a particular run on a particular machine; they are not universal performance rankings.
Imported profiles and source files are treated as untrusted input. Tools are discovered, not silently installed or launched. Hardware-facing examples remain reference contracts unless a physical backend is explicitly delivered.
Hardware discovery does not change CPU scheduling, affinity, voltage, frequency, firmware, drivers or device configuration. Benchmarks are local observations, not universal performance rankings.
- Processor inventory: CPU topology, usable instruction-set features and memory information, including operating-system vector-state checks.
- Bounded measurements: repeatable CPU, memory and matrix workloads with explicit run limits and structured results.
- Source inspection: static diagnostics and QCS syntax validation; inspected source is not executed or rewritten.
- Hardware syntax constructs: a C11 structural frontend catalogs and checks the framing of twenty Pytyliki construct forms. It does not yet type-check, compile, execute, synthesize RTL or access hardware.
- SystemArray sigil registry: a versioned C11 metadata frontend catalogs thirteen hardware operators, their type signatures and effect contracts. It does not yet resolve overloads, evaluate plans or access hardware.
- MOS switch-level model: bounded N/P MOS ideal-switch networks with explicit high, low, floating, contended and indeterminate states. This is deterministic topology simulation, not analog/SPICE modelling or physical device access.
- Processor Fabric v2 runtime: read-only Windows processor-group and Linux sysfs inventory reports package/die/core/thread, NUMA and cache-sharing evidence with unknowns preserved. x86 ISA evidence separates hardware presence from OS usability. The advisory placement estimator accounts for NUMA locality, cache pressure, SMT sharing, bandwidth and load. Native validators check device identity, register maps, address ranges and DMA ownership; they do not map or access hardware.
- System-array syntax: a bounded C11 frontend normalizes the documented framed aliases to
system(array); syntax-only, with no execution or hardware access. - Numerical metrics: C11 vector, distance, geometry and quadratic-form operations through a stable native API.
- Memory utilities: typed views, overflow-checked slices, bounded arenas, rewind checkpoints and fixed-block pools.
- Native interoperability: versioned C ABI v1 with caller-owned buffers; consumers must explicitly select a trusted library.
- Embedded references: MCU profiles, memory estimates, starter generation and simulated MMIO masks. These are reference tools, not physical memory mapping, device access or firmware flashing.
- Toolchain inventory: read-only discovery of available tools; discovered programs are not installed or launched.
PCM16 WAV/DSP processing is not part of the current delivered Pytyliki core. See the project contract and feature documentation before depending on partial or planned capabilities.
Requirements: CMake 3.16+, a C11 compiler (MSVC, GCC or Clang) and Git. The Win32 GUI is built on Windows. Python is optional for supplementary repository-contract tests; it is not the C11 runtime.
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON
cmake --build build --config Release --parallel
ctest --test-dir build -C Release --output-on-failureTry the command-line tools:
./build/pytyliki --profile
./build/pytyliki --suite
./build/pytyliki --partition 10000 8 256
./build/pytyliki-metrics --demo
./build/pytyliki-k3 parse 50k0k
./build/pytyliki-k3 add 999k999 1
./build/pytyliki-k3 mul 50k0k 25
```
For GCC and Clang, enable AddressSanitizer and UndefinedBehaviorSanitizer with -DPYTYLIKI_ENABLE_SANITIZERS=ON.
- [Documentation index](docs/README.md) · [Release process](docs/RELEASE.md) · [Report envelope](docs/REPORT_ENVELOPE.md)
- [Reaper policy integration](docs/REAPER_INTEGRATION.md) is an optional CI validation example, not an application runtime dependency.
- [Kaskad K3 bounded native engine](docs/KASKAD_K3_BOUNDED_NATIVE_V1.md) documents exact syntax, arithmetic boundaries, provenance and conformance tests.
- [Third-party notices](THIRD_PARTY_NOTICES.md) preserves Kaskad's Apache-2.0 source attribution and license text.
- [Shared ecosystem standards](https://github.com/Ivan-VHS/DuckOS/blob/main/docs/SHARED_STANDARDS.md)
[Contributing](CONTRIBUTING.md) · [Security policy](SECURITY.md) · [MIT License](LICENSE) · [Third-party notices](THIRD_PARTY_NOTICES.md)