Le Tue 15/01/2008 à 18:26 res à écrit:
> Hi,
> some of you may know how I think about xml-script, most probably not.
> To summarize: I commonly like to use words such as "abuse",
> "perversion", "abomination" and other of similar quality when
> referring to xml-script.

Hello,

I might answer when the thread is long ago dead ... but I still want to
share my opinions.

I think there is a big problem in CrystalSpace/CEL currently. I
I mean ... you're right. XML scripting is awful. From my point of view,
XML is not a language made to be edited by human beings. So
*programming* in XML ? How can anyone do that ?

I agree we have python. Great :) But ...
The major problem with python is that it's a huge security hole if you
intend to get the resources you're going to use from the network (read:
from an untrusted server). There is currently no way to sandbox a
python script (or if there is, it's well hidden). In those cases what
can we use except XML scripting (which might not be an option if you
can't stand XML)

> Some ideas:
> - Python [...]
> - AngelScript [...]
> - JavaScript [...]
> - Something home-grown [...]

So it's been a while now, but I tried to add support for Lua language
into CrystalSpace / CEL. I made several attempts, all unsuccessful.
Because this was my first attempt to use CrystalSpace in some way. So
if anyone has more knoledge of CrystalSpace internals, please do
something !

Well, about Lua <http://lua.org>. it's a very small language with a
small standard library and that is implemented in ANSI C. it is made to
be fast, small, easily embeddable, ... and it is often found in game
engines. One thing that Lua does very well is sandboxing. It's very
easy to remove the standard libraries (just put nil in the variables
that usually hold the functions of the standard library) so the
language is secure.

Hoping someone will one day be able to do something about those issues.
(I'm looking forward to see how the Apricot team addressed these
issues, or perhaps they don't use network, which simplifies greatly the
problem)

Thanks for reading.

Mildred

-- 
Mildred Ki'lya
E-Mail: mildred593(at)online.fr

Site:   <http://mildred632.free.fr/>
XMPP:   <[EMAIL PROTECTED]> (GoogleTalk, Jabber)

GPG:    197C A7E6 645B 4299 6D37 684B 6F9D A8D6 [9A7D 2E2B]

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Cel-main mailing list
Cel-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cel-main

Reply via email to