~/talk

Busy Developer's Guide to Building Languages

Talkat Devoxx UK 2017 · 2017-05-11..05-12· [compilers-and-language-design]
links:none on file
slides:none on file

Step‑by‑step primer showing lexer → parser → AST → IR → analysis → codegen, using ANTLR to generate a parser and visitor that evaluates a simple calculator example with integer variables stored in a hashmap environment and newline‑delimited statements, alternatives of interpreter vs transpiler vs JVM/CLR bytecode, and tools like ASM and StringTemplate for generation; claim that a minimal language can be prototyped in a day and extended (floats, functions, optimizations) and that the approach works for real transpilers and DSLs.

AI-written summary · about

  1. 0:00Intro
  2. 0:42Expectations
  3. 3:01Optimization
  4. 9:19State Machines
  5. 9:57Business Rules
  6. 11:13User Interface
  7. 11:58User Interface Template
  8. 12:29Security
  9. 14:26Gradle
  10. 16:52Tools
  11. 18:58Four Parts
  12. 22:00Lexing and Parsing
  13. 26:04AST
  14. 28:51Direct Executable
  15. 30:07Lexing
  16. 30:48Grammar
  17. 34:25The Grammar
  18. 35:53The Parser Generator
  19. 38:35Alternative Formats
  20. 39:16XML Schema
  21. 40:05Parser
  22. 42:40Intermediate Representation
  23. 43:27Optimizations
  24. 44:20Environments
  25. 45:12Dynamic Types
  26. 45:50Example
  27. 47:25Antler
  28. 49:15Statement
  29. 51:55eval
  30. 54:03multiplication division
  31. 54:30pipeline
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.