Lightning Talk: Ruby as a Frontend for Programming Language Implementations
White-Green
β’ Matsuyama, Ehime, Japan
β’ Japanese β’
Lightning Talk
Date: April 17, 2025
Published: May 27, 2025
Announced: unknown
When developing a new programming language, it is typically necessary to implement both a frontend (such as a parser) and a backend (such as a virtual machine). However, especially during the prototyping stage, if the primary novelty of the language lies in its backend, it is desirable to simplify frontend implementation as much as possible. This presentation introduces an approach that leverages Ruby's powerful metaprogramming capabilities to construct language frontends with minimal effort. Specifically, we discuss an intuitive method of generating intermediate representations (such as SSA forms) directly from Ruby scripts written in a natural syntax.
RubyKaigi 2025