I have an application, written in OCaml. I want that application to script a running instance of Eclipse. How can I do that?
Apparently, there is, or used to be something called Eclipse Monkey that allowed you to script Eclipse from various languages.
One way, I suppose, would be to use an Eclipse plugin to listen on a port and use some protocol for issuing commands to Eclipse. That's ugly, though. Is there a better way?