Hacker News new | past | comments | ask | show | jobs | submit login

Haskell is a pretty large language, and (IIRC) the first step in GHC compilation is converting Haskell into Core, which is basically a tiny subset of the language.

Parsing the language isn't a very interesting research problem, and more work than it's worth, so Intel have chosen to instead use GHC's frontend to generate Core code, and then consume Core for their compiler backend.




Not just parsing - also type checking. And it means free support for all the various GHC language extensions that only change what Core is generated.




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

Search: