~/talk

Your Own Language with Source Map Support in Half an Hour

TalkinRussianat HolyJS 2021 Piter · 2021-04-20..04-23· [javascript, web-platform]
links:none on file
slides:none on file

Explains how sourcemaps work and shows how to implement a custom programming language with sourcemap support in about thirty minutes. Covers practical techniques for transforming ASTs and wiring up source maps, intended for people new to ASTs and sourcemaps.

AI-written summary · about

  1. 0:00Introduction
  2. 3:15Language history
  3. 9:15Code generation & Source Maps
  4. 11:41Source Map challenges
  5. 17:41Source Map format
  6. 21:31Macros & debugging
  7. 27:12Browser limitations
  8. 29:19Format 3 & AST
  9. 34:59Jack 3 language
  10. 38:29Babel vs TypeScript
  11. 40:14Text Tree & Source Maps
  12. 42:40WebAssembly & DWARF
  13. 43:02IDE plugin
  14. 45:51DSL examples
  15. 47:35Simple startup DSL
  16. 50:47Custom language algorithm
  17. 52:51Convincing team
  18. 54:59Conclusion & 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.