How to declare a string containing an untyped?

2024-02-08 Thread dwhall256
Yes, that worked like a charm. Thank you! (that one is not easy to find in the docs if you don't know what you're looking for)

How to declare a string containing an untyped?

2024-02-08 Thread ElegantBeef
`template declareName*(name: untyped): untyped = const `name Str`* {.inject.} = astToStr(name) declareName(Bob) echo BobStr # desired output: Bob ` Run

How to declare a string containing an untyped?

2024-02-08 Thread dwhall256
I'm trying to make a template that will declare a string whose contents comes from the `untyped` argument. As you can see, I'm constructing the string's identifier using the untyped argument, too; so it must remain untyped. Any ideas on how to do this? Here's the closest I can get:

getting SIGSEGV: Illegal storage access. (Attempt to read from nil?)

2024-02-08 Thread guzba
You are passing a seq[string] in `tp.spawn processor(buffer)`. I do not know if buffer is being copied into the call or passed by reference or whatever, but that seems potentially troublesome. Furthermore, it looks like you are using status-im/nim-taskpools, which, in the readme states: N

Tooling update: new version of the nimlangserver and the vscode extension

2024-02-08 Thread gcao
thx. I'll try to reproduce it in a clean installation with only this extension and report it if I can.

getting SIGSEGV: Illegal storage access. (Attempt to read from nil?)

2024-02-08 Thread Araq
Run it through valgrind.

Tooling update: new version of the nimlangserver and the vscode extension

2024-02-08 Thread giaco
wait a second is it [nim.project](https://github.com/search?q=repo%3Anim-lang%2Fvscode-nim%20nim.project&type=code) or [not](https://github.com/search?q=repo%3Anim-lang%2Flangserver%20nim.project&type=code)? nimlanggserver project doesn't contain `nim.project`, but `vscode-nim` does. Could yo

getting SIGSEGV: Illegal storage access. (Attempt to read from nil?)

2024-02-08 Thread ali_nim22
full detail in , I tried different threading and concurrency framework, all have the same issue, thanks for any help

Tooling update: new version of the nimlangserver and the vscode extension

2024-02-08 Thread nickysn
@gcao, Ctrl-Shift-O works for me under Linux. I doesn't say "No editor symbols". Instead it shows a list of symbols. So, it's supposed to work. Please report an issue with detailed steps on how to reproduce: In the bug report, please provide a

The power of a good standard library

2024-02-08 Thread xioren
No doubt there are trade offs but I am speaking strictly from the perspective of a user. When I choose a language to use I am going to choose one that puts the fewest barriers between me and wheat I am trying to achieve.

Tooling update: new version of the nimlangserver and the vscode extension

2024-02-08 Thread gcao
hi I've tried to use the official extension a few times but was having issue get symbols to work. Means when I press Cmd-Shift-O to open symbols view, it just says "No editor symbols". The other two Nim language server extension works at least partially (when there are multiple procs with same n

Tooling update: new version of the nimlangserver and the vscode extension

2024-02-08 Thread nickysn
@BLeAmz, that depends on your "nim.projectMapping" configuration setting. See: How does yours look like?

Keto ACV Gummies Kelly Clarkson

2024-02-08 Thread HenryDriquez
Official Page:- Keto ACV Gummies Kelly Clarkson:Kelly Clarkson CBD Gummies Shark Tank is a exceptional wellbeing complement for frame pain and pressure. Coming to any age healt

The power of a good standard library

2024-02-08 Thread giaco
While I agree with you, I am aware there is not a single answer to this Having a large standard library slows down compiler/language development as more moving parts gets locked inside a potential independent project. Nim has huge potential but is maintained by a small team. I'd guess it would b