-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrunAll.sh
39 lines (29 loc) · 810 Bytes
/
runAll.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# TypeScript implementation
deno run --allow-net --allow-read --allow-write Main.ts
# C++ implementation
g++ Main.cpp -o results/programcpp
./results/programcpp
# C implementation
gcc Main.c -o results/programc
./results/programc
# Haskell implementation
ghc -odir results -hidir results Main.hs -o results/programhaskell
./results/programhaskell
# Python implementation
python3 Main.py
# C# implementation
mcs -out:results/programcsharp Main.cs
mono results/programcsharp
# Rust implementation
rustc Main.rs -o results/programrust
./results/programrust
# Scala 3 implementation
scalac -d ./results Main.scala
scala -cp ./results CellularAutomaton
# Go implementation
go run Main.go
# Clojure implementation
clojure Main.clj
# Java implementation
javac -d results Main.java
java -cp results Main