//! Dialect compiler seam for text-pattern syntaxes.
usesim_kernel::Result;usecrate::TextOp;/// A surface pattern syntax that compiles to the shared text-pattern VM.
pubtraitPatternDialect: Send + Sync {/// Compiles `pattern` into VM operations.
////// # Errors
////// Returns an error when the surface pattern is malformed.
fncompile(&self, pattern:&str)->Result<Vec<TextOp>>;}