A bit of POSIX?

2024-08-23 Thread Hallicon
I've been recently learning a lot about systems programming/operating systems using the Linux Programming Interface book, and I've been trying to translate the C code it has to Nim. The POSIX library feels pretty great, eventually I'm hoping to not use it and just replace the workflows with the

Created my first binding! I am impressed!

2024-08-15 Thread Hallicon
I just created my first bindings on Nim, I like how this works at a basic level; if anyone wants to try it out without having to go through a lengthy tutorial: //hello.c #include const char* hello_world() { return "Hello, World!"; } Run

Newbie Here! Can I have some feedback on my code?

2024-08-14 Thread Hallicon
Thank you all for the suggestions I'm studying each one carefully!

Sublime Text nimlangserver Error: Nim not in PATH solved

2024-08-09 Thread Hallicon
I made a post earlier today regarding the title, but it is not actually the solution to this issue, basically the LSP package for nim doesn't start and spits out an error saying `Nimlangserver failed to start:Nim not in Path`. I thought I had found the solution by changing the symlink for the su

Sublime Text - Nim is not in PATH solution

2024-08-09 Thread Hallicon
Sublime Text created an issue for me in regards to starting the LSP-Nimlangserver package. It came up with an error saying: `cannot start nimlangserver:Nim is not in PATH` And I found out that the reason this occurs is because for some reason Sublime uses its own PATH variable separate from the

Newbie Here! Can I have some feedback on my code?

2024-08-08 Thread Hallicon
Thanks for the feedback! Very clean suggestions, I'll make sure to study them.

Newbie Here! Can I have some feedback on my code?

2024-08-08 Thread Hallicon
I am new to programming on nim, and I'm looking for feedback on some exercises I've been doing on Exercism. If anyone could give some tips on how to improve this solution I would appreciate it. I'll mark the task and the solution I have as well as the test files if you guys would like to try it