Listen "Herbicide (with Marco Roth)"
Episode Synopsis
In this episode of Dead Code, Jared talks with Marco Roth about Herb, a new fault-tolerant parser for HTML and ERB designed to improve the developer experience in the Rails ecosystem. Unlike tools like Deface or Nokogiri, Herb doesn’t auto-correct or mask errors—it parses templates exactly as written, enabling better diagnostics, formatting, and linting for server-rendered views, especially in Hotwire, Turbo, and Stimulus contexts. Built in C for portability and speed, Herb can be used across Ruby, JavaScript, and browsers via WebAssembly. Marco created it after running into limitations with existing tooling while building the Stimulus LSP. Future plans include deeper integration with tools like Ruby LSP and possibly enabling LiveView-style reactive rendering in Rails. Developers can try it today via a VS Code extension or the interactive web playground.Links:DefaceSpreeSolidusNokogiriRuboCopPrismHerbHerb PlaygroundHerb VS Code ExtensionHotwireTurboStimulusStimulusReflexPhoenix LiveViewRuby LSPEpisode 10 with Kevin Newton on PrismEpisode 38 with Carson Gross on HTMX Dead Code Podcast Links:MastodonXJared’s Links:MastodonXtwitch.tv/jardonamronJared’s Newsletter & WebsiteEpisode Transcript Hosted on Acast. See acast.com/privacy for more information.
More episodes of the podcast Dead Code
IDE-cide (with Samir Talwar)
13/01/2026
Deferred Conflict (with Steve Klabnik)
16/12/2025
Poison Pills (with Joel Hawksley)
02/12/2025
Ground Zero-Cost Bindings (with Josh Vlk)
18/11/2025
Brut-al Death (with David Bryant Copeland)
04/11/2025
God Class Funeral (with Adam Tornhill)
21/10/2025
Deserial Killer (with Matt Schwager)
07/10/2025
Crushing Riffs (with Kasper Timm Hansen)
23/09/2025
Fear-Driven Everything (with Justin Searls)
09/09/2025
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.