JacksonKearl/RollDice-Discord
View on GitHub ↗ ★ 2 TypeScript
4 mentions on Hacker News by 1 person: 0 stories, 4 comments · first 2019-07-12 · latest 2022-07-25
20082026
-
…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…
comment by jakear · 2022-07-25 · in Building a tiny little broken calculator with parser combinators -
…I made a whole back that supports D&D-style die roll codes as literals/first class variables: https://github.com/JacksonKearl/RollDice-Discord http://journal.stuffwithstuff.com/2011/03/19/pratt-parsers-e...…
comment by jakear · 2022-07-25 · in Building a tiny little broken calculator with parser combinators -
…app (basically implementing a language with random variables as literals & first-class values): https://github.com/JacksonKearl/RollDice-Discord/
comment by jakear · 2020-05-28 · in Regexes vs. Combinatorial Parsing (2019) -
…I made using a Pratt parser, effectively 0 dependencies (for the interesting bits at least): https://github.com/JacksonKearl/RollDice-Discord Check the “parse.ts” for how simple the Pratt implementation is, “calculator-bot.ts” for how easy…
comment by jakear · 2019-07-12 · in My First Fifteen Compilers