Prism is Ruby's new parser that unifies parsing across all Ruby implementations and tools. This guide walks through building two practical examples: a transpiler that converts Ruby code to Emoruby (emoji-based syntax), and an automated refactoring tool that converts Struct definitions to Data classes. It covers lexing tokens,
Table of contents
Interpreters 101Why Is Prism Useful for Ruby Parsing?Your First TranspilerOnto Parsing with Prism for RubyMutation: The Source of All EvilWrapping UpSort: