Writing a Programming Language (in Rust) 14: Compiler Resources and Function Argument Destructuring

preview_player
Показать описание
This is episode 14 of the "Writing a Programming Language (in Rust)" livestream series, where I'll be implementing a skeleton C-style programming language from scratch using Rust and LALRPOP.

In this session I was implementing the following features:

0:36:15 Replace `:=` with `let`
0:41:08 For loop list enumeration
0:52:14 Destructuring function arguments
1:35:40 Continue destructuring function arguments
1:43:26 `const` declarations

In addition there was a considerable time in this session spent on the following topics:

0:00:00 Discussing the project: Discussing the project, and what'll be done next
0:09:43 Answering the chatroom: What resources are there for writing languages, and discussing my own background in writing languages
0:26:29 Discussing what'll be done next
0:58:23 Fixing a scoping bug
2:12:55 Recap of next steps
2:19:18 Demonstrating closures
Рекомендации по теме