Colossal Cave Adventure in Python... in the browser!
summary
Claims a Python interpreter runs the original FORTRAN IV as-is (PDP-10 quirks: 36‑bit words, five‑letter packed ASCII) and shows it executing via Batavia (Python bytecode in JavaScript) in the browser and via a Twilio SMS webhook backed by Flask. Demonstrates the hacks used, parsing and numeric‑if behavior, performance limits, thousands of SMS plays/month, and that it technically works though the JS VM version is slow and required pragmatic shortcuts.
AI-written summary · about
chapters (42)
- 0:00Introduction
- 1:28Who am I
- 2:18Colossal Cave Adventure
- 5:40Fortran
- 9:46Computed GoTo
- 11:36ASCII
- 12:26Integers
- 13:01User Input
- 14:16Fortran Code
- 15:18Swensons compiler strategy
- 15:51NamedTuple
- 16:26Grammar
- 17:06Tape Drive
- 17:31Lexical Analysis
- 18:03Execution
- 18:53If Operator
- 19:18If Parser
- 20:05Printing
- 20:33Outer Loop
- 20:43Input
- 21:29Teletypes
- 22:21Fastcap
- 23:21Sleep
- 23:38Execute
- 23:52Database
- 24:38Beware
- 25:05Batavia
- 26:00Challenges
- 27:14Early Stages
- 27:27NameTuple
- 28:59JavaScript
- 29:40Negative Zero
- 30:12Website
- 30:33Progress bar
- 30:54Debug console
- 31:19Entering the building
- 32:18Conclusion
- 33:37Bugs
- 34:55PDP10 simulators
- 36:16Did you implement everything
- 37:56No clover
- 38:52Optimizations
related talks
45mThe marvelous world of Python in Browser: a nice surprise
49mYou Used Python for What?!
01h 00mIntroduction to Python
21mSnakes in a browser
28m"A huge green fierce snake bars the way!"; or, Building a Text Adventure Game in Python
45mHow to run Python in the browser
31mEscape the Python - Ten years of Australia's best Escape Rooms
38mCode Calligrams
