~/talk

Demystifying compilers by writing your own

Talkat The Conf 2018 · on Wednesday, 2018-11-14· [compilers-and-language-design]
slides:none on file

A small compiler implemented in Elixir translates a Ragnarok/OpenKore macro language into runtime code for the bot system; source code and a live asciinema show it working. It uses a parser built with Elixir parsing tools (no separate tokenization), builds an AST, a symbol table for semantic checks, and applies two concrete optimizations — constant folding and dead-store elimination — before code generation into the target plugin format. The tool compiles, runs in demos, and the repo shows how to add new commands.

AI-written summary · about

  1. 0:00Introduction to compilers
  2. 3:27Why build a compiler
  3. 8:27Compiler design basics
  4. 10:14Writing a simple compiler
  5. 15:16Code generation process
  6. 17:45Compiler optimization
  7. 23:49Parsing techniques
  8. 27:05Evaluating code blocks
  9. 30:16Error handling in compilers
  10. 32:25Optimization techniques
  11. 35:44Generating final code
  12. 37:10Summary and resources
~/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.