File: futhark-repl.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 (44 lines) | stat: -rw-r--r-- 1,019 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
.. 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)`