Pondering the Prism (with Kevin Newton)

24/09/2024 29 min Episodio 10
Pondering the Prism (with Kevin Newton)

Listen "Pondering the Prism (with Kevin Newton)"

Episode Synopsis

In this episode of Dead Code, Jared interviews Kevin Newton, Staff Software Engineer at Shopify, about his work on Ruby's new parser, Prism. Kevin explains how Prism was created to address the limitations of Ruby's original parser by providing a portable, error-tolerant solution that unifies the ecosystem, replacing multiple outdated parsers used across different tools. They discuss the challenges of parsing Ruby's complex syntax, including quirky features like heredocs and regular expressions, and how Prism was designed for better control and performance. Kevin emphasizes the community-driven effort behind the project, making it more accessible to contributors, and shares how Prism will advance Ruby tooling in future releases.Links:Kevin Newton's blogKevin Newton's GitHubKevin Newton on Twitter (X)Crafting InterpretersThe Dragon BookPrism ParserRuby LSPShopifyRails World ConferenceESLintDead Code Podcast Links:MastodonXJared’s Links:MastodonXEpisode Transcript Hosted on Acast. See acast.com/privacy for more information.