Skip to content

How to add support for a language

James Tai edited this page Jun 27, 2021 · 1 revision

By default, coman supports running C, C++, Python, Rust, and Swift solutions. If you want to run solutions in another programming language, you'll have to tell coman how to compile and run such solutions.

To add a language, create a section [languages.ext] in Coman.toml, where ext is the file extension for the language. Then, provide compile, compile_debug, run, and debug options as necessary. See the examples in the default Coman.toml file for hints, or check Configuration reference for more information.

Clone this wiki locally