RubyFlow The Ruby and Rails community linklog

Building a Programming Language in Ruby: The Parser

Understanding parsers is like seeing the matrix. You start to understand the tree-like structure of your code. You begin to realize that so many language features are just syntactic sugar concealing a simple core. In this article, Alex Braha Stoll will guide us through the world of parsers. He’ll explain basic concepts, then use Ruby to implement a simple parser for his toy language, Stoffle. https://www.honeybadger.io/blog/ruby-parser-stoffle/

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in