[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Building a Programming Lamguage
- From: Gustavo Pezzi <gustavocp@...>
- Date: Mon, 13 Mar 2023 22:58:29 +0000
I'm so glad to hear that the second cohort is starting soon. Good luck!
It's definitely one of the best interpreter/compiler courses I've ever seen.
Next Friday I will begin to teach the second instance of the course
"Building a Programming Language" . This is a course in which
we develop a compiler for a small language using Lua and the LPeg
library. In contrast to traditional compiler courses, all the parsing
and AST generation is handled using LPeg. With this approach, from the
second week on we maintain a working language.
This is not a course discussing advanced Lua features, but many of Lua
characteristics contribute to the simplicity of the final compiler.