NeuralJack
Centurion
- Joined
- Jul 28, 2005
- Messages
- 138
Howdy, I'd really like to provide a robust scripting interface for a VB.Net application of mine. The scripts would be compiled and executed on the fly.
I'd like the user to be able to create functions, classes, etc, if they'd like. But I think that's not the norm for standard scripting interfaces.
I've never used VBScript, JScript, VBScript.Net, or JScript.NET but it appears that if you use VSA to implement them into your program then the user will not be able to create functions, subroutines, classes, etc. It looks like they simply type out a bunch of code that is sort of already in a "Main" subroutine - one that they do not have to declare. Is this correct? That's some pretty limited functionality IMO.
Besides that VSA sounds great with the object-importing etc.
It appears that there is very little info on this stuff. I've heard VBScript.Net refered to at a few sites, but then I can not find any documentation on it. MS doesnt seem to acknowlege it. I can find much more documentation on JSCript.NET however, so I'll probably go with that if i use VSA.
I have found that old-school VB provided much easier ways to implement a VBScript interface, but I'm not interested in old-school VBScript. I'd like an object oriented system so that's another reason to go with JScript.Net. I might be interested in a VBScript.NET if it existed (not sure if it does).
Anyway, then there's this CodeDom I keep hearing about. But i find little to no examples of anyone using it for a scripting interface in an application.
Any Ideas, Suggestions, Comments?
I'd like the user to be able to create functions, classes, etc, if they'd like. But I think that's not the norm for standard scripting interfaces.
I've never used VBScript, JScript, VBScript.Net, or JScript.NET but it appears that if you use VSA to implement them into your program then the user will not be able to create functions, subroutines, classes, etc. It looks like they simply type out a bunch of code that is sort of already in a "Main" subroutine - one that they do not have to declare. Is this correct? That's some pretty limited functionality IMO.
Besides that VSA sounds great with the object-importing etc.
It appears that there is very little info on this stuff. I've heard VBScript.Net refered to at a few sites, but then I can not find any documentation on it. MS doesnt seem to acknowlege it. I can find much more documentation on JSCript.NET however, so I'll probably go with that if i use VSA.
I have found that old-school VB provided much easier ways to implement a VBScript interface, but I'm not interested in old-school VBScript. I'd like an object oriented system so that's another reason to go with JScript.Net. I might be interested in a VBScript.NET if it existed (not sure if it does).
Anyway, then there's this CodeDom I keep hearing about. But i find little to no examples of anyone using it for a scripting interface in an application.
Any Ideas, Suggestions, Comments?