▲ | Creating Your Own Programming Language – Laurence Tratt [video](youtube.com) | |||||||||||||||||||||||||
54 points by matt_d 7 months ago | 7 comments | ||||||||||||||||||||||||||
▲ | fuzztester 7 months ago | parent | next [-] | |||||||||||||||||||||||||
Coincidentally just saw this video a few days ago. Interesting approach, to use RPN for expressions, including for the condition in the while statement. I could understand most of the logic of the interpreter, except for the part about how the while statement is implemented. I did not quite understand the parts of the code with
and
fragments.That is, around the region of lines 11 to 14 or so, at about 18:0 in the video. How does the code there, work? | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | atan2 7 months ago | parent | prev | next [-] | |||||||||||||||||||||||||
On the same topic, pikuma also published a new compiler course recently: https://pikuma.com/courses/create-a-programming-language-com... | ||||||||||||||||||||||||||
▲ | 7 months ago | parent | prev [-] | |||||||||||||||||||||||||
[deleted] |