Skip to main content

Crate brik64_core

Crate brik64_core 

Source
Expand description

§brik64-core

BRIK64 Rust SDK beta for monomer helpers and EVA composition patterns.

This crate is useful for examples, local integration, and working with BRIK64-style monomer and EVA concepts in Rust application code. It does not install the CLI, publish release notes, approve production use, or replace workspace evidence produced by the CLI.

§Usage

use brik64_core::{mc, eva};

// Direct monomer use
let sum = mc::add8(200u8, 100u8);   // wrapping: 44
let (q, r) = mc::div8(17u8, 5u8);   // (3, 2)

// EVA sequential composition: add8 then mod8
let pipeline = eva::seq(|x: (u8, u8)| mc::add8(x.0, x.1), |s| mc::mod8(s, 10));
let result = pipeline((5u8, 8u8));   // add8(5,8)=13, mod8(13,10)=3

Re-exports§

pub use eva::*;
pub use mc::*;

Modules§

eva
EVA Algebra — Composition operators for BRIK-64 monomers.
mc
BRIK-64 Core Monomers — MC_00 through MC_63.

Constants§

VERSION
Public SDK package version.