~/talk

Writing DSL's with Parslet

Talkat Wicked Good Ruby 2013 · 2013-10-12..10-13· [ruby]
links:none on file
slides:none on file

Rewrites RedCloth from brittle regex and opaque Regal tables into a Parslet parser in pure Ruby so no C ext or compilation is required, making fixes and contributions practical; Regal’s compiled rewrite once ran about 40x faster than gsub but became a maintenance black box, and treetop proves too slow. Parslet gives clear failure tree debugging, transformers for reducing parse hashes, accelerators and custom atoms to speed hotspots, and overall performance that proves usable.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:30Domain specific languages
  3. 5:00External DSLs explained
  4. 7:03The journey to Parslet
  5. 13:38Working with Parslet
  6. 17:19Implementation details
  7. 24:01Testing and optimization
  8. 27:28Advanced use cases
  9. 30:03Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.