From: Jérémie Astor Date: Sun, 19 Jan 2020 23:11:47 +0000 (+0100) Subject: escape X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=8a260e93f46c4d8f83e23a5769566f1680e89709;p=gwion.git escape --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5366948..d41ea307 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -115,7 +115,7 @@ jobs: 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 diff --git a/benchmark/fib-recurs.pl b/benchmark/fib-recurs.pl deleted file mode 100644 index 55092d23..00000000 --- a/benchmark/fib-recurs.pl +++ /dev/null @@ -1,9 +0,0 @@ -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"; diff --git a/scripts/benchmark.sh b/scripts/benchmark.sh index 3021aefc..17b0a24b 100644 --- a/scripts/benchmark.sh +++ b/scripts/benchmark.sh @@ -1,7 +1,7 @@ #!/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}"