nimtcl
Low-level Tcl & Tk bindings for Nim
Wraps a native library — check OS Compatibility below for platform-specific linking notes.
Summary
| Latest Version | 0.1.0 |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:26 |
Tags
Authors
- neroist
Installation
nimble install nimtcl
choosenim install nimtcl
git clone https://github.com/neroist/nimtcl
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| nimtcl | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Dependencies
| Package | Version | Optional |
|---|---|---|
| nim >= | 1.6.0 | No |
Source
| Repository | https://github.com/neroist/nimtcl |
|---|---|
| Homepage | https://github.com/neroist/nimtcl |
| Registry Source | nimble_official |
README
nimtcl
Low level bindings for Tcl & Tk for Nim
installation
You may install using nimble
nimble install https://github.com/neroist/nimtcl
However, this library depends on a Tcl 8.6 installation. There are many ways to install Tcl; these bindings were created from the binaries and header files found here: https://gitlab.com/teclabat/tcltk/-/packages. However, you may install from ActiveTcl instead. This may be easier for windows users.
Linux users just need to install the needed packages from their package manager. For example, on a Debian-based/Ubuntu-based system, you can run
sudo apt-get install tcl
to install Tcl.
Note than some components, even including Tk, man pages and C libraries may be separate packages and installed in a similar manner.
Usage
Please see the examples on how to use this library.
For documentation, you may look at the Tcl/Tk C API documenation here (or here & here) or the tutorials here.