>>>>> "Alfredo" == Alfredo Braunstein <[EMAIL PROTECTED]> writes:

Alfredo> Jean-Marc Lasgouttes wrote:
>> Note that this means that all this file manipulation will reside in
>> sh scripts, which will really be unix-specific, and this is not a
>> good design IMO. Of course, we could use lua :)

Alfredo> But what do we do now? I see, we could fill a list of
Alfredo> "arguments to forkedcall" instead of an ostream, without
Alfredo> changing the concept, right? Even if it seems to me that the
Alfredo> other way is way more flexible.

Let's say we can go the sh route anyway, but keep in mind that the
code should be only added in a few known place, so that we can rewrite
it easily later.

Alfredo> Btw, what's lua?

It is a small embeddable interpreter for what looks like a nice
language. On linux, the interpreter with complete standard library
included has a dec size of 100k (for 400k of sources). I do not know
whether it is possible to remove the parts of the std lib that we do
not need, but the gain would be small anyway.

So this is basically something we could ship with LyX (compare with
3.8M of boost sources).

Web site is at www.lua.org.

Also there is a set of C++ bindings at luabind.sf.net. These should
please lars, since they use heavy template code and is inspired by
boost::Python :) The price to pay is that it is as large as lua itself
(430k of source) and will probably not do good things to compile
times.

But of course we do not really know what script languages we are going
to choose...

JMarc

Reply via email to