> > > Anyway, past discussions have usually ended up with Python as best because
> > > it's readable/writable even for newbies.  Scheme/Lisp usually dropped as a
> > > bad idea because no-one cares to type all the ()'s and Perl as a possible
> > > second language.

There's also Lua (www.lua.org), which is much smaller than python, rather
simpler, and was specifically designed a) to be embedded in applications and
b) as an application extension language. A typical build of the compiler/
run-time-system and standard library shared libraries is about 100kb (hence
you can easily link it statically if that's easier without much bloat).

It's a lovely little language with clean syntax, such that configuration
files can be written directly in it (if you like), and reflection of C
functions into Lua is extrememly easy.

Lua is BSD-ish licensed, and written in pure (and I do mean pure) ANSI C. It
compiles out of the box on almost anything (and it has been ported, among
other odd environments, to Palm OS, EPOC and RISC OS; indeed, on the last
two it compiles without alteration).

It is widely used as an embedded application control language, especially
for scripting game engines.

-- 
http://sc3d.org/rrt/ | Caution Children At Play Drive Slowly


Reply via email to