~/talk

REPL/Playground, Let's do it Live!

links:none on file
slides:none on file

A working Ember playground is built that compiles and renders editable single-file components in the browser using a Babel-based gjs single-file components + strict-mode compilation pipeline, then evaluates code by hijacking AMD require.js so imports resolve at runtime; live demos update faster than full HMR and preserve the last valid render on compile errors. Editors compared: Monaco ~9MB vs CodeMirror 550KB (~6%). Shadow DOM, StackBlitz web containers (Chrome only), and contextual compiler errors are implemented.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:05What is a REPL or playground
  3. 3:11Why REPLs matter in Ember
  4. 4:13Demo setup and tools
  5. 5:17Live demo of REPL features
  6. 7:25GJS format benefits
  7. 8:28Shadow DOM in design systems
  8. 9:55Editor performance considerations
  9. 13:05Building a REPL from scratch
  10. 15:15How REPL compilation works
  11. 18:26Evaluating code safely
  12. 20:51Error handling in REPLs
  13. 21:33Improving error messages
  14. 23:16Security and containerization
  15. 24:57Editor support and future plans
  16. 26:41Closing thoughts
~/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.