sudo apt-get update
sudo apt-get install gnuplot lua5.3 chuck
ln -s $(which lua5.3) lua
- echo "chuck --silent $@" > ../chuck
+ echo "chuck --silent \$@" > ../chuck
chmod +x ../chuck
export PATH=./wren:$PATH
export PATH=.:$PATH
+++ /dev/null
-sub fibonacci_recurs {
- my ($number) = @_;
- if ($number < 2) { # base case
- return $number;
- }
- return fibonacci_recurs($number-1) + fibonacci_recurs($number-2);
-}
-
-print fibonacci_recurs(40) , "\n";
#!/bin/bash
-language=("gwion" "wren" "lua" "python" "chuck" "ruby" "perl")
-extension=("gw" "wren" "lua" "py" "ck" "rb" "pl")
+language=("gwion" "wren" "lua" "python" "chuck" "ruby")
+extension=("gw" "wren" "lua" "py" "ck" "rb")
test_dir="benchmark"
plot_script="scripts/bench.plot"
: "${repeats:=10}"