4

Writing a Programming Language (in Rust) 13: Object Destructuring (Part 2) and F...

 2 years ago
source link: https://www.youtube.com/watch?v=BMGlSTQEC9M
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.

Writing a Programming Language (in Rust) 13: Object Destructuring (Part 2) and Fixing Recursion

223 views
Jan 29, 2022

242 subscribers

This is episode 13 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:12:01 Use strings for destructuring object keys 0:18:33 Refactor and commit recursion fix 1:27:42 Unspreading objects 1:57:24 Shorthand for object keys

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

0:00:00 Discussing next steps 0:48:40 Answering the chatroom: Giving an overview of the language, some of its goals, and the current codebase 1:08:51 Continuing the recursion fix 1:19:00 Answering the chatroom: Unit tests 1:21:03 Continuing the recursion fix 2:19:30 Continuing unspreading objects


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK