Skip to content
forked from flightaware/cpptcl

C library for interoperability between C and TCL

License

Notifications You must be signed in to change notification settings

conej730/cpptcl

 
 

Repository files navigation

C /Tcl - a C library for interoperability between C and Tcl.

Welcome to C /Tcl!

C /Tcl... let's call it cpptcl... creates a bridge between C and Tcl, providing deep interoperability between the two languages.

C developers can use Tcl to create new and powerful ways to interact with, debug, construct automated testing for, and orchestrate the high level activies of their applications.

Tcl developers can use C to create high performance code that leverages all of the C ecosystem while providing dead simple ways to bring their C functions into Tcl, with expected Tcl semantics and no funny business. Writing C extensions for Tcl using cpptcl is vastly easier and requires far less code than extending Tcl in C.

Likewise

cpptcl documentation

Copyright (C) 2004-2006, Maciej Sobczak Copyright (C) 2017-2019, FlightAware LLC


You should see the following directories here:

  • doc - contains a short documentation for the library
  • examples - some simple examples to show C /Tcl basics
  • test - tests used for development - use them for regression testing if you want to modify the library
  • details - some additional code used by the library (not for client use)

In addition, the following files may be of interest to you:

  • README - this file
  • LICENSE - explanation of the license terms
  • CHANGES - the history of changes

The C /Tcl itself consists of these files:

  • cpptcl/cpptcl.h - to be included in your own files
  • cpptcl/cpptcl_object.h - C class that wraps Tcl objects
  • cpptcl.cc - to be compiled and linked with your code

We're using cmake to generate makefiles. This is pretty standard in the C world.

In order to compile the tests and the examples you may need to change the compiler options to fit your particular environment (different paths to the Tcl headers and libs, another compiler, etc.). By default tests and examples are not built, but you can build them with the test and examples make targets respectfully.

Anyway - have fun! :-)

About

C library for interoperability between C and TCL

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 94.5%
  • CMake 4.0%
  • Other 1.5%