nimdenter
A tool for people who don't like Nim's indentation-based syntax
Summary
| Latest Version | Unknown |
|---|---|
| License | GPL-3.0-or-later |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:25 |
Tags
Installation
nimble install nimdenter
choosenim install nimdenter
git clone https://github.com/xigoi/nimdenter
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| nimdenter | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/xigoi/nimdenter |
|---|---|
| Homepage | https://github.com/xigoi/nimdenter |
| Registry Source | nimble_official |
README
nimdenter
Do you hate Nim because it's indentation-based? No worries! This tool will allow you to write Nim code with braces and automatically fill in the indentation for you!
Installation
nimble install nimdenter
Usage
$ cat hello.nim
proc main() = #{
if true: #{
for _ in 0..<8: #{
echo "oh my gosh this is terribly indented";
#}
#}
#}
$ nimdenter < hello.nim
proc main() = #{
if true: #{
for _ in 0..<8: #{
echo "oh my gosh this is terribly indented";
#}
#}
#}