SharpDevelop 2.1 "Serralongue" ships with the ability to be hosted in your application to provide IDE services for your users to extend / automate your application. Basically what we have done is split up SharpDevelop.exe into two assemblies, ICSharpCode.Sda.dll and SharpDevelop.exe, whereas the latter assembly only calls into the SDA API to bootstrap #develop itself.
To get an idea what you can do with SharpDevelop for Applications (SDA), I have created a screen recording of a walkthrough of the SdaUser sample that ships with Serralongue:
SharpDevelop for Applications demo (5.97MB)
Again, please note that Serralongue is currently only available via our Subversion repository.