~/talk

Building a Beginner's Programming Language with Go

Talkat GopherCon AU 2023 · 2023-11-08..11-10· [compilers-and-language-design, go]
links:none on file
slides:none on file

A beginner-friendly language called Evy is implemented in Go and runs in the browser via TinyGo WebAssembly, yielding about 200 KB output instead of megabytes. The implementation includes a tree-walking evaluator, a top-down recursive-descent parser and an expression parser using Pratt’s algorithm implemented as a compact parser in <90 lines of Go. The language exposes simple static types, canvas graphics and event handlers, has attracted ~220 pull requests, and the demo animations and drawing features work in the web demo.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 4:44Designing a beginner language
  3. 11:49What is a parser
  4. 13:13Recursive descent parser
  5. 18:58Parsing expressions
  6. 23:15Operator precedence
  7. 29:01Community and future
  8. 31:49Q&A and summary
~/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.