Long question - I want to integrate IDE(compiler) in my open source project. There will be source code input and simple output will be displayed. Which API should I use? (Condition - API should be open source or free)
I have been developing an open source project for managing code snippets(kind of github gists). But I want to add this functionality of providing online IDE for simple program execution.
I heard there are various online APIs from some of which are open source. But it is hard to find perfect one. So as people from community would have used API in past so I needed an opinion for integrating that as part of Easy-to-go routine.
Mark
There's a pretty big gap between a browser-level source editor + compilation, and what I would call an IDE.
The browser IDE that I've heard most about would be Cloud9. Don't know if they have any API.
Cloud9 uses (and maintains) the Ace editor, which you could adapt to your needs. It's not an api though, just an editor.
From the list, the only thing I've used is Hackerrank. Their editor/compiler thing is okay, though I still find myself developing in IntelliJ/PyCharm and copying the result. If their editor has some kind of API for this, that's news to me, I'm only aware of competition API.