Introducing Herb: A new HTML-Aware ERB Parser for smarter developer tooling | Marco Roth
25-Apr-2025 25
As web development in Ruby evolves - especially with the rise of Hotwire and HTML-over-the-wire patterns - it’s become clear that traditional ERB tooling hasn’t kept up.
Rails has always been a joy to work with and always stood out in it’s developer experience and always had a strong view layer, centered around ERB templates.
With the introduction of Hotwire and HTML-over-the-wire becoming the default in Rails 7+, we’re writing more HTML+ERB than ever
Herb is designed to bridge that gap. It brings real-time, editor-friendly parsing capabilities to ERB, enabling a wave of new tools like formatters, linters, and language server integrations (LSPs).
Herb is fast, fault-tolerant, and deeply aware of the HTML structure. It’s built for developers and tooling developers who want precise, reliable tooling without compromise.
Introducing Herb: A new HTML-Aware ERB Parser for smarter developer tooling | Marco Roth #ruby #rubydeveloper #rubyonrails #Introducing #Herb: #HTML-Aware #Parser #smarter #developer #tooling #Marco #developer https://rubyonrails.ba/link/introducing-herb-a-new-html-aware-erb-parser-for-smarter-developer-tooling-marco-roth