Back to Blog
Writing a compiler5/30/2023 The goal of an interpreter or a compiler is to translate a source program in some high-level language into some other form. Okay, but what are interpreters and compilers? And you can see a new programming language pop up almost every day: Elixir, Go, Rust just to name a few. Recently, there has been a resurgence of interest in new programming languages. If you create one, you will also need to create either an interpreter or a compiler for it. You want to create your own programming language or domain specific language.You want to demystify the process of building an interpreter and a compiler, understand how they work, and get in control of things. And you shouldn’t be comfortable with that magic. Often interpreters and compilers look like magic. You really want to know how computers work.As well, the skills you will learn are useful in writing any software, not just interpreters or compilers. Writing an interpreter or a compiler will help you improve those skills and become a better software developer. To write an interpreter or a compiler you have to have a lot of technical skills that you need to use together.Why would you study interpreters and compilers? I will give you three reasons. And you will become a confident happy camper too. If you stick around and work through the series and build an interpreter and a compiler with me you will know how they work in the end. Or if you don’t and you’re really agitated about it.ĭo not worry. So, do you know how compilers and interpreters work? And I mean, are you 100% sure that you know how they work? If you don’t. It doesn’t really matter whether you’re a newbie or a seasoned software developer: if you don’t know how compilers and interpreters work, then you don’t know how computers work. If you’re not 100% sure whether you know how compilers work, then you don’t know how they work.” - Steve Yegge “If you don’t know how compilers work, then you don’t know how computers work.
0 Comments
Read More
Leave a Reply. |