Pair programming with the computer
summary
A small system that learns structural string edits from examples converts English plural→singular forms by inferring minimal splice rules (match suffixes, replace last N characters) and emitting generates readable Swift code composed of conditional splices instead of opaque models. It uses about fifty incremental examples in the demo, produces fixable if‑statements you can step through in a debugger, and targets narrow morphological tasks (tenses, affixes) where machine‑learned binaries are otherwise inscrutable.
AI-written summary · about
chapters (9)
- 0:00Intro
- 1:05Compilers and Machine Learning
- 2:37Problems with Compilers
- 3:36Can we get this
- 6:36Dictionary
- 8:09Morphological Operations
- 9:13String Transformation
- 10:42Plural Form
- 15:18Examples
related talks
27mParsing, Compiling, and Static Metaprogramming
39mCursorless: A spoken language for editing code
17mHow to Program like a Five Year Old in Haskell
31mComputer, Program Theyself!
20mAn Approach to Generate Text-Based IDEs for Syntax Correction based on Syntax Specification
15mSyntactic Completions with Material Obligations
43mComedy Writing With Small Generative Models
01h 15m10x Development: LLMs For the working Programmer
