Parser Hacking [06]: Parsing Method Definitions without any arguments
Tim Morgan
Let's start work on method definitions. No arguments yet, though, we'll get to that next!
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
My OS: Ubuntu or Manjaro Linux (depending on which machine I'm on) with Gnome running the Dash to Panel extension. My Editor: Neovim with coc.nvim (intellisense), ALE (linting and auto formatting), CtrlP (jump to file), and the Gruvbox theme.
#programming #ruby #cpp #parsers #compilers #recursivedescentparser ... https://www.youtube.com/watch?v=mPG0Hg7pg1g
182658927 Bytes