Added VBScript support.

This commit is contained in:
James Forshaw
2017-05-16 19:00:29 +01:00
parent e3cebf073f
commit b53cd212a0
8 changed files with 214 additions and 29 deletions
+4
View File
@@ -35,6 +35,7 @@ namespace DotNetToJScript
{
JScript,
VBA,
VBScript,
}
static object BuildLoaderDelegate(byte[] assembly)
@@ -196,6 +197,9 @@ namespace DotNetToJScript
case ScriptLanguage.VBA:
generator = new VBAGenerator();
break;
case ScriptLanguage.VBScript:
generator = new VBScriptGenerator();
break;
default:
throw new ArgumentException("Invalid script language option");
}