On Fri, Dec 23, 2011 at 9:54 AM, Dmitriy Sintsov questpc@rambler.ru wrote:
Victor, what do you think about making WikiScripts syntax more similar to the subset of Lua or JavaScript syntax? That probably should not be too hard?
It is already almost a JavaScript subset
What's about cross-translating to PHP then eval()?
Bad idea. If you really care about performance, you will be able to install native parser (already implemented, but not integrated) and that shall solve most performance problems.
Lua is great, however, it's a bit strange to use two interpreters (PHP+Lua) together. That limits hosting possibilities and it's something like using two similar screwdrivers for the same screw.
Not really. Lua was designed as a sandboxable language, and PHP was not.
--vvv