Writing a Programming Language (in Rust) 10: Implementing Objects
source link: https://www.youtube.com/watch?v=67HtN0PHWUI
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 damaged, please click the button below to view the snapshot at that time.
This is episode 10 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 source code for the stream is available at https://github.com/eZanmoto/norpl.
In this session I was implementing the following features:
In addition there was a considerable time in this session spent on the following topics:
0:00:00 Recap of last session 0:03:28 Refactoring function calls: This was an attempt to unify the definition of built-in functions and user-defined functions. This was eventually left unresolved, due to difficulties in getting the intended solution working using higher-order functions. 1:24:05 Fixing a mistaken amend: Here I used the reflog to separate the newest commit from the one before it.
Aggregate valuable and interesting links.
Joyk means Joy of geeK