jimtcl 0.5.0-beta4

Embed Jim Tcl in Rust.
Documentation
//! Rust API for embedding Jim TCL.
//!
//! To use the Jim interpreter, create an [Interp] and evaluate Tcl code, add
//! commands, etc.
//!
//! ```rust
//! use jimtcl::Interp;
//! let interp = Interp::new()?;
//! interp.eval("puts {Hello, world}")?;
//! # Ok::<(), jimtcl::JimError>(())
//! ```
//!
//! This crate is focused on providing an ergonomic API to the core Jim Tcl
//! interpreter and its included extensions. The [guartcl][] crate provides an
//! extended interpreter with additional commands.
//!
//! [guartcl]: https://docs.rs/guartcl

pub use jimtcl_sys as sys;
#[cfg(feature = "cli")]
pub mod cli;
pub mod command;
pub mod custom;
pub mod error;
mod interp;
pub mod object;
#[cfg(feature = "serde")]
mod serde;

pub use error::{JimError, JimResult};
pub use interp::Interp;
pub use object::JimObject;