Brion Vibber wrote:
I'd really _like_ to be able to avoid having to
require external
executables either, if it can be managed, but that's harder since it
means having a pure PHP implementation of the scripting language. (ouch!)
-- brion
I've rewritten abuse filter parser so its scripts (language differs
though) may now be embedded in wikitext. The extension is called
InlineScripts (sorry, haven't invented any better name) and it's
working, although many functions are not implemented and test suite is
missing.
Also, there's a problem for all such embedded languages proposals: we
don't have an appropriate parser hook type.
* Function hooks (like {{#if}}) will have their code preprocessed
(that's undesirable)
* Tag hooks don't have access to PPFrame, and therefore they don't have
access to template arguments, they are not expanded by
Special:ExpandTemplates etc.
--vvv