Hacker GitHub

← All repos

orangeduck/mpc

View on GitHub ↗ ★ 2,852 C

A Parser Combinator library for C

12 mentions on Hacker News by 11 people: 4 stories, 8 comments · first 2014-02-12 · latest 2026-07-01

Mentions per year 12 mentions · busiest year 2015 (3)
20082026
  1. …been wanting a good parser combinator library for C since 2023 when I contributed to mpc[1]: [1]: https://github.com/orangeduck/mpc/commits?author=steve-chave...
    comment by steve-chavez · 2026-07-01 · in Single header Parser Combinators for C
  2. …their own prebuilt parser library 'mpc'. (I was unable to find a link to the source in the book, so https://github.com/orangeduck/mpc ) I was unable to find any instance of 'car' or 'cdr' or 'caddar' and their like, which I feel is the…
    comment by lskfiep · 2025-08-05 · in Build Your Own Lisp
  3. …For example, in the chapter on parsing, the grammar is implemented using a library called MPC ( https://github.com/orangeduck/mpc ) written by the author himself. I didn't quite reach till the very end so didn't have a chance to implement…
    comment by krat0sprakhar · 2017-03-27 · in Make your own Lisp
  4. …to Daniel's stuff (mostly mpc¹) and his code is (IMO) quite high quality. ##c is a bit deluded. ¹ https://github.com/orangeduck/mpc
  5. For parsing, there's the excellent mpc , a parser combinator library in highly portable C. https://github.com/orangeduck/mpc I even managed to use it drop in for a RiscOS project once.
  6. …mpc is very flexible and since it's just a C library I find it a lot easier to iterate with. 1: https://github.com/orangeduck/mpc
    comment by PeCaN · 2015-12-15 · in Plan to throw one away
  7. For that I think you can do something similar to what mpc for C ( https://github.com/orangeduck/mpc ) and LPeg for Lua ( http://www.inf.puc-rio.br/~roberto/lpeg/ ), which is to provide the parsing machinery and write a small DSL with the…
  8. Actually the project depends on the library which claims to implement the named rule: https://github.com/orangeduck/mpc
    comment by acqq · 2014-04-05 · in Learn C and build your own Lisp