zevv/npeg
View on GitHub ↗ ★ 341 Nim
PEGs for Nim, another take
5 mentions on Hacker News by 4 people: 1 story, 4 comments · first 2019-10-15 · latest 2024-03-29
20082026
-
…https://nim-lang.org/docs/macros.html You can also see another (I think) neat example in `npeg`: https://github.com/zevv/npeg?tab=readme-ov-file#quickstart
comment by supakeen · 2024-03-29 · in Arraymancer – Deep learning Nim library -
…and allows for a much more concise notation of grammars with operator precedence. Thank you Bob: 1. https://github.com/zevv/npeg#precedence-operators
comment by zevv · 2024-01-20 · in Pratt Parsers: Expression Parsing Made Easy (2011) -
Solutions made with https://github.com/zevv/npeg were surreal, I felt like a caveman watching a TV.
comment by otherme123 · 2021-11-21 · in Advent of Code 2021