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 87.0ms across 8,303 title embeddings via pgvector HNSW
- 7 lines of code, 3 minutes: Implement a programming language (2010) azhenley · 17 pts · May 11, 2026 · 51% similar
- Show HN: CodeYam Memory – comprehensive memory management for Claude Code nadis · 16 pts · March 04, 2026 · 51% similar
- Mojo Language melodyogonna · 14 pts · May 07, 2026 · 46% similar
- I made a programming language with M&Ms tosh · 60 pts · March 08, 2026 · 45% similar
- mino: A tiny, embeddable, REPL-friendly Lisp implemented in pure ANSI C tosh · 29 pts · May 11, 2026 · 45% 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.