Move kraken,scheme,python,cpp fib tests over to koka_bench, add WAVM as a tested compiler backend for the Kraken benchmarks
This commit is contained in:
5
koka_bench/scheme/scheme-fib.scm
Executable file
5
koka_bench/scheme/scheme-fib.scm
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env -S scheme --script
|
||||
(pretty-print ((letrec ((fib (lambda (n) (cond ((equal? n 0) 1)
|
||||
((equal? n 1) 1)
|
||||
(#t (+ (fib (- n 1)) (fib (- n 2))))))))
|
||||
fib) (read (open-input-string (list-ref (command-line) 1)))))
|
||||
Reference in New Issue
Block a user