Parser Hacking [03]: Pointers to Member Functions | Code Cleanup
Tim Morgan
For today's video, something short and simple: converting our lambdas to member functions and using pointers to member functions to pass them around. The syntax is a bit funky, but the resulting code is cleaner I think. :^)
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.
GitHub: https://github.com/seven1m/natalie Twitter: https://twitter.com/timmrgn
#programming #ruby #cpp #parsers #compilers ... https://www.youtube.com/watch?v=1Ij0JhD3H9k
2020-12-05
0.0 LBC
Copyrighted (contact publisher)
51163738 Bytes