Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I’ve done something similar during my intern days as well. We had a Haskell-based C AST library that supports the subset of C we generate, and an accompanying pretty printing library for generating C code that has good formatting by default. It really was a reasonable approach for good high-level abstraction power and good optimizations.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: