Expand description
First-Order Logic output display component.
Renders compiled logic expressions with syntax highlighting. Supports multiple output formats (Unicode, SimpleFOL, LaTeX, Kripke) and multiple readings for ambiguous sentences.
§Props
logic- Primary Unicode outputsimple_logic- SimpleFOL format outputkripke_logic- Kripke semantics outputreadings- Multiple readings for ambiguous sentenceserror- Optional error messageformat- Output format selection
§Syntax Highlighting
Different logical elements are color-coded:
- Quantifiers (∀, ∃): purple
- Connectives (∧, ∨, →, ↔, ¬): purple
- Variables (lowercase): blue
- Predicates (uppercase words): green
- Constants (capitalized names): yellow
Re-exports§
pub use LogicOutput_completions::Component::LogicOutput;
Structs§
- Logic
Output Props - Properties for the
LogicOutputcomponent.