Nim
Nim copied to clipboard
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, an...

No logic was added, just 8 more files have been migrated.
`shallow` doesn't work for ARC/ORC. ```nim proc shallow*[T](s: var seq[T]) {.noSideEffect, inline.} = ## Marks a sequence `s` as `shallow`:idx:. Subsequent assignments will not ## perform deep copies of `s`....
refs https://github.com/nim-lang/RFCs/issues/149, closes https://github.com/nim-lang/RFCs/issues/36 Name copied from [Haxe manual](https://haxe.org/manual/type-system-top-down-inference.html) Proof of concept for adding top-down type inference on top of the validating style inference used by `fitNode`. (I think this...
Ref https://github.com/nim-lang/Nim/pull/19380 After this PR, timezones in important packages should be able to enable stricteffects
Drop support for versions below 1.1.0 Move away from deprecated functions Fixes: #19604
- needs #20168 to make the stuff working I went for this minimal solution because it seems like `compiler.nimble` and `nimsuggest.nimble` are not in use
### What happened? If you have a `proc` where one of the argument names is quoted, `getImpl` ignores the backquotes: ```nim import macros proc p(`let`:int) = discard static: echo bindSym("p").getImpl.repr...
Replaces use of CRT API `getenv` and `putenv` with respectively `_wgetenv` and `_wputenv`. Motivation is to reliably convert environment variables to UTF-8, and the wide API is best there, because...
This PR is another attempt at making macros/templates less difficult to understand when something is semantically wrong with their usage. It uses a table to hold onto expanded macros for...