Babel: middleware for beginner-friendly error messages.
summary
nREPL middleware "babel" intercepts every reply and replaces Java-heavy error text with beginner phrasing by matching classes and capture groups, e.g. turning java.lang.String into string or java.lang.Number into number. version 1 parses rendered strings with regex-based parsing; version 2 reads the actual exception object from star-e and uses spec data for spec-based pinpointing (wrong arg, arity, etc.). A test harness runs snippets, compares original vs. modified errors, and logs both for iterative improvement.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 0:35University of Minnesota
- 4:27Beginner code examples
- 5:43Beginnerfriendly error messages
- 6:41Beginnerfriendly projects
- 7:28Where does this all fit
- 8:38Errormsgs
- 9:45Spec
- 11:27middleware overview
- 15:46processing errors
- 20:26testing
- 23:12spec generation








