Version - C99
$ gcc -o yes yes.c
$ ./yes
OR
$ ./yes argument list
$ g++ -o yes --std=c++11 yes.cpp
$ ./yes
OR
$ ./yes argument list
Version - Java 8
$ javac yes.java
$ java yes
OR
$ java yes argument list
$ ./yes.groovy
OR
$ ./yes.groovy argument list
$ node yes.js
OR
$ node yes.js argument list
$ clang -framework Foundation -o yes yes.m
$./yes
OR
$ ./yes argument list
$ valac -o yes yes.vala
$./yes
OR
$ ./yes argument list
$ yes()
OR
$ yes(string argument)
$ ocamlopt -o yes yes.ml
$ ./yes
OR
$ ./yes argument list
$ pd -batch -open yes.pd
OR
$ pd -batch -open yes.pd -send "_ argument list"
$ clojure yes.clj
OR
$ clojure yes.clj arguments
$ gfortran -o yes yes.f90
$ ./yes
OR
./yes argument
With the MARS simulator set up:
$ java -jar Mars.jar sm yes.s
OR
.$ java -jar Mars.jar sm yes.s pa argument