Merge branch 'devel' into bigbreak
Conflicts: compiler/nim.ini doc/manual.txt doc/tut2.txt koch.nim lib/system/channels.nim readme.txt tools/niminst/niminst.nim tools/nimweb.nim web/download.txt web/news.txt
This commit is contained in:
commit
53a9d6f5cd
24 changed files with 814 additions and 278 deletions
123
web/download.txt
123
web/download.txt
|
|
@ -1,125 +1,39 @@
|
|||
You can download the latest version of the Nimrod compiler here. You can
|
||||
use the binaries provided or build from source.
|
||||
|
||||
Binaries
|
||||
========
|
||||
|
||||
All installers and archives contain the html documentation and tools
|
||||
(nimgrep, c2nim and babel).
|
||||
You can download the latest version of the Nimrod compiler here.
|
||||
|
||||
**Note:** The Nimrod compiler requires a C compiler to compile software. On
|
||||
Windows we recommend that you use
|
||||
`Mingw-w64 <http://mingw-w64.sourceforge.net/>`_. GCC is recommended on Linux
|
||||
and clang on Mac OS X.
|
||||
|
||||
Installers
|
||||
----------
|
||||
|
||||
The "full" version includes a full mingw distribution which includes a C
|
||||
compiler. The "slim" version lacks this.
|
||||
Binaries
|
||||
========
|
||||
|
||||
* Full (i386, 32bit): `<download/nimrod_0.9.4_windows_i386_full.exe>`_
|
||||
Unfortunately for now we only provide builds for Windows.
|
||||
|
||||
.. raw:: html
|
||||
<p style="font-size: 8pt; margin-top: 0;">
|
||||
SHA256: dca7c63d0c1861d2d7c51b2e7a29fa98371750a10ab282d5df9de22a07719c24
|
||||
</p>
|
||||
* 32 bit: `nimrod_0.9.6.exe <download/nimrod_0.9.6.exe>`_
|
||||
* 64 bit: `nimrod_0.9.6_x64.exe <download/nimrod_0.9.6_x64.exe>`_
|
||||
|
||||
* Slim (i386, 32bit): `<download/nimrod_0.9.4_windows_i386_slim.exe>`_
|
||||
|
||||
.. raw:: html
|
||||
<p style="font-size: 8pt; margin-top: 0;">
|
||||
SHA256: c0fcd1201bd20fad1e14b9d2cc2529494057068de1dd01f871cf129f088a8242
|
||||
</p>
|
||||
Installation based on generated C code
|
||||
======================================
|
||||
|
||||
* Full (amd64, 64bit): `<download/nimrod_0.9.4_windows_amd64_full.exe>`_
|
||||
This installation method is the preferred way for Linux, Mac OS X, and other Unix
|
||||
like systems. Binary packages may be provided later.
|
||||
|
||||
.. raw:: html
|
||||
<p style="font-size: 8pt; margin-top: 0;">
|
||||
SHA256: af9d478c2f3361e0f238fcb07fa8e7ae5821938c0f9063c6670e925c9ae9d16e
|
||||
</p>
|
||||
|
||||
* Slim (amd64, 64bit): `<download/nimrod_0.9.4_windows_amd64_slim.exe>`_
|
||||
Download `nimrod_0.9.6.zip <download/nimrod_0.9.6.zip>`_, extract it and follow
|
||||
these instructions:
|
||||
|
||||
.. raw:: html
|
||||
<p style="font-size: 8pt; margin-top: 0;">
|
||||
SHA256: 90c380721a46be2b9b8d5437187f701940aefc2e1fb9722dbc543f5c5a3bb85e
|
||||
</p>
|
||||
* sh build.sh
|
||||
* Add ``$your_install_dir/bin`` to your PATH.
|
||||
|
||||
Archives
|
||||
--------
|
||||
There are other ways to install Nimrod (like using the ``install.sh`` script),
|
||||
but these tend to cause more problems.
|
||||
|
||||
Windows
|
||||
~~~~~~~
|
||||
|
||||
The "full" version includes a full mingw distribution which includes a C
|
||||
compiler. The "slim" version lacks this.
|
||||
|
||||
* Full (i386, 32bit): `<download/nimrod_0.9.4_windows_i386_full.zip>`_
|
||||
|
||||
.. raw:: html
|
||||
<p style="font-size: 8pt; margin-top: 0;">
|
||||
SHA256: 8ee18faaa3a3d5df482c7abd6aa7ea87a350d7328b80ce1e2d486b59a7a93956
|
||||
</p>
|
||||
|
||||
* Slim (i386, 32bit): `<download/nimrod_0.9.4_windows_i386_slim.zip>`_
|
||||
|
||||
.. raw:: html
|
||||
<p style="font-size: 8pt; margin-top: 0;">
|
||||
SHA256: 7024fb8ad8f98c0bd4949ae36ed11b52b4e401754bbd62a11199d6dc8628d857
|
||||
</p>
|
||||
|
||||
* Full (amd64, 64bit): `<download/nimrod_0.9.4_windows_amd64_full.zip>`_
|
||||
|
||||
.. raw:: html
|
||||
<p style="font-size: 8pt; margin-top: 0;">
|
||||
SHA256: cb33cacc1a84fec771323d24cb6d9795f4803882466a9f417b424990aa49e18a
|
||||
</p>
|
||||
|
||||
* Slim (amd64, 64bit): `<download/nimrod_0.9.4_windows_amd64_slim.zip>`_
|
||||
|
||||
.. raw:: html
|
||||
<p style="font-size: 8pt; margin-top: 0;">
|
||||
SHA256: fcf877e4bd1ebfa214749af6e4811cd8539af19f1d7b23017e4bd7f6cbfb3eba
|
||||
</p>
|
||||
|
||||
Linux
|
||||
~~~~~
|
||||
|
||||
* Linux (i386, 32bit): `<download/nimrod_0.9.4_linux_i386.tar.gz>`_
|
||||
|
||||
.. raw:: html
|
||||
<p style="font-size: 8pt; margin-top: 0;">
|
||||
SHA256: 79DD337A77AC4313A75F2C5EED8252F00BBBDEB1E0C3504660D4A52EA63DBA92
|
||||
</p>
|
||||
* Linux (amd64, 64bit): `<download/nimrod_0.9.4_linux_amd64.tar.gz>`_
|
||||
|
||||
.. raw:: html
|
||||
<p style="font-size: 8pt; margin-top: 0;">
|
||||
SHA256: 6F6CB3C727BA8059B7605C02942AE7910C20C2A3DC6A8A600D90D50FE61F0D8C
|
||||
</p>
|
||||
* Linux (ppc64, 64bit): `<download/nimrod_0.9.4_linux_ppc64.tar.gz>`_
|
||||
|
||||
.. raw:: html
|
||||
<p style="font-size: 8pt; margin-top: 0;">
|
||||
SHA256: 5DAC2D9F7F545929E04540E6E2594C68FC3126A3B2F7B1FA7DBA5E295B4A7D31
|
||||
</p>
|
||||
|
||||
Mac OS X
|
||||
~~~~~~~~
|
||||
|
||||
* Mac OS X (amd64, 64bit): `<download/nimrod_0.9.4_macosx_amd64.zip>`_
|
||||
|
||||
.. raw:: html
|
||||
<p style="font-size: 8pt; margin-top: 0;">
|
||||
SHA256: E6F3A8E434DF3E89686F043954C6DFC09ABEBC0FC09D3B9A6B35C2B3102F7C3C
|
||||
</p>
|
||||
|
||||
If a binary for your platform is not available then you must build from source.
|
||||
Bleeding edge binaries are available from the `Nimrod build farm <http://build.nimrod-lang.org/>`_.
|
||||
|
||||
Source
|
||||
======
|
||||
Installation from github
|
||||
========================
|
||||
|
||||
Use the following commands to build the compiler from source.
|
||||
Change the branch to suit your needs::
|
||||
|
|
@ -135,4 +49,3 @@ Change the branch to suit your needs::
|
|||
The ``master`` branch always contains the latest stable version of the compiler.
|
||||
If you want bleeding edge then switch to the ``devel`` branch and follow
|
||||
the same instructions outlined above.
|
||||
|
||||
|
|
|
|||
77
web/news.txt
77
web/news.txt
|
|
@ -3,36 +3,12 @@ News
|
|||
====
|
||||
|
||||
..
|
||||
2014-10-11 Version 0.10.0 released
|
||||
2014-10-21 Version 0.10.0 released
|
||||
==================================
|
||||
|
||||
Changes affecting backwards compatibility
|
||||
-----------------------------------------
|
||||
|
||||
- ``spawn`` now uses an elaborate self-adapting thread pool and as such
|
||||
has been moved into its own module. So to use it, you now have to import
|
||||
``threadpool``.
|
||||
- The symbol binding rules in generics changed: ``bar`` in ``foo.bar`` is
|
||||
now considered for implicit early binding.
|
||||
- ``c2nim`` moved into its own
|
||||
`repository <https://github.com/nimrod-code/c2nim>`_
|
||||
and is now a Nimble package.
|
||||
- ``pas2nim`` moved into its own
|
||||
`repository <https://github.com/nimrod-code/pas2nim>`_
|
||||
and is now a Nimble package.
|
||||
- ``system.$`` for floating point types now produces a human friendly string
|
||||
representation.
|
||||
- ``uri.TUrl`` as well as the ``parseurl`` module are now deprecated in favour
|
||||
of the new ``TUri`` type in the ``uri`` module.
|
||||
- The ``destructor`` pragma has been deprecated. Use the ``override`` pragma
|
||||
instead. The destructor's name has to be ``destroy`` now.
|
||||
- ``lambda`` is not a keyword anymore.
|
||||
- **system.defined has been split into system.defined and system.declared**.
|
||||
You have to use ``--symbol`` to declare new conditional symbols that can be
|
||||
set via ``--define``.
|
||||
- ``--threadanalysis:on`` is now the default. To make your program compile
|
||||
you can disable it but this is only a temporary solution as this option
|
||||
will disappear soon!
|
||||
- ``system.fileHandle`` has been renamed to ``system.getFileHandle`` to
|
||||
prevent name conflicts with the new type ``FileHandle``.
|
||||
- Comments are now not part of the AST, as such you cannot use them in place
|
||||
|
|
@ -49,12 +25,20 @@ News
|
|||
be used instead.
|
||||
- Large parts of the stdlib got rid of the T/P type prefixes. Instead most
|
||||
types now simply start with an uppercased letter. The
|
||||
so called "partial case sensitivity" is now active allowing code
|
||||
like ``var foo: Foo``.
|
||||
- String case (or any non-ordinal case) statements
|
||||
so called "partial case sensitivity" is now active allowing for code
|
||||
like ``var foo: Foo`` in more contexts.
|
||||
- String case (or any non-ordinal case) statements
|
||||
without 'else' are deprecated.
|
||||
- Recursive tuple types are not allowed anymore. Use ``object`` instead.
|
||||
|
||||
Language Additions
|
||||
------------------
|
||||
|
||||
- The new concurrency model has been implemented including ``locks`` sections,
|
||||
lock levels and object field ``guards``.
|
||||
- The ``parallel`` statement has been implemented.
|
||||
- ``deepCopy`` has been added to the language.
|
||||
|
||||
|
||||
Compiler Additions
|
||||
------------------
|
||||
|
|
@ -76,11 +60,48 @@ News
|
|||
system.writeFile
|
||||
|
||||
|
||||
2014-10-19 Nimrod version 0.9.6 released
|
||||
========================================
|
||||
|
||||
**Note: 0.9.6 is the last release of Nimrod. The language has been renamed to
|
||||
Nim. Nim slightly breaks compatibility.**
|
||||
|
||||
This is a maintenance release. The upcoming 0.10.0 release has
|
||||
the new features and exciting developments.
|
||||
|
||||
|
||||
Changes affecting backwards compatibility
|
||||
-----------------------------------------
|
||||
|
||||
- ``spawn`` now uses an elaborate self-adapting thread pool and as such
|
||||
has been moved into its own module. So to use it, you now have to import
|
||||
``threadpool``.
|
||||
- The symbol binding rules in generics changed: ``bar`` in ``foo.bar`` is
|
||||
now considered for implicit early binding.
|
||||
- ``c2nim`` moved into its own repository and is now a Babel package.
|
||||
- ``pas2nim`` moved into its own repository and is now a Babel package.
|
||||
- ``system.$`` for floating point types now produces a human friendly string
|
||||
representation.
|
||||
- ``uri.TUrl`` as well as the ``parseurl`` module are now deprecated in favour
|
||||
of the new ``TUri`` type in the ``uri`` module.
|
||||
- The ``destructor`` pragma has been deprecated. Use the ``override`` pragma
|
||||
instead. The destructor's name has to be ``destroy`` now.
|
||||
- ``lambda`` is not a keyword anymore.
|
||||
- **system.defined has been split into system.defined and system.declared**.
|
||||
You have to use ``--symbol`` to declare new conditional symbols that can be
|
||||
set via ``--define``.
|
||||
- ``--threadanalysis:on`` is now the default. To make your program compile
|
||||
you can disable it but this is only a temporary solution as this option
|
||||
will disappear soon!
|
||||
|
||||
|
||||
Language Additions
|
||||
------------------
|
||||
|
||||
- This version introduces the new ``deprecated`` pragma statement that is used
|
||||
to handle the upcoming massive amount of symbol renames.
|
||||
- ``spawn`` can now wrap proc that has a return value. It then returns a flow
|
||||
variable of the wrapped return type.
|
||||
|
||||
|
||||
Library Additions
|
||||
|
|
|
|||
|
|
@ -26,9 +26,10 @@ file: ticker.txt
|
|||
[Quotations]
|
||||
# Page: quote - Person
|
||||
# Bad things will happen if you use multiple dashes here.
|
||||
index: """The most important thing in the programming language is the name.
|
||||
A language will not succeed without a good name. I have recently invented a
|
||||
very good name and now I am looking for a suitable language. - D. E. Knuth"""
|
||||
index: """Is it so bad, then, to be misunderstood? Pythagoras was misunderstood,
|
||||
and Socrates, and Jesus, and Luther, and Copernicus, and Galileo, and Newton,
|
||||
and every pure and wise spirit that ever took flesh. To be great is to be
|
||||
misunderstood. - Ralph Waldo Emerson"""
|
||||
documentation: """Incorrect documentation is often worse than no documentation.
|
||||
- Bertrand Meyer"""
|
||||
download: """There are two major products that come out of Berkeley: LSD and
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
<a class="news" href="news.html#Z2014-10-19-version-0-9-6-released">
|
||||
<h3>Oct 19, 2014</h3>
|
||||
<p>Nimrod version 0.9.6 has been released!</p>
|
||||
</a>
|
||||
|
||||
<a class="news" href="news.html#Z2014-04-21-version-0-9-4-released">
|
||||
<h3>Apr 21, 2014</h3>
|
||||
<p>Nimrod version 0.9.4 has been released!</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue