lehenbauer.github.com
by karl lehenbauer

Overview

Welcome to lehenbauer.github.com, the home of a number of open source projects originated by Karl Lehenbauer of FlightAware over the last few years. My github projects have been migrated to flightaware.github.com.

tcl.gd

tcl.gd is a new Tcl interface to the GD drawing library that is nearly 100% feature complete with GD and provides Tcl developers with the ability to read and write JPEG, PNG, GIF, WBMP, animated GIF, and other formats and manipulate indexed color and truecolor images by drawing pixels, lines, polygons, rectangles, arcs, ellipses, etc, doing fills, drawing text with truetype fonts, draw anti-aliased, resize, resample, rotate and merge images, etc.

It's complete, solid, and fast.

yajl-tcl

yajl-tcl is a Tcl C extensions written to make the Yet Another JSON Library (YAJL) JSON parsing and generating C library available to Tcl programs.

Although there is already a package in the tcllib library, huddle, that can generate JSON, the big advantage in using yajl-tcl is performance. Also, yajl-tcl can parse JSON as well as generating it.

In a benchmark generating JSON representing 5,000 airports with code, name, latitude and longitude, yajl-tcl was 157 times faster than huddle.

More to Come

Pretty much all of the rest of the projects can be found at https://github.com/flightaware. They are being ongoingly improved. You can find repositories for a high-performance memory-resident database (speedtables), splining from Tcl without Tk (tclspline), easing the building of server applications in Tcl (tcllauncher), interfaces to various BSD UNIX system calls and library routines (tclbsd), a Tcl interface to the YAJL JSON library (yajl-tcl), and others.

License

All of these packages are licensed under the Berkeley copyright.