perhaps ePerl, and Parse::ePerl might be helpful for you. if you write a content handler based on these modules it should be achievable that users can just drop a page, and it will run.
--------------------------------
masses are the opiate for religion.