diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-01-27 15:51:11 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-01-27 15:51:11 +0100 |
commit | f32c8ee773d64eb46dfaa6282286659b7bb7c5fc (patch) | |
tree | 576397e3563b2dee355959c30c4862573d42239c | |
parent | 1a2867146b7af5871d9e9d1a926aa88cba193cfd (diff) | |
download | Nim-f32c8ee773d64eb46dfaa6282286659b7bb7c5fc.tar.gz |
'nim i' is not available anymore
-rw-r--r-- | doc/nimc.txt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/nimc.txt b/doc/nimc.txt index 95449d060..e7cb57037 100644 --- a/doc/nimc.txt +++ b/doc/nimc.txt @@ -333,21 +333,21 @@ Nim provides language integration with external IDEs through the idetools command. See the documentation of `idetools <idetools.html>`_ for further information. - -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 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 ``"""``. +.. + 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: + + 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 ``"""``. Nim for embedded systems |