Memo: A language that remembers only the last 12 lines of code
notem
40 points
17 comments
April 02, 2026
Related Discussions
Found 5 related stories in 48.3ms across 3,471 title embeddings via pgvector HNSW
- Show HN: CodeYam Memory – comprehensive memory management for Claude Code nadis · 16 pts · March 04, 2026 · 51% similar
- I made a programming language with M&Ms tosh · 60 pts · March 08, 2026 · 45% similar
- Sed, a powerfull mini-language from the 70s random__duck · 19 pts · March 23, 2026 · 45% similar
- Emacs as a Programmable Workbench signa11 · 13 pts · March 30, 2026 · 44% similar
- I built a better, human like memory, for Agents emson · 11 pts · March 29, 2026 · 44% similar
Discussion Highlights (6 comments)
dlcarrier
In my country, we call that an interactive shell. Fun fact, if you run Python from a command line, with no options, it defaults to such a shell.
stitched2gethr
This is intriguing. On another note, I do not understand how posts make it to the top of the front page with essentially no comments.
dcre
How exciting, I get to be the pedant: it’s “stream-of-consciousness,” not “stream-of-conscious.” Conscious is an adjective; there can’t be a stream of it.
NooneAtAll3
why does the knob in the top right corner do nothing?
omoikane
I think it's actually the last 10 lines of code, not 12. I just wrote these 10 lines: Remember A as forty-two Tell me about A Remember B as A Tell me about B Remember C as B Tell me about C Remember D as C Tell me about D Remember E as D Tell me about E And you can see how it plots the dependencies as a graph on the right, which is kind of neat. But when I add the 11th line: Remember F as E You see the graph being turned into a forest with no dependencies, because it has forgotten the root dependency A. Indeed, if you enter "Tell me about A", it will say it does not remember A. Another neat thing to try is: Remember x as zero Remember y as x Remember x as y
addaon
Needs a compiler for the Mill architecture.