'nimcache' defaults to ~/.cache on Posix; cleaned up documentation

This commit is contained in:
Andreas Rumpf 2018-08-06 23:38:29 +02:00
commit e067a7681f
4 changed files with 38 additions and 37 deletions

View file

@ -20,7 +20,7 @@
- The parser now warns about inconsistent spacing around binary operators as
these can easily be confused with unary operators. This warning will likely
become an error in the future.
- The ``'c`` and ``'C'`` prefix for octal literals is now deprecated to
- The ``'c`` and ``'C'`` suffix for octal literals is now deprecated to
bring the language in line with the standard library (e.g. ``parseOct``).
- The dot style for import paths (e.g ``import path.to.module`` instead of
``import path/to/module``) has been deprecated.
@ -67,6 +67,9 @@
- The undocumented ``#? braces`` parsing mode was removed.
- The undocumented PHP backend was removed.
- The default location of ``nimcache`` for the native code targets was
changed. Read [the compiler user guide](https://nim-lang.org/docs/nimc.html#generated-c-code-directory)
for more information.
### Library additions
@ -91,7 +94,7 @@
- ``parseOct`` and ``parseBin`` in parseutils now also support the ``maxLen`` argument similar to ``parseHexInt``
- Added the proc ``flush`` for memory mapped files.
- Added the ``MemMapFileStream``.
- Added ``macros.copyLineInfo`` to copy lineInfo from other node
- Added ``macros.copyLineInfo`` to copy lineInfo from other node.
### Library changes
@ -161,11 +164,11 @@
- The command syntax now supports keyword arguments after the first comma.
- Thread-local variables can now be declared inside procs. This implies all
the effects of the `global` pragma.
the effects of the ``global`` pragma.
- Nim now supports `except` clause in the export statement.
- Nim now supports ``except`` clause in the export statement.
- Range float types, example `range[0.0 .. Inf]`. More details in language manual.
- Range float types, example ``range[0.0 .. Inf]``. More details in language manual.
### Tool changes