Issue tracker for CodeRunner used on Codewars and Qualified.
Please report any language related issues here.
For anything else about Codewars, please use codewars/codewars.com.
Please open new issues using appropriate issue templates.
CodeRunner itself is not open source, but it's roughly equivalent to the following:
$ WORKDIR=/workspace/
# Create a container
$ C=$(docker container create --rm -w $WORKDIR language-image cmd args)
# Copy files
$ files | preprocess | docker container cp - $C:$WORKDIR
# Run
$ docker container start --attach $C | postprocess
WORKDIR
is not always/workspace/
and can be a subdirectory of it (planned to be standardized in the future)preprocess
is responsible for the file layout and any code modifications necessary for backwards compatibility (e.g., concatenation)postprocess
transforms the output when necessary (e.g., Codewars test output from JSON)
Images can be used with local files by changing the step to copy the files:
$ docker container cp ./files/. $C:$WORKDIR
# ^^
# copy contents and not itself
Container images are available on DockerHub under qualified.
Contributions are welcomed!
For now, please look at the following places:
- Issues with
help wanted
label - Projects with
code-runner
topic
Feel free to open issues to ask us if you'd like to contribute in other ways.
- C
- C#
- C++
- Clojure
- CoffeeScript
- Coq
- Crystal
- Dart
- Elixir
- F#
- Go
- Groovy
- Haskell
- Java
- JavaScript
- Kotlin
- Lean
- Lua
- NASM
- PHP
- Python
- Racket
- Ruby
- Rust
- Scala
- Shell
- SQL
- Swift
- TypeScript
- Agda
- BF
- CFML
- COBOL
- CommonLisp
- D
- Elm
- Erlang
- Factor
- Forth
- Fortran
- Haxe
- Idris
- Julia
- Nim
- Objective-C
- OCaml
- Pascal
- Perl
- PowerShell
- Prolog
- PureScript
- R
- Raku
- Reason
- Solidity
- VB.NET
See issues with language request label.