Home

tcc4tcl

Introduction

tcc4tcl (Tiny C Compiler for Tcl) is a Tcl extension that provides an interface to TCC.

It is a fork of tcctcl by Mark Janssen.

It is licensed under the terms of the LGPL v2.1 (or later).

Download

  1. Version 0.30: Source
  2. Version 0.22: Source, Binaries

Examples

  1. Basic example:
    package require tcc4tcl

    ::tcc4tcl::cproc test {int i} int { return (i+42); }

    puts [test 1]
  2. More Examples

Documentation

  1. High-level API