Hacker GitHub

← All repos

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

Mentions per year 5 mentions · busiest year 2024 (2)
20082026
  1. …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
  2. …and allows for a much more concise notation of grammars with operator precedence. Thank you Bob: 1. https://github.com/zevv/npeg#precedence-operators
  3. …that have not been mentioned so far: - npeg lets you write PEGs inline in almost normal notation: https://github.com/zevv/npeg - owlkettle is a declarative macro-oriented library for GTK: https://github.com/can-lehmann/owlkettle - ratel is…
    comment by j-james · 2023-08-01 · in Nim 2.0
  4. 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