That's right, a VBScript Compiler in Perl. With Parse::RecDescent, parsing and processing a language like VBScript should be easy, in comparison to other languages.
There are obvious benifits to this, at least:
In any case, there are a few problems, but I have solutions. An extensible design would allow for people who want to port existing COM object to Perl, keeping the same interface they have for VBScript. Things like CDONTS, the standard mailer, would be trivial. And anyone could supply libraries to mimic the behavoir of the original COM objects. The ASP objects could also be re-writen for folks who want to set up Apache to run an ASP with VBScript environment.
This is all brought about by the fact that I'm being somewhat forced to write VBScript for a project at work and, well, the language sucks. The cross platform and vbs2perl converter are what lure me in. At least I coult fake myself into believing I'm using a cool language.
perl -MO=Deparse default.asp
vbs2perl default.asp | tee default.cgi
perl -MVBScript -e 'Dim who
who = "Casey"
Response.Write("Hello, " _