4 releases (2 breaking)

Uses old Rust 2015

0.3.0 May 19, 2015
0.2.0 Apr 8, 2015
0.1.1 Mar 12, 2015
0.1.0 Mar 9, 2015

#136 in macOS and iOS APIs

Download history 34/week @ 2023-10-28 26/week @ 2023-11-04 30/week @ 2023-11-11 30/week @ 2023-11-18 36/week @ 2023-11-25 42/week @ 2023-12-02 21/week @ 2023-12-09 32/week @ 2023-12-16 34/week @ 2023-12-23 30/week @ 2023-12-30 29/week @ 2024-01-06 25/week @ 2024-01-13 35/week @ 2024-01-20 37/week @ 2024-01-27 33/week @ 2024-02-03 39/week @ 2024-02-10

148 downloads per month

MIT license

26KB
593 lines

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.

MIT licensed.

Documentation

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:

    [dependencies]
    rust-tcl = "0.3.0"

Or you can pull it from GitHub

    [dependencies.rust-tcl]
    git = "https://github.com/AngryLawyer/rust-tcl"

Features

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

Demos

A simple Tcl repl:

cargo run --example repl

Dependencies

~135KB