Memo: A language that remembers only the last 12 lines of code

Published: (April 2, 2026 at 06:21 PM EDT)
1 min read
Source: Hacker News

Source: Hacker News

Overview

memo is a stream-of-conscious coding environment. You have one program, always becoming something new. Each time you return, it picks up where you left off. As lines of code scroll off the screen, they are forgotten.

Syntax

memo is functional and uses natural‑language syntax:

Remember function-name with arguments as body.

List elements are separated by commas, “and”, or both. memo ignores numerals like 4 and expects four instead:

Remember p as one, two, and three.

Output

Print with the Tell me command:

Tell me about name.

Implementation Details

Some values are approximated. Cookies are used only to store program state.

References

0 views
Back to Blog

Related posts

Read more »

It's all the same, PT 2...

Background I was trying to create a consistent API across “social” sites and noticed that the same patterns keep re‑appearing in both PHP and JavaScript implem...