Will need to make my app scriptable

JasonCoder

Golden Member
Feb 23, 2005
1,893
1
81
So in the near future I'll be needing to make portions of my .net 3.5 app scriptable. I'll no doubt need to think about lots of different events that will bubble to the scripts, etc. Does anyone have any helpful advice in this area?

Many tools that I use daily are scriptable... TSVN evidently has Python scripting capabilities for instance. Ideally I'd like to use PERL (yuk) because I'd be able to leverage a lot of existing code and it would be free but I'm open to other suggestions.

Thanks in advance.
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,836
4,815
75
I would recommend IronPython for .net scripting; once you import all the important objects in your app, you can do basically anything with them that you could do in any other .net language, on the fly. You might have more trouble limiting scripting functionality than allowing it!
 

JasonCoder

Golden Member
Feb 23, 2005
1,893
1
81
Thanks Ken. I've heard of IronPython and now that I've been to the codeplex site it looks nice. Do you happen to know how easy it is to provide events for the scripter to hook into?
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,836
4,815
75
I've mostly modified fields, and sometimes called methods. But the files attached to this newsgroup post, which I just found with Google, make it look pretty easy to fire an event.

Is that what you were asking about?
 

JasonCoder

Golden Member
Feb 23, 2005
1,893
1
81
Yeah I'll have to look into it. I'm brand new to this kind of bolt on so I've got a lot to learn about it looks like.