Bindings for Tcl in Rust
Rust Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Rust Tcl

Build Status

Simple bindings for Tcl in Rust.

Currently targets Tcl 8.5, but support for 8.6 will be added soon.

These bindings are very new, and may take some time to stabilise.


How to use

Make sure you have the development libraries for Tcl8.5 installed on your machine - you'll find these in Homebrew on OSX, or in your favourite package manager in your Linux distro. If you're using Windows, it may take a little more effort to set up.

Add it as a dependency into your project:

    rust-tcl = "0.3.0"

Or you can pull it from GitHub

    git = ""


The current implemented feature set:

  • Initializing Tcl
  • Creating interpreters
  • Creating simple Tcl values
  • Evaluating files
  • Evaluating strings
  • Getting result objects and strings from an interpreter

Other features will be added as I get around to them


A simple Tcl repl:

cargo run --example repl


Licensed under either of


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.