~/talk

Consuming Gherkin: One Byte at a Time

Talkat RubyConf 2010 · 2010-11-11..11-13· [ruby, testing]
links:none on file
links:none on file
slides:none on file

Ragel replaces a slow treetop lexer and implements the Gherkin parser used by Cucumber, producing compact state machines, language outputs for Ruby C and Java, and an evented listener-based lexer that tests with a scan helper and test spy. The real gains are concrete: a 150× slower legacy treetop falls away to a 10–15× speedup in Ruby and another ~10× when moved to C, and the parser proves fast, polyglot, and maintainable.

AI-written summary · about

  1. 0:00Start
  2. 0:06Platinum Sponsor
  3. 0:16Consuming Gherkin: One Byte At a Time
  4. 2:53Some Perfectly Normal Syntax
  5. 27:23What the Tests Told Us
  6. 28:49Test Spy Listener
~/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.