- C++(cc)
/usr/bin/g++ -x c++ foo.cc -o foo -lm -fno-stack-limit -fdiagnostics-color=always -std=c++14 -O2 -I/include
- C++11(cc.std11)
/usr/bin/g++ -x c++ foo.cc -o foo -lm -fno-stack-limit -fdiagnostics-color=always -std=c++11 -I/include
- C++11(O2)(cc.cc11o2)
/usr/bin/g++ -x c++ foo.cc -o foo -lm -fno-stack-limit -fdiagnostics-color=always -std=c++11 -O2 -I/include
- C++14(cc.cc14)
/usr/bin/g++ -x c++ foo.cc -o foo -lm -fno-stack-limit -fdiagnostics-color=always -std=c++14 -I/include
- C++14(O2)(cc.cc14o2)
/usr/bin/g++ -x c++ foo.cc -o foo -lm -fno-stack-limit -fdiagnostics-color=always -std=c++14 -O2 -I/include
- C++17(cc.cc17)
/usr/bin/g++ -x c++ foo.cc -o foo -lm -fno-stack-limit -fdiagnostics-color=always -std=c++17 -I/include
- C++17(O2)(cc.cc17o2)
/usr/bin/g++ -x c++ foo.cc -o foo -lm -fno-stack-limit -fdiagnostics-color=always -std=c++17 -O2 -I/include
- C++20(cc.cc20)
/usr/bin/g++ -x c++ foo.cc -o foo -lm -fno-stack-limit -fdiagnostics-color=always -std=c++20 -I/include
- C++20(O2)(cc.cc20o2)
/usr/bin/g++ -x c++ foo.cc -o foo -lm -fno-stack-limit -fdiagnostics-color=always -std=c++20 -O2 -I/include
- C++98(cc.std98)
/usr/bin/gcc -x c foo.cc -o foo -lm -fno-stack-limit -fdiagnostics-color=always -std=c99
- C++98(O2)(cc.cc98o2)
/usr/bin/gcc -x c foo.cc -o foo -lm -fno-stack-limit -fdiagnostics-color=always -std=c99 -O2
- C(c)
/usr/bin/gcc -x c foo.cc -o foo -lm -fno-stack-limit -fdiagnostics-color=always -std=c99 -O2
- Python(py)
/usr/bin/python -c "import py_compile; py_compile.compile('/w/foo.py', '/w/foo', doraise=True)"
- Python 3(py.py3)
/usr/bin/python3 -c "import py_compile; py_compile.compile('/w/foo.py', '/w/foo', doraise=True)"
- PyPy3(py.pypy3)
/bin/bash -c "/usr/bin/pypy3 -c \"import py_compile; py_compile.compile('/w/foo.py', '/w/foo', doraise=True)\" && mv foo.py foo"
- Pascal(pas)
/usr/bin/fpc -O2 -o/w/foo foo.pas
- Bash(bash)
/bin/bash foo.sh
- Haskell(hs)
/usr/bin/ghc -O -outputdir /tmp -o foo foo.hs
- Java(java)
/usr/bin/bash -c "javac -d /w -encoding utf8 ./Main.java && jar cvf Main.jar *.class >/dev/null"
- Kotlin(kt)
echo "Invalid language selection"
- Kotlin/JVM(kt.jvm)
kotlinc -include-runtime -d foo.jar foo.kt
- Rust(rs)
/usr/bin/rustc -O -o /w/foo /w/foo.rs
- Ruby(rb)
/usr/bin/ruby foo.rb
- Go(go)
/usr/bin/go build -o foo foo.go
- Node.js(js)
/usr/bin/node /w/foo.js
- R(r)
/bin/sh -c "cat /dev/stdin >stdin && /usr/bin/Rscript --vanilla foo.r"
- Julia(jl)
/usr/bin/julia /w/foo.jl
- C# Mono(cs)
/usr/bin/mcs -optimize+ -out:/w/foo /w/foo.cs
- PHP(php)
/usr/bin/php foo.php