Skip to main content

Module notation_elaboration

Module notation_elaboration 

Source
Expand description

User-defined notation elaboration for OxiLean.

This module manages a database of notation definitions (prefix, infix, postfix, and mixfix) and provides a lightweight elaboration pass that rewrites source text according to those definitions.

§Quick example

use oxilean_parse::notation_elaboration::{standard_notations, elaborate_notation};

let db = standard_notations();
let result = elaborate_notation("P ∧ Q", &db);
assert!(result.elaborated.contains("And"));

Re-exports§

pub use functions::*;
pub use types::*;

Modules§

functions
Functions for user-defined notation elaboration.
types
Types for user-defined notation elaboration.