Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: CF: Newbie hints
- To: crossfire (at) ifi.uio.no
- Subject: RE: CF: Newbie hints
- From: Billy Tanksley <>
- Date: Mon, 21 Dec 1998 18:20:35 -0800
- Sender:
> From: Scott MacFiggen [SMTP:]
> Subject: Re: CF: Newbie hints
>
> >Personally, I would like to have a full scripting capability for key
>bindings.
> This reminds me... A friend of mine at LucasArts clued me into
> a decent embeddable scripting language called Lua. I remember
> some discussion a while ago about a possible scripting language
> for crossfire so if anyone is interested:
>
> http://www.tecgraf.puc-rio.br/lua/
>
Is there a reason why lua is cooler/better than one of the other
choices? AFAIK, most of the others are better supported, and some are
smaller or can be stripped down to be smaller (not that it matters).
- Python (my favorite -- the best OO and the best C
integration; works with SWIG to automate C feature addition, very well
used and tested)
- Perl (my least favorite, but very good for text processing
and sysadmin tasks; works with SWIG, extremely well used and tested)
- Lua (somewhat C-like, small, not well used)
- Ruby (Perl with the rough edges sanded off, still uses $signs
in $front of $variables, but that has some advantages; has garbage
collection, not well used)
- S-Lang (small, light, moderately well tested although
infrequently used -- the places it's used are 'jed' and 'slrn', two very
often seen programs)
Like I say, Python's my favorite, although Ruby's nice as well.
http://www.python.org
Perl is one of my least favorite languages; only Fortran is
lower (I don't know Cobol, so maybe...). It makes a GREAT regexper;
scripts written in it for that purpose are short, readable, and
pleasant. Anything else, though, is a little less pleasant to read.
> -Scott
>
-Billy
-
[you can put yourself on the announcement list only or unsubscribe altogether
by sending an email stating your wishes to ]