Re:Building a tiny little broken calculator with parser comb...
by userbinator on Sunday July 24, 2022 @11:57PM
(#32220338)
I think you misunderstood. I'm referring to the original article of this item, not your linked code.
[ Parent
| on HN ]
Re:Building a tiny little broken calculator with parser comb...
by jakear on Monday July 25, 2022 @02:11AM
(#32221068)
That’s more a critique of the author than the concept - I gave up midway through the article but order combinators remain a useful tool, particularly as a library. To my eyes, the logic here https://github.com/JacksonKearl/RollDice-Discord/blob/master... is much simpler than the equivalent recursive descent code would be. I’d be interested in an article comparing them in greater detail.