Hacker News new | ask | show | jobs
by dagoat 2840 days ago
For those interested in writing their own compiler in C#. There was a decent article a while back written by Microsoft employees with example code provided. Looks like MS have archived the post, but you can still browse the code (almost unadulterated) here:

https://github.com/johandanforth/good-for-nothing-compiler (not my github)

And read an expanded/in depth version of the original article (with a link to download the original source) here:

https://www.cs.helsinki.fi/u/vihavain/k14/code_generation/pr...