Skip to main content

Crate jimtcl

Crate jimtcl 

Source
Expand description

Rust API for embedding Jim TCL.

To use the Jim interpreter, create an Interp and evaluate Tcl code, add commands, etc.

use jimtcl::Interp;
let interp = Interp::new()?;
interp.eval("puts {Hello, world}")?;

Re-exports§

pub use error::JimError;
pub use error::JimResult;
pub use object::JimObject;
pub use jimtcl_sys as sys;

Modules§

cli
Command-line shells.
command
Implementing Jim commands.
error
Jim Tcl errors.
object
Tcl object wrapper.

Structs§

Interp
Safe wrapper for a Jim Tcl interpreter.