Many thanks to everybody involved in this release and to Nim's awesome community for keeping us motivated!
Release notes are here:
Congratulations!! i like everything except this one..
The parser now considers leading whitespace in front of operators to determine if an operator is used in prefix or infix position
i'm not sure i'll ever get used of this..but who knows.. :) Congratulations Nim developers, and thanks for another release! :)
I'm pleased to confirm that Nim 0.13.0 works out-of-the-box with Pymod.
One minor typo in the release notes: In the section Closure changes, in the first code example, the anonymous proc has return type string. I assume this return type should be int (like it is in the second code example).
proc outer =
var s: seq[proc(): int {.closure.}] = @[]
for i in 0 ..< 30:
let ii = i
s.add(proc(): string = return ii*ii))
# ............^^^^^^
FYI I took the liberty of opening a PR to update the Homebrew (OS X) formula for Nim 0.13.0: https://github.com/Homebrew/homebrew/pull/48228
I did not have it install nimble by default, though I imagine many (most?) would find that useful. @Araq – do you have thoughts on doing this now or in the future for folks who are installing via a package manager like Homebrew?
Thanks for the hard work.
Just spotted a typo in the 'Closure changes' section.
benefitical for a systems
--> beneficial
@Araq: Another small thing. At some places you forgot to change 2015 to 2016.
nim Compiler Version 0.13.0 (2016-01-18) [Linux: amd64] Copyright (c) 2006-2015 by Andreas Rumpf
the readme.md on github also has 2015 in the Copyright line at the end of the file.
At some places you forgot to change 2015 to 2016.
Ah thanks, good points.
@dom96
I download nim013 source at http://nim-lang.org/download/nim-0.13.0.tar.xz, It haven't compiler/plugins/itersgen.nim.
Must copy itersgen.nim build nimble source if want success.
I've clone nimble git, use this command.
nim c -r src/nimble install
@Araq @dom96 New source It's ok.
nim e install_nimble.nims
still work correctly?Wow, great work!
Not sure how related, but I found two weirdnesses when playing around with nimsuggest. For one, def doesn't seem to return anything even if use and dus list the definition for the same location. Also, not sure what dus means because it seems to be synonymous with use?