Implement an Esoteric Programming Language for Fun
summary
An interpreter is built and shown running real programs: a Befunge interpreter in React that parses source into a 2D array, implements each opcode as a multimethod, and successfully runs Hello World, Fizzbuzz and a Quine by manipulating its own source at runtime. A separate Thue interpreter with random rule application parses rules, shuffles them, applies substitutions and prints outputs (including a 99‑verses “bottles” generator). A Piat/image bug in pmg.js is diagnosed and fixed; the demos all work.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 3:49Befunge demo
- 9:02Befunge interpreter
- 12:31Thue language
- 18:33Why writing esoteric languages is fun and rewarding
- 18:55Debugging slide tool bug
- 21:49Closing
related talks
26mMake Your Own Programming Language!
31mJavaScript Compilers For Fun and Profit
28mFantastic ASTs and where to find them
27mParsing, Compiling, and Static Metaprogramming
34mA programming language for children
41mA language in 20 minutes
26mJavaScript for Microcontrollers with Espruino (ASL)
40mInvisible Code
