* Victor Vasiliev <[email protected]> [Fri, 23 Dec 2011 09:46:46 +0400]:
> On Fri, Dec 23, 2011 at 9:26 AM, Dmitriy Sintsov <[email protected]>
> wrote:
> > Also it would be great if WikiScripts or Lua extension allowed to
> easily
> > bind functions / class wrappers for another MediaWiki extensions. 
The
> > extension I develop uses PHP eval for interpretation of the scripts, 
I
> > am looking for adaption of WikiScripts to use it in conjunction with
> my
> > extension.
> > Dmitriy
>
> Well, WikiScripts, if we decide to develop it seriously, will
> certainly have extension interface (it is on my large TODO list for
> that). Something tells me it would be possible to do in Lua as well.
> All we have to do now is to settle down on what way we choose.
>
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? What's about cross-translating to PHP then eval()?
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. It is a shame 
PHP itself does not have stable good VM extension for execution of 
scripts.
Dmitriy

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to