Get the latest tech news

SQLite's Use of Tcl (2017)


a TCL extension that has escaped into the wild. The design of SQLite was inspired by the design of TCL, both in the way it handles datatypes and in the formatting of its source code.

The mksqlite3.tcl script automatically adds the "static" keyword to internal SQLite APIs to give them file linkage, and makes other similar edits. The added TCL code is used for advanced formatting techniques, for automatically creating cross-references and cross-links, and for constructing complex displays such as the popular "rail-road" syntax diagrams for SQL. The Fossil version control system used for the SQLite source code (and written specifically for that purpose) uses Tcl/Tk to show graphical side-by-side diffs in a separate window.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of TCL

TCL

Photo of use

use

Photo of SQLite

SQLite

Related news:

News photo

Plant pollen finds use in coral-friendly, skin-cooling sunscreen | An experimental new sunscreen forgoes the minerals altogether, replacing them with "just-as-effective" plant pollen.

News photo

SQLite's File Format

News photo

How much power does Visual Look Up use?