>>>>> "Asger" == Asger K Alstrup Nielsen <[EMAIL PROTECTED]> writes:
>> A nice solution would be a scripting language which is small enough
>> to be included in the distribution without major bloat. Does such a
>> beast exist?
Asger> The best candiate for this solution is SIOD: Scheme In One
Asger> Defun. It's small and lean, and easily customized for what we
Asger> need.
Asger> The main problem is the issue of the syntax of the language,
Asger> which will effectively limit the target user group to the
Asger> current developers and maybe twenty more people. The main
Asger> benefit for us would be to help ourselves as developers,
Asger> because we could implement parts in Scheme.
One advantage of a scheme type of thing, is that we have a nice way of
andling lists and textclass files could be in fact scheme
scripts. Would it be as easy in python?
Asger> However, I'd prefer to use a simpler language with easy syntax
Asger> so that the target market is the user that knows how to use LyX
Asger> (i.e. not the complete novice, but the big middle group).
I think the macro language in itself is intended for power users. Of
course, it is better if the lyxrc can look like
foo = bar
blah = baz
instead of
(setq foo bar)
(setq blah baz)
Asger> This problem of syntax is not easily "customized" away in
Asger> Scheme.
Right.
Asger> The other alternative is to design a mini-language for
Asger> ourselves. While this would be a fun project (I have designed
Asger> and implemented several toy languages so far), this would take
Asger> away too many resources for other things, and this might be a
Asger> bad investment.
Hmm, and why not embed LaTeX as a macro language? Many LyX users know
it, after all :-P
Asger> Therefor for this approach to be succesful, I think it would be
Asger> more realistic if we depart a bit from the normal "democracy"
Asger> development and give a single person a leader position with the
Asger> final say. To make it more fair, we could pass this leader
Asger> role around in a round-robin fashion, but I feel that it is
Asger> important that somebody will have the power to settle the
Asger> discussion without the others to be too angry and disappointed.
Here you are meaning that *you* ar ethis leader, right?
[remember, I can read your brain signals from time to time]
JMarc