futhark-py [-V] [-o outfile] infile
futhark-py translates a Futhark program to sequential Python code.
The resulting program will read the arguments to the
from standard input and print its return value on standard output.
The arguments are read and printed in Futhark syntax, just like
The generated code is very slow, likely too much to be useful. It is
more interesting to use this command’s big brother,
|-o outfile||Where to write the resulting binary. By default, if the source program is named ‘foo.fut’, the binary will be named ‘foo’.|
|-v verbose||Enable debugging output. If compilation fails due to a compiler error, the result of the last successful compiler step will be printed to standard error.|
|--library||Instead of compiling to an executable program, generate a Python
module that can be ported by other Python code. The module will
contain a class of the same name as the Futhark source file with
|--Werror||Treat warnings as errors.|
|-h||Print help text to standard output and exit.|
|-V||Print version information on standard output and exit.|