ASVIEST
ASVIEST
### Description ```nim import std/macros {.experimental: "strictFuncs".} func modify(n: NimNode) = n[0] = newStrLitNode"err" macro run: string = var n = newStmtList(newStrLitNode"ok") modify(n) n assert run() == "err" ``` ###...
Adds support for type attributes. Some attributes are automatically translated into pragmas.
### Abstract Add a refinement type that like concepts, but for values ```nim type Even* = refinement x x mod 2 == 0 ``` ### Motivation it makes the type...
### Abstract Non-positional match object fields and identifies in object constructor in general and positional with `{.positional.}` pragma ### Motivation Same as https://github.com/nim-lang/RFCs/issues/517 https://github.com/nim-lang/RFCs/issues/418 ### Description Main idea is match...
### Abstract Analyse GCC extended asm and generate errors for an invalid code, also change some . ### Motivation Asm stategment does not allow you to write correct code (in...
### Description ```nim proc test[x: static bool]( t: ( when x: int else: float ) ) = discard ``` ### Nim Version Nim Compiler Version 2.1.1 [Linux: amd64] Compiled at...