[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: autotools alternatives, is anybody using autosetup?
- From: David Given <dg@...>
- Date: Wed, 18 Jul 2012 16:46:59 +0100
Jay Carlson wrote:
[...]
> Tcl is like the platonic essence of a programming language designed around string interpolation, in the same way Lua is for tables and Scheme is for cons cells. A lot of us have written various hacky little macro expansion languages; core Tcl is those done right. Tcl's major charm is that function arguments are not evaluated, making it easy to build special forms and little languages. So other than the core {}[]"$f" syntax, Tcl syntax is whatever you want it to be.
The Fossil DVCS/bug tracker/wiki/CMS (which I've been using, and is
really nice) uses a Tcl subset called TH1 as its default template
language. It's specifically a *template* language, designed to do simple
stuff in HTML files, rather than a fully-fledged scripting language, and
somewhat to my horror actually seems to do the job quite well...
The implementation is about 4000 lines of well-commented C, and the
programming manual is 26 pages:
http://www.sqliteconcepts.org/THManual.pdf
I can't say I *like* it, but I can appreciate the minimalism of the design.
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│ "Parents let children ride bicycles on the street. But parents do not
│ allow children to hear vulgar words. Therefore we can deduce that
│ cursing is more dangerous than being hit by a car." --- Scott Adams
Attachment:
signature.asc
Description: OpenPGP digital signature