Paul Moore | 6 Sep 16:47

Lua for Take Command, release 1.0

I am pleased to announce the first release of my Lua plugin for JP Software's
Take Command command processor.

What is Lua for Take Command?
-----------------------------

Lua for Take Command (LuaTC hereafter) is a plugin for Take Command
(http://www.jpsoft.com) to embed a Lua (http://www.lua.org) interpreter in the
command processor. LuaTC allows TCC batch files to take advantage of the
powerful Lua scripting language from within TCC.

Why is it different from standalone Lua?
----------------------------------------

Standalone Lua scripts do not have access to the Take Command process, so they
cannot (for example) set environment variables, or run internal TCC commands
without starting a new TCC process. However, LuaTC has direct access to the
TCC API, and can easily do these things.

A simple example, to set a variable from within Lua:

    lua tcc.env["A"]="Set from Lua"

Where can I get it?
-------------------

LuaTC is hosted on Google Code. The project home page is at

    http://lua4nt.googlecode.com

(Continue reading)


Gmane