Hacker GitHub

← All repos

ShivamSarodia/ShivyC

View on GitHub ↗ ★ 1,071 Python

C compiler created in Python.

5 mentions on Hacker News by 4 people: 1 story, 4 comments · first 2018-03-30 · latest 2018-04-24

Mentions per year 5 mentions · busiest year 2018 (5)
20082026
  1. (self-promotion) I've created an open source C compiler written in Python ( https://github.com/ShivamSarodia/ShivyC ). I've learned a ton building it out so far, and I've found compiler design to be a great exercise in software engineering…
  2. It looks like that's what it is doing: https://github.com/ShivamSarodia/ShivyC/blob/156a71bce7f340d... The exceptions seem to be how it signals failure if the token doesn't match, but they aren't being used for unbounded lookahead.
  3. …it for developer on Github[0] Or you know how to fix it? Then just pull[1] it to 'master' ;-) [0] https://github.com/ShivamSarodia/ShivyC/issues [1] https://github.com/ShivamSarodia/ShivyC/pulls
  4. The parser has a somewhat unusual structure: https://github.com/ShivamSarodia/ShivyC/blob/master/shivyc/p... It's been a while since I've had to use the phrase "exception-oriented programming", but it fits that code well. While that might…
  5. ▲ 120
    Show HN: ShivyC – Hobby C compiler created in Python
    story by ssarodia · 2018-03-30 · 11 comments