-
* **What is the current behaviour?**
Trying to compile the imgui example
https://github.com/nimgl/nimgl/blob/master/examples/timgui.nim
from nimgui compiles successfully, but segfaults:
```
$…
-
### Example
```nim
type
MyValue[T] = object
a, b: T
proc value[T](a, b: T): MyValue[T] =
result.a = a
result.b = b
let
a: cint = 10
b: cint = 10
# -- C Cod…
-
Identifier identifier in template is visible in regular code, but fails compilation with `undeclared identifier` error when used in generic procedure.
### Example
```nim
template getSome(val: typ…
-
### Example
```nim
import os
for unused_var in walkDir("."):
let outside = "x"
let closure = proc(): string = outside
```
### Current Output
```
Hint: used config file '/playground/ni…
-
### Description
In my full program i have the following converter `toString`. (though this small example i don't even use strings)
later in the code i have slice assignment `query[0..1] = @[byte 8…
-
Build failing for windows/mingw target.
Nimble project structure:
src/wasm.nim:
```
import wasm3
let
env = loadWasmEnv(readFile"wasm_payload.wasm")
read_at_place = env.findFunction("read_wa…
-
### Title
Depfile
### Abstract
Add a new command-line option (e.g. `--depfile`) for the `nim compile` command. It accepts an argument (output path for a depfile, generated for a given target)…
-
When compiling for an embedded platform like raspberry pi, microprocessors, nintendo switch, or graphing calculators, you usually never want to build for your host machine but rather a specific os/arc…
-
I am from Russia so the language in my system is russian too. But when I write in the terminal any Nim compiler's command(for example `nim secret` or `nim -v`) language in my terminal changes to Engli…
-