~/talk

Slaying the Dragon

Talkat RedDotRubyConf 2016 · 2016-06-23..06-24· [compilers-and-language-design, ruby]
name:Jason Yeo
links:none on file
slides:none on file

Shows how to implement a tiny Lisp in Ruby and compile it to Rubinius bytecode, claiming a working interpreter plus bytecode generator rather than just theory. Uses a regex single-page tokenizer, a reader that turns tokens into s‑expressions, simple AST node classes, and Rubinius’s bytecode DSL to emit stack‑machine instructions. Demonstrates evaluating expressions (e.g. 66 => 36, 1+23 => 7), cites a 56‑language repo, and delivers runnable code called Melody.

AI-written summary · about

  1. 0:00Start
  2. 1:47SLAYING THE DRAGON
  3. 2:23A GUIDE TO IMPLEMENTING YOUR OWN PROGRAMMING LANGUAGE
  4. 2:40UNDERSTAND HOW PROGRAMMING LANGUAGES WORK
  5. 9:04QUICK INTRO TO INTERPRETERS
  6. 9:39WHAT THE HECK IS A VIRTUAL MACHINE?
  7. 14:38READER IMPLEMENTATION IS BASED ON THE GRAMMAR
  8. 15:41ABSTRACT SYNTAX TREES
  9. 16:56INSTRUCTIONS
~/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.