more cleanups for 0.11.0
This commit is contained in:
parent
01f625f75c
commit
3905cfeace
9 changed files with 218 additions and 57 deletions
|
|
@ -8,13 +8,13 @@ Nim's Documentation
|
|||
|
||||
.. container:: libraries
|
||||
|
||||
- | `Standard Library <lib.html>`_
|
||||
- | `Standard Library <0.11.0/lib.html>`_
|
||||
| This document describes Nim's standard library.
|
||||
|
||||
- | `Language Manual <manual.html>`_
|
||||
- | `Language Manual <0.11.0/manual.html>`_
|
||||
| The Nim manual is a draft that will evolve into a proper specification.
|
||||
|
||||
- | `Compiler User Guide <nimc.html>`_
|
||||
- | `Compiler User Guide <0.11.0/nimc.html>`_
|
||||
| The user guide lists command line arguments, special features of the
|
||||
compiler, etc.
|
||||
|
||||
|
|
@ -26,11 +26,11 @@ Nim's Documentation
|
|||
|
||||
.. container:: tools
|
||||
|
||||
- | `Source Code Filters <filters.html>`_
|
||||
- | `Source Code Filters <0.11.0/filters.html>`_
|
||||
| The Nim compiler supports source code filters as a simple yet powerful
|
||||
builtin templating system.
|
||||
|
||||
- | `Tools Documentation <tools.html>`_
|
||||
- | `Tools Documentation <0.11.0/tools.html>`_
|
||||
| Description of some tools that come with the standard distribution.
|
||||
|
||||
|
||||
|
|
@ -41,16 +41,17 @@ Nim's Documentation
|
|||
|
||||
.. container:: internals
|
||||
|
||||
- | `Garbage Collector <gc.html>`_
|
||||
- | `Garbage Collector <0.11.0/gc.html>`_
|
||||
| Additional documentation about Nim's GC and how to operate it in a
|
||||
realtime setting.
|
||||
|
||||
- | `Internal Documentation <intern.html>`_
|
||||
| The internal documentation describes how the compiler is implemented. Read
|
||||
this if you want to hack the compiler.
|
||||
- | `Internal Documentation <0.11.0/intern.html>`_
|
||||
| The internal documentation describes how the compiler is implemented.
|
||||
Read this if you want to hack the compiler.
|
||||
|
||||
|
||||
Search Options
|
||||
--------------
|
||||
|
||||
`Documentation Index <theindex.html>`_ - The generated index. **Index + (Ctrl+F) == Joy**
|
||||
`Documentation Index <0.11.0/theindex.html>`_ - The generated
|
||||
index. **Index + (Ctrl+F) == Joy**
|
||||
|
|
|
|||
|
|
@ -24,8 +24,12 @@ This installation method is the preferred way for Linux, Mac OS X, and other Uni
|
|||
like systems. Binary packages may be provided later.
|
||||
|
||||
|
||||
Download `nim-0.11.0.zip <download/nim-0.11.0.zip>`_, extract it and
|
||||
follow these instructions:
|
||||
Download one of these:
|
||||
|
||||
* `nim-0.11.0.zip (28 MB) <download/nim-0.11.0.zip>`_
|
||||
* `nim-0.11.0.tar.xz (2.6MB) <download/nim-0.11.0.tar.xz>`_
|
||||
|
||||
Extract the file and follow these instructions:
|
||||
|
||||
* sh build.sh
|
||||
* Add ``$your_install_dir/bin`` to your PATH.
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@ Learning Nim
|
|||
|
||||
.. container:: tutorials
|
||||
|
||||
- | `Tutorial (part I) <tut1.html>`_
|
||||
- | `Tutorial (part I) <0.11.0/tut1.html>`_
|
||||
| Learn the basics of Nim's types, variables, procedures, control flow, etc...
|
||||
|
||||
- | `Tutorial (part II) <tut2.html>`_
|
||||
- | `Tutorial (part II) <0.11.0/tut2.html>`_
|
||||
| Learn Nim's more advanced features such as OOP, generics, macros, etc...
|
||||
|
||||
|
||||
|
|
@ -52,5 +52,5 @@ Learning Nim
|
|||
Documentation
|
||||
-------------
|
||||
|
||||
More examples of Nim code can be found in the `Nim Language Documentation <manual.html>`_.
|
||||
More examples of Nim code can be found in the `Nim Language Documentation <0.11.0/manual.html>`_.
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ summer 2015. What's left:
|
|||
* ``immediate`` templates and macros will be deprecated as these will soon be
|
||||
completely unnecessary, instead the ``typed`` or ``untyped`` metatypes can
|
||||
be used.
|
||||
* The standard library needs cleanups and use the features we have for
|
||||
* The standard library needs cleanups and should use the features we have for
|
||||
concurrency and parallelism.
|
||||
|
||||
|
||||
|
|
@ -52,10 +52,11 @@ Changes affecting backwards compatibility
|
|||
doIt:
|
||||
echo str # Error: undeclared identifier: 'str'
|
||||
|
||||
This used to inject the ``str`` parameter into the scope of the body.
|
||||
Declare the ``doIt`` template as ``immediate, dirty`` to get the old
|
||||
behaviour.
|
||||
- Tuple field names are not ignored anymore, this caused too many problems
|
||||
in practice so now the behaviour as it was for version 0.9.6: If field
|
||||
in practice so now the behaviour is as it was for version 0.9.6: If field
|
||||
names exist for the tuple type, they are checked.
|
||||
- ``logging.level`` and ``logging.handlers`` are no longer exported.
|
||||
``addHandler``, ``getHandlers``, ``setLogFilter`` and ``getLogFilter``
|
||||
|
|
@ -110,6 +111,9 @@ Needs to be replaced by something like this:
|
|||
iterator. A notable change might be that a pattern being matched at the
|
||||
beginning and end of a string, will result in an empty string being produced
|
||||
at the start and the end of the iterator.
|
||||
- The compiler and nimsuggest now count columns starting with 1, not 0 for
|
||||
consistency with the rest of the world.
|
||||
|
||||
|
||||
Language Additions
|
||||
------------------
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ file: ticker.txt
|
|||
[Documentation]
|
||||
doc: "endb;intern;apis;lib;manual.txt;tut1;tut2;nimc;overview;filters"
|
||||
doc: "tools;niminst;nimgrep;gc;estp;idetools;docgen;koch;backends.txt"
|
||||
doc: "nimfix.txt"
|
||||
doc: "nimfix.txt;nimsuggest.txt"
|
||||
pdf: "manual.txt;lib;tut1;tut2;nimc;niminst;gc"
|
||||
srcdoc2: "system.nim"
|
||||
srcdoc2: "core/macros;pure/marshal;core/typeinfo;core/unsigned"
|
||||
|
|
@ -49,7 +49,7 @@ srcdoc2: "pure/httpserver;pure/httpclient;pure/smtp;impure/ssl;pure/fsmonitor"
|
|||
srcdoc2: "pure/ropes;pure/unidecode/unidecode;pure/xmldom;pure/xmldomparser"
|
||||
srcdoc2: "pure/xmlparser;pure/htmlparser;pure/xmltree;pure/colors;pure/mimetypes"
|
||||
srcdoc2: "pure/json;pure/base64;pure/scgi;pure/redis;impure/graphics"
|
||||
srcdoc2: "impure/rdstdin"
|
||||
srcdoc2: "impure/rdstdin;impure/dialogs"
|
||||
srcdoc2: "pure/collections/tables;pure/collections/sets;pure/collections/lists"
|
||||
srcdoc2: "pure/collections/intsets;pure/collections/queues;pure/encodings"
|
||||
srcdoc2: "pure/events;pure/collections/sequtils;pure/cookies"
|
||||
|
|
@ -60,7 +60,7 @@ srcdoc2: "packages/docutils/rst;packages/docutils/rstast"
|
|||
srcdoc2: "packages/docutils/rstgen;pure/logging;pure/asyncdispatch;pure/asyncnet"
|
||||
srcdoc2: "pure/rawsockets;pure/asynchttpserver;pure/net;pure/selectors;pure/future"
|
||||
srcdoc2: "pure/asyncfile"
|
||||
srcdoc2: "pure/md5"
|
||||
srcdoc2: "pure/md5;pure/rationals"
|
||||
srcdoc2: "posix/posix"
|
||||
srcdoc2: "pure/fenv"
|
||||
srcdoc2: "pure/basic2d;pure/basic3d"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue