Well you can simply let crimson editor execute the code. All you need is a simple commandline utility that lets you send text over with interner sockets. Most operating systems ship with ones, such as webcat eytc. Or with windows download something like putty etc.
Then just edit crimson editor so that it sends whatever you want to mayas command port using thsi software and done. Basically this means that allmost all existing code editors can do this since dumping code to commandline applicatiosn is pretty basic functionality of all editors areound.