Create a Programming Language - Episode 6: Parser and Nodes

preview_player
Показать описание
Creating a programming language is simpler than you might think. In this series, I am continuing upon the previous one in order to create a better guide to help you create your own language!

In this episode, we make our parser and begin work on our nodes!

Fancy tree symbols: "└──" "├──" "│" "──"

- Intro 0:00
- Refactoring 0:48
- Parser 9:20
- Node 25:44
- PrimaryNode 44:39
- BinOpNode 45:39
- AdditiveExpr 51:29
- Expr 54:21
- Statement Grammar 56:23
- BasicStat 58:28
- Stat 1:01:41
- EndedStat 1:02:36
- FileStat 1:04:37
- MultiplicativeExpr 1:12:15
- ExponentialExpr 1:13:51
- PrimaryExpr 1:16:22
- NumLiteral 1:17:21
- Testing 1:22:25
- Outro 1:24:19

Рекомендации по теме
Комментарии
Автор

27:39 He said the magic words: "type checking". Can't wait to get to that part :D

jaidenbell
Автор

The perfect exercise in gradual refactoring that starts with a set of classes and slowly turns into struct of arrays that askew polymorphism altogether.

Basically, solving the problem correctly before refactoring it via the "going fast is about doing less" vid on YT = lifechanger!

SimGunther