Hacker GitHub

← All repos

albertz/PyCParser

View on GitHub ↗ ★ 363 Python

C parser and interpreter written in Python with automatic ctypes interface generation

6 mentions on Hacker News by 1 person: 1 story, 5 comments · first 2012-03-23 · latest 2026-06-29

Mentions per year 6 mentions · busiest year 2012 (2)
20082026
  1. …a fun side-project of mine (C parser + C interpreter in Python) can do a very similar thing: https://github.com/albertz/PyCParser/blob/master/demos/disse...
    comment by albertzeyer · 2026-06-29 · in Dissecting Apple's Sparse Image Format (ASIF)
  2. A funny anecdote: Some time ago, I was writing a C-to-Python translator. (Why? Just for fun, https://github.com/albertz/PyCParser , even more just-for-fun goal was this: https://github.com/albertz/PyCPython ). It literally would translate…
  3. …some more loops. The current solution is simple but the resulting function could be slow. https://github.com/albertz/PyCParser/blob/080a7b0472444fd366...
  4. ▲ 112
    Show HN: PyCParser, C parser and interpreter in Python
    story by albertzeyer · 2019-09-14 · 19 comments
  5. I once wrote a C parser in Python by hand. Maybe the code is interesting to you: https://github.com/albertz/PyCParser
    comment by albertzeyer · 2012-08-05 · in NASA JPL C Coding Standard [pdf]
  6. I once wrote a C parser & interpreter in Python. :) https://github.com/albertz/PyCParser
    comment by albertzeyer · 2012-03-23 · in You used Python for what?