If you have questions, comments, or suggestions, please use the contact form below to get in touch.
Frequently Asked Questions
- How can I add my own languages to CodeRunner?
- Debugging fails with gdb on macOS Sierra. Is there a fix?
How can I add my own languages to CodeRunner?
CodeRunner's run system is based on simple terminal commands, and therefore if you know the terminal commands involved in running/compiling code in your language, you can easily add it to CodeRunner. To add languages, go to Preferences -> Languages, and click the "+" button. In the "Run Command" text box, enter the command you use to run the language from the terminal. E.g. if the interpreter is called
mylang, you would enter
mylang $filename here.
If your language uses several commands to run, you can use a CodeRunner compile script. Check the box "Language uses compile script" and click the "Edit Script..." button. This will open the compile script in the CodeRunner editor. The script will contain a further explanation of how to use it.
Debugging fails with gdb on macOS Sierra. Is there a fix?
Some users are reporting that gdb fails to debug programs after upgrading to macOS Sierra. This appears to be an issue with gdb itself. A solution is being investigated, but meanwhile you can switch to using the lldb debugger instead of gdb. You can do this under CodeRunner Preferences -> Languages -> Debugger -> "lldb". Note that using lldb requires that you have Xcode installed.