Skip to content

Latest commit

 

History

History
169 lines (115 loc) · 1.32 KB

BUILD.md

File metadata and controls

169 lines (115 loc) · 1.32 KB

How to build and execute

C

Version - C99

$ gcc -o yes yes.c
$ ./yes

OR

$ ./yes argument list

C++

$ g++ -o yes --std=c++11 yes.cpp
$ ./yes

OR

$ ./yes argument list

Java

Version - Java 8

$ javac yes.java
$ java yes

OR

$ java yes argument list

Groovy

$ ./yes.groovy

OR

$ ./yes.groovy argument list

Node.js

$ node yes.js

OR

$ node yes.js argument list

Objective-C

$ clang -framework Foundation -o yes yes.m
$./yes

OR

$ ./yes argument list

Vala

$ valac -o yes yes.vala
$./yes

OR

$ ./yes argument list

R

$ yes()

OR

$ yes(string argument)

OCaml

$ ocamlopt -o yes yes.ml
$ ./yes

OR

$ ./yes argument list

Pure Data

$ pd -batch -open yes.pd

OR

$ pd -batch -open yes.pd -send "_ argument list"

Clojure

$ clojure yes.clj

OR

$ clojure yes.clj arguments

Fortran (90)

$ gfortran -o yes yes.f90
$ ./yes

OR

./yes argument

MIPS Assembly Language

With the MARS simulator set up:

$ java -jar Mars.jar sm yes.s

OR

.$ java -jar Mars.jar sm yes.s pa argument