Skip to content
Tech News
← Back to articles

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

read original more articles
Why This Matters

[]memo introduces a novel, memory-limited programming environment that emphasizes continuous, evolving code without retaining previous lines. Its natural-language syntax and ephemeral memory model challenge traditional coding paradigms, potentially influencing future language design and developer workflows. This approach highlights the importance of memory management and innovative interfaces in the evolving tech landscape.

Key Takeaways

×

[]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.

[]memo is functional and uses natural-language syntax:

Remember function-name with arguments as body.

List elements are seperated by commas, ands or both. []memo ignores numerals like 4 and expects four instead:

Remember p as one, two, and three.

Print with the Tell me command:

Tell me about name.

Some values are approximated. Cookies are used only to store program state. Read more on GitHub...

This language is part of Forty-Four Esolangs, a book by Daniel Temkin.