'nim i' is not available anymore
This commit is contained in:
parent
1a2867146b
commit
f32c8ee773
1 changed files with 13 additions and 13 deletions
24
doc/nimc.txt
24
doc/nimc.txt
|
|
@ -333,20 +333,20 @@ Nim provides language integration with external IDEs through the
|
||||||
idetools command. See the documentation of `idetools <idetools.html>`_
|
idetools command. See the documentation of `idetools <idetools.html>`_
|
||||||
for further information.
|
for further information.
|
||||||
|
|
||||||
|
..
|
||||||
|
Nim interactive mode
|
||||||
|
====================
|
||||||
|
|
||||||
Nim interactive mode
|
The Nim compiler supports an interactive mode. This is also known as
|
||||||
====================
|
a `REPL`:idx: (*read eval print loop*). If Nim has been built with the
|
||||||
|
``-d:useGnuReadline`` switch, it uses the GNU readline library for terminal
|
||||||
|
input management. To start Nim in interactive mode use the command
|
||||||
|
``nim secret``. To quit use the ``quit()`` command. To determine whether an input
|
||||||
|
line is an incomplete statement to be continued these rules are used:
|
||||||
|
|
||||||
The Nim compiler supports an interactive mode. This is also known as
|
1. The line ends with ``[-+*/\\<>!\?\|%&$@~,;:=#^]\s*$`` (operator symbol followed by optional whitespace).
|
||||||
a `REPL`:idx: (*read eval print loop*). If Nim has been built with the
|
2. The line starts with a space (indentation).
|
||||||
``-d:useGnuReadline`` switch, it uses the GNU readline library for terminal
|
3. The line is within a triple quoted string literal. However, the detection
|
||||||
input management. To start Nim in interactive mode use the command
|
|
||||||
``nim i``. To quit use the ``quit()`` command. To determine whether an input
|
|
||||||
line is an incomplete statement to be continued these rules are used:
|
|
||||||
|
|
||||||
1. The line ends with ``[-+*/\\<>!\?\|%&$@~,;:=#^]\s*$`` (operator symbol followed by optional whitespace).
|
|
||||||
2. The line starts with a space (indentation).
|
|
||||||
3. The line is within a triple quoted string literal. However, the detection
|
|
||||||
does not work if the line contains more than one ``"""``.
|
does not work if the line contains more than one ``"""``.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue