Prism

A portable, error-tolerant Ruby parser

Try it

Parse Ruby code in your browser — no installation required.

Open playground →

Getting started

Prism is bundled with CRuby 3.3+ and available as a gem for earlier versions.

gem install prism

API Reference

Guides