Patten Matching in Nim
nim-lang.org
Patten Matching in Nim
1–10 of 54 posts
Re: Patten Matching in Nim
#2Using nim pattern matching library to implement simple dataflow programming DSL.
Re: Patten Matching in Nim
#3Exciting! I look forward to trying it out. Having macros in Nim really does make it so much easier to extend. The writeup on writing a macro based DSL in Nim seems handy. Mostly I use the `template` form of simplified macros that cover most meta programming needs along with `const` and compile time execution. Nim has a full VM, so almost any codecan run at compile time.
There's also a new library for 2d graphics being written and figma like UIs: https://forum.nim-lang.org/t/7559 I'm hoping items like the DSL help people write more interesting Nim libraries.
Re: Patten Matching in Nim
#4s/Patten/Pattern/
Re: Patten Matching in Nim
#5Great article!
Re: Patten Matching in Nim
#6[deleted]
Re: Patten Matching in Nim
#7As an Elixir developer who uses Nim for love of the language this is very exciting!
Re: Patten Matching in Nim
#8very well done, looking forward to use it!
related discussion in nim forum (started because I had question about fusion): https://forum.nim-lang.org/t/7608
if this keeps staying in front page, maybe it makes sense for @dang to fix the typo in the title (Patten -> Pattern)
Re: Patten Matching in Nim
#9The amount of power that Nim has is absolutely obscene. I don't really have a good use-case for it right now, but it's a language that I know I'd enjoy if I got into it.
Re: Patten Matching in Nim
#10s/Patten/Pattern/
@Dang Yes, that would be nice! Could you, please?