From: Nguyen Thai Ngoc Duy Date: Sun, 30 Sep 2012 04:31:13 GMT Subject: Re: [RFC/PATCH 0/3] git log --pretty=lua Message-ID: In-Reply-To: <20120925002325.GA19560@sigill.intra.peff.net> On Tue, Sep 25, 2012 at 7:23 AM, Jeff King wrote: > Why Lua? I don't especially like it as a language. But it's designed for > this purpose, which makes it very lightweight and relatively simple to > embed. Another option is tcl. String-based approach feels more natural for pretty.c and shell users. >=8.1 supports utf-8. We might be able to share some routines between the embedded tcl interpreter and gitk/git-gui. The drawback is we won't get the speed of luajit if we ever need to (I'm looking at filter-branch, but I assume eliminating fork() should already give decent speedup). -- Duy