/tlc-tk-rust-example

A simple example of writing a Rust extension for Tcl and Tk

Primary LanguageRust

tlc-tk-rust-example

A simple example of writing a Rust extension for Tcl and Tk

  • Creates a Tcl extension in Rust that adds a new command to Tcl
  • This new command receives input from Tcl as an array of strings
  • It sends data back to Tck/Tk by executing commands on the Tcl interpreter