News for hackers. Stuff that matters.
Re:Building a Programming Language Pt. 3 – Interpreting by typon on Saturday August 03, 2019 @08:33AM (#20600106)
Can anyone recommend a resource that will teach me how to write a compiler for a statically typed compiled language? Pretty much every tutorial and resource focuses on dynamic interpreted languages. I want to learn how to implement a type system inside a compiler.
Re:Building a Programming Language Pt. 3 – Interpreting by Drup on Saturday August 03, 2019 @09:57AM (#20600423)
For the type system aspects, there are two steps:

1. Learn the theory. Yes, you need to. On this matter, the book "Types and Programming Languages" (or TAPL for short) is the bible: https://www.cis.upenn.edu/~bcpierce/tapl/

2. Implement toy type systems. There are several resources for this, but personally, I like this one: http://plzoo.andrej.com/

Re:Building a Programming Language Pt. 3 – Interpreting by typon on Saturday August 03, 2019 @04:52PM (#20602612)
Thank you for the links brother