Create a Programming Language - Episode 6: Parser and Nodes
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
Check out the creator who initially taught me all of this: https://www.youtube.com/playlist?list=PLZQftyCk7_SdoVexSmwy_tBgs7P0b97yD
My Programming Language, Sea: https://github.com/DavidMacDonald11/Sea-Compiler
End-of-Episode Source Code: https://github.com/DavidMacDonald11/tutorial-language/tree/90977bf66750f312fa350c66af63442b08bd96b5
End-Card Image by 200 Degrees from Pixabay https://pixabay.com/vectors/programmer-programming-code-work-1653351/
End-Card Music - Password Infinity by Evgeny Bardyuzha from Pixabay: https://pixabay.com/music/beats-password-infinity-123276/