Parser Hacking [11]: Parsing If/Elsif/Else
Tim Morgan
In this final Parser Hacking video, we teach our parser how to parse if/elsif/else expressions.
About the Project: Natalie is a very early-stage work-in-progress Ruby implementation that compiles Ruby to an executable. It does so by transpiling Ruby to C++ and feeding it to gcc or clang to produce a binary.
About the Parser: We're rebuilding our parser from scratch so we can stop using the ruby_parser gem someday.
GitHub: https://github.com/seven1m/natalie Twitter: https://twitter.com/timmrgn
#programming #ruby #cpp #parsers #compilers #recursivedescentparser #prattparser ... https://www.youtube.com/watch?v=lRT3FgNNyOI
2020-12-18
0.0 LBC
Copyrighted (contact publisher)
229746140 Bytes