Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/nim-lang/Nim
Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
https://github.com/nim-lang/Nim
ref https://forum.nim-lang.org/t/11052
![image](https://github.com/nim-lang/Nim/assets/4303...
1e7ca2dc789eafccdb44304f7e42206c3702fc13 authored 11 months agoReverts nim-lang/Nim#23352
ref
https://github.com/SciNim/Measuremancer/commit/e2e994b21c162d...
93a8b85a9159fb050e150df9246858109cd92644 authored 11 months ago
ref https://github.com/SciNim/Measuremancer/issues/17
14cdcc091f99f1c35b5cf0f7cd676e1829567b57 authored 11 months ago37ed8c84801a850b91b86f777ae2a4a2e022cd47 authored 11 months ago
fixes #22723
6ce6cd4bb8e59c9f5a2c4588d2d34b9306e03d63 authored 11 months agoconstains -> constrains
---------
Co-authored-by: ringabout <[email protected]...
248bdb276ac946ed8faa8fa4c1cbc32c2aff103b authored 11 months ago09580eeec9960d19ad492058577332c4163bf329 authored 12 months ago
59c65009a57ba7f9677590c5066496bb85864ab8 authored 12 months ago
773c066634d831a968bb464eab35b25a00026525 authored 12 months ago
This fixes an oversight with a change that I made a while ago.
Basically, these two snippets ...
ca77423ffc09e92ca17e430bf79c10ae3c1adb63 authored 12 months ago
The following would crash nimsuggest on init:
```nim
import chronos
type
HistoryQuery = ob...
fixes #23295
39f2df19723d98eaa006cfd0ef13ec93d9f8c1c5 authored 12 months ago
This PR removes `count` field from `Deque` and get `count` from `tail -
head`.
fixes #23304
dfd778d0562b07653d1853de9f6d85f7c1688146 authored 12 months ago
…hich conveys effects beyond its module scope for C/C++
codegen(suppresses current UnusedImport...
fixes #23283
92c8c6d5f4e5a96b71bf4eca5f6a136410f97d6e authored 12 months agofixes https://forum.nim-lang.org/t/10807
35ec9c31bd0bd413f1740feea90f3b97ad5d1b65 authored 12 months agofixes #18104
1e9a3c438bed693bc95d5b1a9501e1386163e1cc authored 12 months agoa8c168c1688f64e8bd3acba9afee9d02bb03c649 authored 12 months ago
It seems Deque doesn't need `mask` field because `data.len - 1` equals
to `mask`.
Deque withou...
ae2cdcebc2d7fbf6e7eac26181baf9a88aa64cf5 authored 12 months ago
![image](https://github.com/nim-lang/Nim/assets/1496571/0d796c5b-0bbf-4bb4-8c95-c3e3cce22f15)
...
a45f43da3407dbbf8ecd15ce8ecb361af677add7 authored 12 months ago
The implementation of these functions are trivial yet they were missing
from the module.
befb383ac8f033be94ca83845b1a26e9feeb3306 authored 12 months ago
fixes #23280
4b67cccf5097cc5d2a592bf78ae2746cc3ee8959 authored 12 months agocloses #14710
3550c907decd206d74c8b5fc3008a8b731491bbe authored 12 months agofixes #23281
6c2fca1a8b054601d7af1b93ba5e3c9ed18637ee authored 12 months agofollow up #22380
a1d820367f677d06c2c9f93d1c2f88105e7d7b36 authored 12 months ago
The doc for `getCurrentCompilerExe` was originally added at [this
commit](https://github.com/ni...
fixes #22909
required by https://github.com/nim-lang/Nim/pull/23267
```nim
proc foo: string...
related https://github.com/nim-lang/Nim/issues/21717 configs will be
resolved later
98b083d750b1660c6ed1714485d4c8d5f8b29b34 authored about 1 year ago
This PR speeds up complex.pow when both base and exponent are real; when
only the exponent is r...
In doc, there are 4 references for `getAppFilename`
`getAppFilename` is still in `os`, but th...
abcf45e17406b3e4962a083d423f7f32325cac5f authored about 1 year agoe3350cbe6f8549fbc658bd1a99f98abe174d6c2c authored about 1 year ago
fixes #19977
f7c6e04cfbc44c225c123d724745840585561ac5 authored about 1 year ago
fixes #23247
closes #23251 (which accounts for why the openarray type is lifted
because ops ar...
Fixes #23085
243f1e6cd5e147fdd96b5298e4df44546e5eea28 authored about 1 year agofixes #22597
```nim
proc autoToOpenArray*[T](s: Slice[T]): openArray[T] =
echo "here twic...
https://nim-lang.github.io/Nim/testament.html#writing-unit-tests
https://nim-lang.github.io/...
0b363442e5ffc715347b2d258cd5d98fcd653b5f authored about 1 year ago
The documentation links for `parentDir()` and `getCurrentDir()` are
broken as they are no longe...
Closes #23240
Fixes regression caused by #23017
06b9e603bcfe09266c858439c2c530a1c224888f authored about 1 year agofixes #23249
ee984f8836740cb64d88c622ff652e396751edee authored about 1 year agocloses #15176
be0b8472130112ad570a6720a0e3a34e67936619 authored about 1 year agod3f5056bde7397e40a20f8acc4041b32fb950bcc authored about 1 year ago
https://nim-lang.github.io/Nim/manual.html#procedures-do-notation
301822e18938ad2dc543f2b7dc0a0f5e2d0870a2 authored about 1 year ago
This PR speeds up the calculation of the power of a complex number when
the exponent is 2.0 or ...
fixes #23233
720021908db1f6622c1ebcdad60dff5c2740a80b authored about 1 year agoMakes docs default to using browser settings instead of light mode
This should fix #16515 sin...
1855f67503e6c541f3d8c38c3ec28c0fbb02be1a authored about 1 year agoAs requested. Let me know where adjustments are wanted.
af8b1d0cb9bfa2f3b91b95219f850d075fc745f1 authored about 1 year agogenerated via https://github.com/bung87/mimetypes_gen
source data:
http://svn.apache.org/vie...
By using the existing isNaN function we can make std/math's classify
function work even if `--p...
fixes #22218
b2f79df81cc1fb2cfd4566ffa868043e286eba5c authored about 1 year agofixes #12334
`nkHiddenStdConv` shouldn't be removed if the sources aren't literals,
viz. con...
527d1e197731803c4c03b15b6ac0ba2d461eb7f3 authored about 1 year ago
fixes #18125
Previously a tuple type like `(T, int)` would match an expected tuple
type `(U,...
fixes #17163, refs #23204
Types that aren't `tyRange` and are bigger than 16 bits, so `int32`...
3ab8b6b2cf4488c114284aa5ad5b7af0d4055312 authored about 1 year agoI'm working on it, but it's quite tricky. I will fix it soon
8a38880ef7962fe4a3155449eb161eeffda0cda5 authored about 1 year ago
Change to `compiler/installer.ini` to add `nimdoc.cls` to files copied
by installer script.
...
fe98032d3d25490bb731dde20e7111c071ca1caa authored about 1 year ago
fixes https://github.com/nim-lang/Nim/issues/23112, fixes a mistake in
https://github.com/nim-l...
This PR modifies `specializeResetT` so that it generates the proper
reset code for range types....
Since pow() cannot be supported for rationals, we support negative
integer exponents instead.
fixes #23223
3379d26629f30e6be8d303a36e220d1039eb4551 authored about 1 year agofixes #23200, fixes #18866
#21065 made it so `auto` proc return types remained as `tyAnything...
f46f26e79aada7195f4d83d8601f0d856520763d authored about 1 year ago18b5fb256d4647efa6a64df451d37129d36e96f3 authored about 1 year ago
The problem was fixed by https://github.com/nim-lang/Nim/pull/23195
bd72c4c7298ce7f5834935aec4513ac35381490c authored about 1 year ago
fixes #23180
fixes #19805
fixes #15924
8484abc2e498bd9738097c06362d442c615a8264 authored about 1 year agoade5295fd56f632fc6fbdcfef42b1bb827574be6 authored about 1 year ago
fixes it in the normal situation
30cb6826c01d880b852b56e0d0d69e79a2105115 authored about 1 year agorefs #23123
Not sure if detailed enough.
6650b417779d61a895da23d24ab32ee1388216c2 authored about 1 year agofixes #22923
29ac3c9986de5731a32beaf015e81a18dd6bd498 authored about 1 year agofixes #23129
62c5b8b2873caac3e56d15738f503e953840e6ca authored about 1 year agofixes #23186
As explained in #23186, generics can transform `genericProc[int]` into a
call `...
Nim manual says:
> When using the Cpp backend, params marked as byref will translate to
cpp re...
- Clarified the implications of order of operation.
- Mentioned overlapping isn't handled
- Ad...
fixes #23177
`changeType` doesn't perform range checks to see if the expression fits
the new...
fixes #22775
It's pre-existing that [`prepareOperand` doesn't typecheck expressions
which ha...
fixes #23139
3dee1a3e4c81448b67b75068fef06a121f320758 authored about 1 year ago
This is in reference to a [feature
request](https://github.com/nim-lang/Nim/issues/22142) that ...
fixes #23167
4eaa3b028cd8963799a637c8a4f7f553386fe395 authored about 1 year ago
This PR modernises the NEP1 style guide to prefer hanging indent over
vertial alignment for lon...
why ?
- We already have an emit that does the same thing
- The name asm itself is a bit conf...
fixes #23148
c7d742e484e06cdc8d87443a76ec03f1f1724bee authored about 1 year agofixes #23002, fixes #22841, refs comments in #23097
When an identifier is ambiguous in scope ...
b280100499fafe43657c860e3c79d9347be5b4b6 authored about 1 year ago
Filling in some more logic in `typeRel` that I came across when poking
the compiler in another ...
4 spaces => 2 spaces
9659da903fcb28b96bc06cd9b18bd8f99a8d9aad authored about 1 year ago9483b11267bfede119f7d3e5aa3b7f86d5a15af3 authored about 1 year ago
wether -> whether
b92163180d94d31e2027f57de6656dca1b42cbd3 authored about 1 year agofd253a08b1a58816d3224d3b91603c37232897b5 authored about 1 year ago
d8a5cf422722698cb3c871653a02ca4bd995fd79 authored about 1 year ago
Fixes an issue where importing the `strutils` module, or any other
importing the `strutils` mod...
(Inspired by this pragma in nir asm PR)
`inlineAsmSyntax` pragma allowing specify target inli...
1324d2e04cb11aaa96e9ba9efc69aee47ed6c1d8 authored about 1 year ago6f3d3fdf9f4a718a7365ab98455903a7b18dade8 authored about 1 year ago
I have made `realloc` absorb unused adjacent memory, which improves the
performance. I'm invest...
Rendering of `nkRecList` produces an indent and adds a new line at the
end. However for things ...
Allow for conversion from `openArray`s, similar to `toSinglyLinkedList`
and `toDoublyLinkedList`.
Continued from #23096 which was reverted due to breaking a package and
failing docgen tests. Do...