A long time ago in a …
I suppose you know the rest.
Currently semi busy with updating the Answers Family code base, adding features et cetera. Also I am contemplating writing a similar system for myself. Maybe I can squeeze some earlier ideas in there? We’ll see, eventually!
On a different note: Chapel was so nice as to provide a Linkinus Script that can forward calls to non AppleScript based scripts including parameters. See for yourself! If you want to have a working build including a sample slap.php script (basically slap.scpt done in PHP) look no further than here.