~/talk

A language in 20 minutes

Talkat FutureJS 2014 · 2014-05-06..05-21· [javascript]
slides:none on file

Claim: a working Lisp engine in 20 minutes that implements arithmetic, conditional logic, variables, user‑defined functions, recursion and lexical closures. Implementation uses a PEG pauser generator called canopy, generates a parse tree, evaluates lists by treating first element as procedure or syntax, and demonstrates factorial = 720 and closures returning functions that capture definition scope. Code and slides are online (slides.jc.com, GitHub). It works as shown but omits floats, strings, macros and tail‑call optimization—useful prototype, not production ready.

AI-written summary · about

  1. 0:00Start
  2. 4:53Operators
  3. 5:14Expressions
  4. 6:34Conditional Logic
  5. 7:17Closures
  6. 7:57Pausing Expression Grammar
  7. 9:30How Does the Evaluation Model Work
  8. 11:03Syntaxes
  9. 14:01List Module
  10. 17:20Evaluation Rule
  11. 17:49Variables
  12. 19:37Top-Level Scope
  13. 19:51Built-In Functions
  14. 21:39Add a Rule for Parsing Lists
  15. 23:47Defining Variables
  16. 26:19Functions
  17. 26:44Lambda
  18. 27:49Scheme Function Evaluation
  19. 29:55Conditional Evaluation
  20. 33:24Syntax Checking
  21. 34:01Macros
  22. 37:56What Would Be Your Opinion of a Language That Gives You Lisp like Capabilities in the Sense of Macros
~/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.