From f32c8ee773d64eb46dfaa6282286659b7bb7c5fc Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Wed, 27 Jan 2016 15:51:11 +0100 Subject: [PATCH] 'nim i' is not available anymore --- doc/nimc.txt | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/doc/nimc.txt b/doc/nimc.txt index 95449d0600..e7cb570379 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 `_ 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 -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 ``"""``. + 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