filmov
tv
Writing a Programming Language (in Rust) 15: Implementing `this`

Показать описание
This is episode 15 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:11:04 Function Expressions
0:38:36 Lighter property lookup syntax
1:01:55 `this` functionality
1:32:17 Continue `this` functionality
2:45:45 Iterating over objects
2:52:26 Implementing plus
In addition there was a considerable time in this session spent on the following topics:
0:00:00 Discussing the project: Discussing the project, demonstrating function closures, philosophies of object access, and what'll be done next
0:23:25 First attempt at safe lookups: This attempted to have indexing return `[value, ok]` pairs, but resulted in more complicated access
0:56:54 Correct parser precedence rules
1:11:42 Answering the chatroom: Discussing some of the shortcuts being taken in the work-in-progress branch
1:19:59 Answering the chatroom: Discussing some of the shortcuts being taken in the work-in-progress branch, and discussing the project
2:53:34 Recap of the session
In this session I was implementing the following features:
0:11:04 Function Expressions
0:38:36 Lighter property lookup syntax
1:01:55 `this` functionality
1:32:17 Continue `this` functionality
2:45:45 Iterating over objects
2:52:26 Implementing plus
In addition there was a considerable time in this session spent on the following topics:
0:00:00 Discussing the project: Discussing the project, demonstrating function closures, philosophies of object access, and what'll be done next
0:23:25 First attempt at safe lookups: This attempted to have indexing return `[value, ok]` pairs, but resulted in more complicated access
0:56:54 Correct parser precedence rules
1:11:42 Answering the chatroom: Discussing some of the shortcuts being taken in the work-in-progress branch
1:19:59 Answering the chatroom: Discussing some of the shortcuts being taken in the work-in-progress branch, and discussing the project
2:53:34 Recap of the session