]> Nishi Git Mirror - gwion.git/commitdiff
escape
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 19 Jan 2020 23:11:47 +0000 (00:11 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 19 Jan 2020 23:11:47 +0000 (00:11 +0100)
.github/workflows/build.yml
benchmark/fib-recurs.pl [deleted file]
scripts/benchmark.sh

index e536694854a8eed00bc0b1704bbf2da063ce069b..d41ea307ba0f209d0cd052c968d1caf928944dd0 100644 (file)
@@ -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 (file)
index 55092d2..0000000
+++ /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";
index 3021aefc760bb455f73832c14223492d812746bc..17b0a24b60e6bb0f39988e7812f7cf8f500f3672 100644 (file)
@@ -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}"