pub struct LispReconciler {
pub program: String,
pub extensions: Vec<ExtensionHandle>,
}Expand description
The default reconciler — evaluates a tatara-lisp program with the supplied extension bundle. Constructible two ways:
LispReconciler::standard(program)usesstandard_extensions().LispReconciler::with_extensions(program, exts)for hosts that want additional intrinsics.
Holds an owned program + a shared extension list. Cheap to clone (Arcs all the way down) so the runtime can rebuild it on every vigy edit without paying for interpreter construction up-front.
Fields§
§program: String§extensions: Vec<ExtensionHandle>Implementations§
Source§impl LispReconciler
impl LispReconciler
pub fn standard(program: impl Into<String>) -> Self
pub fn with_extensions( program: impl Into<String>, extensions: Vec<ExtensionHandle>, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LispReconciler
impl !RefUnwindSafe for LispReconciler
impl Send for LispReconciler
impl Sync for LispReconciler
impl Unpin for LispReconciler
impl UnsafeUnpin for LispReconciler
impl !UnwindSafe for LispReconciler
Blanket Implementations§
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
Mutably borrows from an owned value. Read more