Collection of Tcl tools (v0.1)

ContentTop, Main, Index

This package provides different Tcl tools:

Installation and dependenciesTop, Main, Index

Packages are written in pure Tcl and relies on Tcllib. The only necessary external dependency is the argparse package.

To install, run

./configure
sudo make install

If you have different versions of Tcl on the same machine, you can set the path to this version with -with-tcl=path flag to configure script.

After installation you can run make test to test installed packages.

On Windows you can use MSYS64 UCRT64 environment, the above steps are identical if you run it from UCRT64 shell. After installing the package, you can move tcl_tools package folder (usually located in C:\msys64\ucrt64\lib\) to path listed in auto_path variable of your local Tcl installation.

On the other hands, because the package is Tcl only, you can just download zip package in release section. And then put this folder to path listed in auto_path variable of your local Tcl installation.

Supported platformsTop, Main, Index

Any OS that has tcl8.6/tcl9.0 (Linux, Windows, FreeBSD).

DocumentationTop, Main, Index

You can find some documentation here. Also on Linux you can open manpages installed after run of make install.

All public commands in all packages in this distribution (except extexpr) support -help command that returns information about command and its arguments. For example, if we call command ::mathutil::movAvg with -help switch in interactive terminal:

::mathutil::movAvg -help

Information printed into the standard output:

Finds moving average of y with given window size. Returns: list of y, and x if
-x argument is specified. Can accepts unambiguous prefixes instead of switches
names. Required parameters must appear before switches.
    Switches:
        -x - Expects argument. Optional argument with x values.
    Parameters:
        y - List of values, must be larger than window size.
        winsize - Size of the window, must be an integer larger than 1 and odd
            size. Type integer.