pub enum WebizenOpcode {
Show 19 variants
MatchSubject(u64),
MatchPredicate(u64),
MatchObject(u64),
EvalMetadataMask(u32),
BindRegister {
vector_id: u8,
register_index: usize,
},
MatchRegister {
vector_id: u8,
register_index: usize,
},
HaltIfFalse,
EmitQuin {
subject_reg: usize,
predicate: u64,
object: u64,
context_reg: usize,
},
LessThan {
vector_id: u8,
value: f32,
},
GreaterThan {
vector_id: u8,
value: f32,
},
LessOrEqual {
vector_id: u8,
value: f32,
},
GreaterOrEqual {
vector_id: u8,
value: f32,
},
Always(u64),
Eventually(u64),
Next(u64),
EmitCalculatedQuin {
subject_reg: usize,
predicate: u64,
object_calc_op: u8,
context_reg: usize,
},
YieldConfidence(f32),
LoadModel(u64),
EvictModel(u64),
}Expand description
The micro-instruction set (ISA) for the Core 1 Logic Engine.
Variants§
MatchSubject(u64)
Compares the Quin’s Subject to a hardcoded 60-bit ID
MatchPredicate(u64)
Compares the Quin’s Predicate to a hardcoded 60-bit ID
MatchObject(u64)
Compares the Quin’s Object to a hardcoded 60-bit ID
EvalMetadataMask(u32)
Evaluates if the 5th Vector’s bits match the target mask exactly
BindRegister
Extracts a u64 from the Quin (0=Subj, 1=Pred, 2=Obj, 3=Ctx) and stores it in the VM Register
MatchRegister
Asserts that a VM register equals the given Quin vector
HaltIfFalse
Halts execution and returns false immediately if the prior condition failed
EmitQuin
Yields a new generated Quin (The consequent of an implication =>)
LessThan
Continuous Constraint: Evaluates <
GreaterThan
Continuous Constraint: Evaluates >
LessOrEqual
Continuous Constraint: Evaluates <=
GreaterOrEqual
Continuous Constraint: Evaluates >=
Always(u64)
Temporal Logic: Always constraint (LTL)
Eventually(u64)
Temporal Logic: Eventually constraint (LTL)
Next(u64)
Temporal Logic: Next constraint (LTL)
EmitCalculatedQuin
Yields a mathematically calculated Quin consequence
YieldConfidence(f32)
Evaluates the 5th Metadata Vector confidence weight. If below threshold, tags consequence as Defeasible.
LoadModel(u64)
Triggers native mapping of a GGUF model pointer into the OS page cache
EvictModel(u64)
Cryptographically flushes a 512MB model mapping using Volatile Scrubbing
Trait Implementations§
Source§impl Clone for WebizenOpcode
impl Clone for WebizenOpcode
Source§fn clone(&self) -> WebizenOpcode
fn clone(&self) -> WebizenOpcode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WebizenOpcode
impl Debug for WebizenOpcode
Source§impl PartialEq for WebizenOpcode
impl PartialEq for WebizenOpcode
Source§fn eq(&self, other: &WebizenOpcode) -> bool
fn eq(&self, other: &WebizenOpcode) -> bool
self and other values to be equal, and is used by ==.impl Copy for WebizenOpcode
impl StructuralPartialEq for WebizenOpcode
Auto Trait Implementations§
impl Freeze for WebizenOpcode
impl RefUnwindSafe for WebizenOpcode
impl Send for WebizenOpcode
impl Sync for WebizenOpcode
impl Unpin for WebizenOpcode
impl UnsafeUnpin for WebizenOpcode
impl UnwindSafe for WebizenOpcode
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more