Nimble is officially a part of Nim now
This commit is contained in:
parent
0f2a37cf1b
commit
49d810f341
4 changed files with 41 additions and 5 deletions
13
install.txt
13
install.txt
|
|
@ -37,7 +37,8 @@ Installation on the Macintosh
|
||||||
Only MacOS X is supported.
|
Only MacOS X is supported.
|
||||||
Since MacOS X is UNIX based too, it works like the installation on Linux.
|
Since MacOS X is UNIX based too, it works like the installation on Linux.
|
||||||
However, for unknown reasons the symbolic link method does not work on MacOS X.
|
However, for unknown reasons the symbolic link method does not work on MacOS X.
|
||||||
You need to install Apple's developer's tools for the GNU Compiler Collection.
|
You need to install Apple's developer's tools for the GNU Compiler Collection
|
||||||
|
or clang.
|
||||||
|
|
||||||
|
|
||||||
Installation on Windows
|
Installation on Windows
|
||||||
|
|
@ -66,3 +67,13 @@ Bootstrapping from Github
|
||||||
|
|
||||||
Take a look at the readme file on github `here <https://github.com/nim-lang/Nim#readme>`_
|
Take a look at the readme file on github `here <https://github.com/nim-lang/Nim#readme>`_
|
||||||
for instructions.
|
for instructions.
|
||||||
|
|
||||||
|
|
||||||
|
Installation of Nimble
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
Nimble is Nim's package manager. For the source based installations where you
|
||||||
|
added Nim's ``bin`` directory to your ``$PATH`` the easiest way of installing
|
||||||
|
Nimble is via::
|
||||||
|
|
||||||
|
nim e install_nimble.nims
|
||||||
|
|
|
||||||
13
install_nimble.nims
Normal file
13
install_nimble.nims
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
|
||||||
|
mode = ScriptMode.Verbose
|
||||||
|
|
||||||
|
var id = 0
|
||||||
|
while dirExists("nimble" & $id):
|
||||||
|
inc id
|
||||||
|
|
||||||
|
exec "git clone https://github.com/nim-lang/nimble.git nimble" & $id
|
||||||
|
|
||||||
|
withDir "nimble" & $id & "/src":
|
||||||
|
exec "nim c nimble"
|
||||||
|
|
||||||
|
mvFile "nimble" & $id & "/src/nimble".toExe, "bin/nimble".toExe
|
||||||
18
readme.md
18
readme.md
|
|
@ -6,7 +6,8 @@ documentation.
|
||||||
Compiling the Nim compiler is quite straightforward. Because
|
Compiling the Nim compiler is quite straightforward. Because
|
||||||
the Nim compiler itself is written in the Nim programming language
|
the Nim compiler itself is written in the Nim programming language
|
||||||
the C source of an older version of the compiler are needed to bootstrap the
|
the C source of an older version of the compiler are needed to bootstrap the
|
||||||
latest version. The C sources are available in a separate repo [here](http://github.com/nim-lang/csources).
|
latest version. The C sources are available in a separate
|
||||||
|
repo [here](http://github.com/nim-lang/csources).
|
||||||
|
|
||||||
The compiler currently supports the following platform and architecture
|
The compiler currently supports the following platform and architecture
|
||||||
combinations:
|
combinations:
|
||||||
|
|
@ -35,13 +36,24 @@ $ bin/nim c koch
|
||||||
$ ./koch boot -d:release
|
$ ./koch boot -d:release
|
||||||
```
|
```
|
||||||
|
|
||||||
``koch install [dir]`` may then be used to install Nim, but lots of things don't work then so don't do that. Add it to your PATH instead. More ``koch`` related options are documented in
|
``koch install [dir]`` may then be used to install Nim, but lots of things
|
||||||
[doc/koch.txt](doc/koch.txt).
|
don't work then so don't do that. Add it to your PATH instead. More ``koch``
|
||||||
|
related options are documented in [doc/koch.txt](doc/koch.txt).
|
||||||
|
|
||||||
The above steps can be performed on Windows in a similar fashion, the
|
The above steps can be performed on Windows in a similar fashion, the
|
||||||
``build.bat`` and ``build64.bat`` (for x86_64 systems) are provided to be used
|
``build.bat`` and ``build64.bat`` (for x86_64 systems) are provided to be used
|
||||||
instead of ``build.sh``.
|
instead of ``build.sh``.
|
||||||
|
|
||||||
|
|
||||||
|
## Nimble
|
||||||
|
[Nimble](https://github.com/nim-lang/nimble) is Nim's package manager. For the
|
||||||
|
source based installations where you added Nim's ``bin`` directory to your PATH
|
||||||
|
the easiest way of installing Nimble is via:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ nim e install_nimble.nims
|
||||||
|
```
|
||||||
|
|
||||||
## Getting help
|
## Getting help
|
||||||
A [forum](http://forum.nim-lang.org/) is available if you have any
|
A [forum](http://forum.nim-lang.org/) is available if you have any
|
||||||
questions, and you can also get help in the IRC channel on
|
questions, and you can also get help in the IRC channel on
|
||||||
|
|
|
||||||
2
todo.txt
2
todo.txt
|
|
@ -13,6 +13,7 @@ version 0.11.4
|
||||||
|
|
||||||
- add "all threads are blocked" detection to 'spawn'
|
- add "all threads are blocked" detection to 'spawn'
|
||||||
- Deprecate ``immediate`` for templates and macros
|
- Deprecate ``immediate`` for templates and macros
|
||||||
|
- make people annotate .anchor methods
|
||||||
|
|
||||||
|
|
||||||
version 1.0
|
version 1.0
|
||||||
|
|
@ -26,7 +27,6 @@ version 1.0
|
||||||
- The bitwise 'not' operator will be renamed to 'bnot' to
|
- The bitwise 'not' operator will be renamed to 'bnot' to
|
||||||
prevent 'not 4 == 5' from compiling. -> requires 'mixin' annotation for procs!
|
prevent 'not 4 == 5' from compiling. -> requires 'mixin' annotation for procs!
|
||||||
- iterators always require a return type
|
- iterators always require a return type
|
||||||
- make nimble part of the distribution
|
|
||||||
- split docgen into separate tool
|
- split docgen into separate tool
|
||||||
- special rule for ``[]=``, items, pairs
|
- special rule for ``[]=``, items, pairs
|
||||||
- BUG: echo with template `$`*(info: TLineInfo): expr = toFileLineCol(info)
|
- BUG: echo with template `$`*(info: TLineInfo): expr = toFileLineCol(info)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue