lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

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.

On Mon, 13 Mar 2023 at 16:54, Roberto Ierusalimschy <> wrote:
Next Friday I will begin to teach the second instance of the course
"Building a Programming Language" [1].  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.


-- Roberto