Expand description
Pure Lace logic: Datalog lacegrams, exchange operands/plans, and local executable policy lowering.
This crate deliberately has no sockets, runtimes, stores, laces, handles, or interlace machine state.
Re-exports§
pub use lacegram::CanonicalLacegram;pub use lacegram::canonicalize_lacegram_rules;pub use lacegram::canonicalize_lacegram_source;pub use lacegram::parse_lacegram;pub use lacegram::parse_rule;pub use lacegram::predicate_variable_kinds;pub use lacegram::prepare_lacegram_rules;pub use lacegram::render_rule_line;
Modules§
- lacegram
- Datalog lacegram parsing, validation, and canonicalization.
- profile
- The fixed standard exchange profile’s predicate vocabulary.
- types
- Core types for the Lace Datalog engine.
Structs§
- Advertisement
Field Requirements - Advertisement field schema required by an agreed exchange plan.
- Datalog
Limits - Generic Lace-030 preparation and finite-evaluation limits.
- Exchange
Plan - Opaque immutable result of compiling exactly two ordered modules.
- Field
Exclusion - A Lace-130 exclusion: records carrying a matching
Fieldoccurrence. - Interlace
Module - Public 040 interlace module.
- Local
Executable Policy - One side’s lowered local executable.
Enums§
- Exchange
Plan Slot - Preparation
Error - Typed preparation failure shared by core validation and authoring frontends.
Functions§
- all_
records - Select, expose, and request every record.
- blob_
resource_ hash - Compute the Blob record hash for one canonical text resource.
- canonicalize_
lacegram_ text - Canonicalize ordinary Datalog source to 030 lacegram text.
- compile_
exchange_ plan - compile_
local_ executable_ policy - Canonical text of one side’s lowered local executable.
- lacegram_
resource_ hash - Compute the Blob record hash for canonical lacegram text.
- lower_
exchange_ plan_ for_ local_ side - Lower an exchange plan to the local executable for one slot.
- prepare_
facet_ constraints - Compose authoring and guest policies into one canonical operand.
- rx_
disabled - Veto reception by the side assigned this operand.
- tx_
disabled - Veto transmission from the side assigned this operand.