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...
### Example ```nim {.experimental: "views".} proc main(): auto = let a = "123" var foo: var string = a foo[0] = '3' echo a main() ``` https://play.nim-lang.org/#ix=41QU ### Current Output...
- Removed deprecated symbols from `std/macros`, deprecated before Nim `1.0`. - There was like >30 deprecated symbols on `std/macros` and `2.0` can be a good opportunity for clean up.
## Inline Messages After discovering the inline messages feature of testament, I realized how it would remove annoyances I've had testing messages. The inline error messages are very useful when...
### Summary Adopt [the implicit_header_references extension](https://pandoc.org/MANUAL.html#extension-implicit_header_references) for both normal section references and [Nim smart doc links](https://github.com/nim-lang/Nim/blob/devel/doc/docgen.md#referencing-nim-symbols-simple-documentation-links). This is a part of work for converting from RST to Markdown markup. ###...
fixes https://github.com/nim-lang/Nim/issues/16425
mirror behavior without overloadableEnums The need for this was discovered in #20076 in some packages and standard library/tests
New version of previous PR: https://github.com/nim-lang/Nim/pull/20037 This PR is implements a suggestion made as part of the discussion of https://github.com/nim-lang/Nim/pull/20022 It adds a new batteries module, which is similar to...
Here is an example of one of my async stack traces: ``` C:\p\bencher\src\server.nim(990) server C:\Users\me\.choosenim\toolchains\nim-1.6.6\lib\pure\asyncdispatch.nim(1961) waitFor C:\Users\me\.choosenim\toolchains\nim-1.6.6\lib\pure\asyncdispatch.nim(1653) poll C:\Users\me\.choosenim\toolchains\nim-1.6.6\lib\pure\asyncdispatch.nim(419) runOnce C:\Users\me\.choosenim\toolchains\nim-1.6.6\lib\pure\asyncdispatch.nim(234) processPendingCallbacks C:\Users\me\.choosenim\toolchains\nim-1.6.6\lib\pure\asyncmacro.nim(31) processRequestNimAsyncContinue C:\Users\me\.choosenim\toolchains\nim-1.6.6\lib\pure\asynchttpserver.nim(330) processRequestIter C:\Users\me\.choosenim\toolchains\nim-1.6.6\lib\pure\asyncmacro.nim(232) cb C:\Users\me\.choosenim\toolchains\nim-1.6.6\lib\pure\asyncmacro.nim(28) cbNimAsyncContinue...
refs #17292 "bug 5" Original issue mentions `*a: b` but there is a common use of this syntax in the form of `--define:abc`. With this patch this is correctly rendered....
This PR uses ANSI colours to make the terminal output of errors quicker to read and spacing out the errors for overload errors. Highlighting the actual issues. Also adds a...