INim
Our great sponsors
vscode-nim | INim | |
---|---|---|
5 | 4 | |
179 | 625 | |
- | 0.2% | |
4.1 | 2.8 | |
about 1 month ago | 7 months ago | |
Nim | Nim | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vscode-nim
-
NIR: Nim Intermediate Representation
You may fare better hooking VSCode to nimlangserver:
https://github.com/saem/vscode-nim#nim-lanugage-server-integ...
-
Nimlangserver Announcement
nimlangserver is an implementation of Language Server Protocol with the goal to make nim IDE experience more mature. The main difference between nimlangserver and the existing nimlsp is that nimlangserver runs nimsuggest in a separate process and that nimlangserver is using a newly introduced version of nimsuggest v3(see bellow). nimlangserver is currently integrated in VScode via vscode-nim and in Emacs via lsp-mode but adding integraion with other editors should be trivial.
-
what nim needs to grow in popularity
admittedly the editor support is far away from perfect, but that particular issue just sounds like https://github.com/saem/vscode-nim/issues/80
-
Nim Version 1.6 Released
To all those wondering about IDE support , the actively maintained VSCode extension is :
https://github.com/saem/vscode-nim
The default extension suggested by VSCode which have over 43k downloads in un-maintained for Eons and it won't work.
Here is the link : https://marketplace.visualstudio.com/items?itemName=nimsaem....
@dom96 can you pin this somewhere on the forum or website ?
-
If you highlight proc definition with bold Nim code is much easier to read
UPDATE: improved highlighting rules you would get this code highligting more details https://github.com/saem/vscode-nim/issues/49
INim
-
Nim
- `nim secret`[0]: code is interpreted with Nim's vm, it is limited to compile-time (e.g. no C/C++).
- `nlvm r`[1]: nlvm backend supports JIT compilation and repl-like interface was added in latest release.
- `inim`[2]: supports all nim code, but it's not really a true repl. It adds code to a file and recompiles it (you can see the source file with `ctrl+x`). I'd recommend to use it with clang compiler, because it's a bit faster than gcc in my experience. It's the best option right now. And I use it almost daily.
First two options have rudimentary input system. But you can get command history and left-right navigation by wrapping them with rlwrap (should be preinstalled on most *nixes): `rlwrap nim secret`, `rlwrap nlvm r`.
There are plans to support incremental compilation for the next Nim release (it is currently broken). That would improve inim and other repls experience significantly.
[0]: https://nim-lang.org/docs/manual.html#restrictions-on-compil...
[1]: https://forum.nim-lang.org/t/10697
[2]: https://github.com/inim-repl/INim
- Could Nim be a complete replacement for Python?
-
Writing a presentation to introduce rustlang to my dev team, and I've got to the "downsides" part.
Go must be terrible to google too! Nim's easy to google though, it's how I got to rust really. I'm actually the maintainer of inim, the nim repl: https://github.com/inim-repl/INim
- Nim Version 1.6 Released
What are some alternatives?
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
nlvm - LLVM-based compiler for the Nim language
karax - Karax. Single page applications for Nim.
nim-chronos - Chronos - An efficient library for asynchronous programming
jester - A sinatra-like web framework for Nim.
packages - List of packages for Nimble
norm - A Nim ORM for SQLite and Postgres
langserver - The Nim language server implementation (based on nimsuggest)
nimview - A Nim/Webview based helper to create Desktop/Server applications with Nim/C/C++ and HTML/CSS
nimja - typed and compiled template engine inspired by jinja2, twig and onionhammer/nim-templates for Nim.