[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

27567: RE: [MUD-Dev] Scripting languages

[Full Header] [Plain Text]
From: Jay Carlson <nop@mitre.org>
Newsgroups: nu.kanga.list.mud-dev
Date: 28 Jun 2003 23:21:52 -0400
References: [1]
Organization: Kanga.Nu
On Fri, 2003-06-27 at 13:49, Ling Lo wrote:
> Mark 'Kamikaze' Hughes wrote:

>> While it's working the other way around, using a scripting
>> language for the entire MUD, the very badly-named POO (Pythonic
>> MOO) is a nice engine, and fairly small--an earlier version I
>> have somewhere around here is even smaller, and still provided
>> all the necessary MUD services.

> Python supplies an awful lot of handy default libraries which tend
> to make the code fairly small.

...most of which can't be used without a security audit, if you
don't have full trust in people writing code.  The mutability of
basic Python data types is just the beginning.

Lua 5.0 is getting close to having most of the parts needed to
reimplement something close to the MOO language and security
model. IIRC the missing parts are stack serialization (to persist
suspended threads to disk) and some way of sticking a default
metatable on constructed tables (to enforce permissions by default).
I think you can probably use environments to track programmer
permissions.  Real exceptions would be nice to have of course.

Mind you, this is using Lua as a language construction set rather
than a language itself.  But that's the Lua way.

--
Jay Carlson <nop@mitre.org>
_______________________________________________
MUD-Dev mailing list
MUD-Dev@kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev