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
|
.. role:: ref(emphasis)
.. _futhark-repl(1):
============
futhark-repl
============
SYNOPSIS
========
futhark repl [program.fut]
DESCRIPTION
===========
Start an interactive Futhark session. This will let you interactively
enter expressions and declarations which are then immediately
interpreted. If the entered line can be either a declaration or an
expression, it is assumed to be a declaration. The input msut fit on
a single line.
Futhark source files can be loaded using the ``:load`` command. This
will erase any interactively entered definitions. Use the ``:help``
command to see a list of commands. All commands are prefixed with a
colon.
``futhark repl`` uses the Futhark interpreter, which grants access to
the ``#[trace]`` and ``#[break]`` attributes. See
:ref:`futhark-run(1)` for a description.
OPTIONS
=======
-h
Print help text to standard output and exit.
-V
Print version information on standard output and exit.
SEE ALSO
========
:ref:`futhark-run(1)`, :ref:`futhark-test(1)`
|