miniblog.
← Back to all posts
Sep 26, 2017 at 20:15
Nim's term-rewriting macros are wild:
https://nim-lang.org/docs/manual.html#term-rewriting-macros
(you can leverage Nim's side-effect analysis or enforce canonicalisation!)
Nim Manual
nim-lang.org/docs/manual.html#term-rewriting-macros
Wilfred Hughes
Related Posts
Aug 31, 2017 at 22:55
Is it wise to macro-expand arbitrary code? I can see the value (analysis tools, certain nested macros) but I worry about side effects.
Wilfred Hughes
Shared words: macros, side, effect, analysis Score: 75.2
Jun 14, 2019 at 19:34
The Nim programming language is preparing for a 1.0 release with a stability guarantee!
Version 0.20.0 released
We are very proud to announce Nim version 0.20. This is a massive release, both literally and figuratively. It contains more than 1,000 commits and it marks our release candidate for version 1.0!
Wilfred Hughes
Shared words: Nim Score: 37.8
Jun 8, 2015 at 14:36
Nim treats foo_bar equivalently to fooBar. Accommodating to the point of being boring!
Quick fix, in nim: foo_bar = fooBar Foo_bar = FooBar foo_bar != FooBar That is, ... | Hacker News
news.ycombinator.com/item?id=9673782
Wilfred Hughes
Shared words: Nim Score: 37.8