News for hackers. Stuff that matters.
Re:Ask HN: How to learn to write a compiler and interpreter? by auganov on Thursday January 24, 2019 @11:44AM (#18990278)
Well, the way you ask your question in abstract sort of biases it towards a CS-heavy approach, doesn't it?

What's your goal?

I've written non-trivial macros that could be understood to be a tiny compiler, but wasn't ever interested in compiler design and I can't claim to know much about it.

Re:Ask HN: How to learn to write a compiler and interpreter? by lala_lala on Thursday January 24, 2019 @01:23PM (#18991358)
It is just that I have a job and a family to support. So I want to create something in whatever time I have. The prospect of engaging myself in myriad of courses sounds dull.

Maybe it's a folly but I am just intrigued by how they work and want to be able to develop them without committing to taking lot of courses.

Re:Ask HN: How to learn to write a compiler and interpreter? by wycliffb on Friday January 25, 2019 @01:26AM (#18995980)
maybe you could look into LLVM's Kaleidoscope tutorial..