lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, 2 Jun 2008, Jason Neufeld wrote:
>
> The game system that I'm building is basically going to allow for custom
> user scripting that will be run from the game engine, but in a sense it
> needs to be heavily sandboxed. For example, a script could be attached
> to a particular object and tell it how to move around and interact with
> the world around it, but it should have no privileges beyond whatever
> built-in functions it has been given.

You should have a look at Caja which is designed to allow just this, for
Javascript in browsers. Not very on-topic, sorry!
http://code.google.com/p/google-caja/

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
IRISH SEA: SOUTHWESTERLY 3 OR 4, OCCASIONALLY 5. SLIGHT OR MODERATE. RAIN, FOG
PATCHES AT FIRST. MODERATE OR GOOD, OCCASIONALLY VERY POOR AT FIRST.