9

Writing a Programming Language (in Rust) 14: Compiler Resources and Function Arg...

 3 years ago
source link: https://www.youtube.com/watch?v=hKOKfa30nAI
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

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

156 views
Feb 1, 2022

242 subscribers

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.

The live stream is ongoing at https://www.twitch.tv/ezanmoto. I generally stream at 14:00 GMT each Saturday.

The source code for the stream is available at https://github.com/eZanmoto/norpl.

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


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK