I have been working on a special project several months ago, which was really fun to develop and apparently the guy I've been doing it for loves it, so I present you proudly:
AwesomeScript
But first, a story for ya: We were working on a project which needed scripting support for users, but not harm the system or data. The available sandboxing php script was very unhandy and no other options were around. We first thought about implementing other scripting languages (Lua, python), but realized that integrating them as php extension would be a lot of work. So we sat around and developed a specification for a custom language, which we thought was a some awesome way to do this, we gave it the name AwesomeScript :)
Now, AwS (as we started to call it) is designed to be very similar to JavaScript, and blocks all invalid function calls to an undefined or not allowed function. It currently doesn't have any class support, but that is open for the future. We might also publish the specification to AWS if you are interested enough. The test file in the repository has everything you need to know about it, but feel free to contact me if you have additional questions.
The repository is available at github:
http://github.com/Chaosteil/AwesomeScript/
Have fun and feel free to fork me on github!
PS: There are no released projects available, but I'm working with Cpojer on several, so stay tuned!
May 30, 2009
AwesomeScript
Posted by
Chaosteil
at
15:21
0
comments
Subscribe to:
Posts (Atom)
