File: futhark-run.rst

package info (click to toggle)
haskell-futhark 0.25.32-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 18,236 kB
  • sloc: haskell: 100,484; ansic: 12,100; python: 3,440; yacc: 785; sh: 561; javascript: 558; lisp: 399; makefile: 277
file content (45 lines) | stat: -rw-r--r-- 923 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
.. role:: ref(emphasis)

.. _futhark-run(1):

===========
futhark-run
===========

SYNOPSIS
========

futhark run [options...] <program.fut>

DESCRIPTION
===========

Execute the given program by evaluating an entry point (``main`` by
default) with arguments read from standard input, and write the
results on standard output.

``futhark run`` is very slow, and in practice only useful for testing,
teaching, and experimenting with the language.  The ``#[trace]`` and
``#[break]`` attributes are fully supported in the interpreter.
Tracing prints values to stdout in contrast to compiled code, which
prints to stderr.

OPTIONS
=======

-e NAME
  Run the given entry point instead of ``main``.

-h
  Print help text to standard output and exit.

-V
  Print version information on standard output and exit.

-w, --no-warnings
  Disable interpreter warnings.

SEE ALSO
========

:ref:`futhark-repl(1)`, :ref:`futhark-test(1)`