LmCast :: Stay tuned in

The Folders Programming Language

Recorded: Oct. 16, 2026, 2:07 p.m.

Original Summarized

Daniel Temkin | Folders Language

HelloWorld
└── New Folder
├── New Folder
│   ├── New Folder
│   ├── New Folder (2)
│   ├── New Folder (3)
│   └── New Folder (4)
└── New Folder (2)
├── New Folder
│   ├── New Folder
│   ├── New Folder (2)
│   ├── New Folder (3)
│   ├── New Folder (4)
│   └── New Folder (5)
├── New Folder (2)
│   ├── New Folder
│   └── New Folder (2)
└── New Folder (3)
├── New Folder
│   ├── New Folder
│   │   ├── New Folder
│   │   ├── New Folder (2)
│   │   │   └── New Folder
│   │   ├── New Folder (3)
│   │   └── New Folder (4)
│   └── New Folder (2)
│   ├── New Folder
│   │   └── New Folder
│   ├── New Folder (2)
│   ├── New Folder (3)
│   └── New Folder (4)
├── New Folder (10)
│   ├── New Folder
│   │   ├── New Folder
│   │   ├── New Folder (2)
│   │   │   └── New Folder
│   │   ├── New Folder (3)
│   │   │   └── New Folder
│   │   └── New Folder (4)
│   │   └── New Folder
│   └── New Folder (2)
│   ├── New Folder
│   ├── New Folder (2)
│   ├── New Folder (3)
│   │   └── New Folder
│   └── New Folder (4)
├── New Folder (11)
│   ├── New Folder
│   │   ├── New Folder
│   │   ├── New Folder (2)
│   │   │   └── New Folder
│   │   ├── New Folder (3)
│   │   │   └── New Folder
│   │   └── New Folder (4)
│   └── New Folder (2)
│   ├── New Folder
│   │   └── New Folder
│   ├── New Folder (2)
│   │   └── New Folder
│   ├── New Folder (3)
│   └── New Folder (4)
├── New Folder (12)
│   ├── New Folder
│   │   ├── New Folder
│   │   ├── New Folder (2)
│   │   │   └── New Folder
│   │   ├── New Folder (3)
│   │   │   └── New Folder
│   │   └── New Folder (4)
│   └── New Folder (2)
│   ├── New Folder
│   ├── New Folder (2)
│   │   └── New Folder
│   ├── New Folder (3)
│   └── New Folder (4)
├── New Folder (13)
│   ├── New Folder
│   │   ├── New Folder
│   │   ├── New Folder (2)
│   │   ├── New Folder (3)
│   │   │   └── New Folder
│   │   └── New Folder (4)
│   └── New Folder (2)
│   ├── New Folder
│   ├── New Folder (2)
│   ├── New Folder (3)
│   └── New Folder (4)
│   └── New Folder
├── New Folder (2)
│   ├── New Folder
│   │   ├── New Folder
│   │   ├── New Folder (2)
│   │   │   └── New Folder
│   │   ├── New Folder (3)
│   │   │   └── New Folder
│   │   └── New Folder (4)
│   └── New Folder (2)
│   ├── New Folder
│   ├── New Folder (2)
│   │   └── New Folder
│   ├── New Folder (3)
│   └── New Folder (4)
│   └── New Folder
├── New Folder (3)
│   ├── New Folder
│   │   ├── New Folder
│   │   ├── New Folder (2)
│   │   │   └── New Folder
│   │   ├── New Folder (3)
│   │   │   └── New Folder
│   │   └── New Folder (4)
│   └── New Folder (2)
│   ├── New Folder
│   │   └── New Folder
│   ├── New Folder (2)
│   │   └── New Folder
│   ├── New Folder (3)
│   └── New Folder (4)
├── New Folder (4)
│   ├── New Folder
│   │   ├── New Folder
│   │   ├── New Folder (2)
│   │   │   └── New Folder
│   │   ├── New Folder (3)
│   │   │   └── New Folder
│   │   └── New Folder (4)
│   └── New Folder (2)
│   ├── New Folder
│   │   └── New Folder
│   ├── New Folder (2)
│   │   └── New Folder
│   ├── New Folder (3)
│   └── New Folder (4)
├── New Folder (5)
│   ├── New Folder
│   │   ├── New Folder
│   │   ├── New Folder (2)
│   │   │   └── New Folder
│   │   ├── New Folder (3)
│   │   │   └── New Folder
│   │   └── New Folder (4)
│   └── New Folder (2)
│   ├── New Folder
│   │   └── New Folder
│   ├── New Folder (2)
│   │   └── New Folder
│   ├── New Folder (3)
│   │   └── New Folder
│   └── New Folder (4)
│   └── New Folder
├── New Folder (6)
│   ├── New Folder
│   │   ├── New Folder
│   │   ├── New Folder (2)
│   │   ├── New Folder (3)
│   │   │   └── New Folder
│   │   └── New Folder (4)
│   └── New Folder (2)
│   ├── New Folder
│   │   └── New Folder
│   ├── New Folder (2)
│   │   └── New Folder
│   ├── New Folder (3)
│   └── New Folder (4)
├── New Folder (7)
│   ├── New Folder
│   │   ├── New Folder
│   │   ├── New Folder (2)
│   │   ├── New Folder (3)
│   │   │   └── New Folder
│   │   └── New Folder (4)
│   └── New Folder (2)
│   ├── New Folder
│   ├── New Folder (2)
│   ├── New Folder (3)
│   └── New Folder (4)
├── New Folder (8)
│   ├── New Folder
│   │   ├── New Folder
│   │   ├── New Folder (2)
│   │   │   └── New Folder
│   │   ├── New Folder (3)
│   │   └── New Folder (4)
│   │   └── New Folder
│   └── New Folder (2)
│   ├── New Folder
│   ├── New Folder (2)
│   │   └── New Folder
│   ├── New Folder (3)
│   │   └── New Folder
│   └── New Folder (4)
│   └── New Folder
└── New Folder (9)
├── New Folder
│   ├── New Folder
│   ├── New Folder (2)
│   │   └── New Folder
│   ├── New Folder (3)
│   │   └── New Folder
│   └── New Folder (4)
└── New Folder (2)
├── New Folder
│   └── New Folder
├── New Folder (2)
│   └── New Folder
├── New Folder (3)
│   └── New Folder
└── New Folder (4)
└── New Folder

209 directories, 0 files

The Folders Language
Created 2015 | Updated 2026 | One of Forty-Four Esolangs, by the creator of Rivulet and Velato
Where directories are code and drive space is infinite

About

Folders is a non-textual language, where code is expressed in containment and order alone. The names of the folders are ignored, apart from alphabetical ordering. In other words, they are pure ordered trees.

Inspired by the Whitespace language, Folders is devoted to the idea of dematerialized code. It began with the question What is more empty than a file with no visible text? The empty folder is clutter, an appendage with no purpose. In git, it is ignored entirely (for this reason, it is suggested that Folders programs put .gitignore files in their deepest reaches).

Folders began as a Windows language. In Windows, folders are an even more extreme measure of emptiness: they take up no disk space at all.
For proof, create 352,449 folders and get properties on it. In this way, Folders offers not only a dematerialized approach to code but also infinite storage capacity. Keep all your data encoded in folder names and never worry about running out of space again.

For those who use other operating systems, the emulator below gives some of the experience of how Folders manages data and code.

The original implementation can be found on github.

Encoding

Each command folder has at least one child folder. The number of subfolders in the first
folder (alphabetically) indicates the type of command; any arguments are indicated in a
second folder; some commands require a third folder. Expressions are the same: the number of folders in the first sub-folder determine what kind of expression it is. The full Language Spec is below.

Temporary data is stored as folders; unlike Folders code, it is the name of the folder that stores the data.

Folders FS

The Folders interpreter does not create temp files; anything not held
immediately in memory is stored as a set of temp folders. Unlike Folders code, the name of the folder stores the data itself.

The prefered I/O of
Folders is another set of folders. This means you can encode all your data in
folders, bypassing the "material realm" of files entirely and giving you infinite disk space (attempt at your own risk). Folders lang for code, Folders FS for data storage.

Temp folders from several Folders programs

Visualizations
A Folders program is a nil-terminated nested list. Its simplest form is pure containment and order, like this all-array JSON:

[[[[],[]],[],[[]]],[[[],[]],[],[[],[]]],[[[],[]],[],[[],[],[]]],[[[],[]],[],[[],[],[],[]]],[[[],[],[]],[[]],[[[],[],[],[],[]],[],[[[],[],[],[]]]]],[[[],[],[]],[[],[]],[[[],[],[],[],[]],[],[[[],[],[],[[]]]]]],[[[],[],[]],[[],[],[],[]],[[[],[],[],[],[]],[],[[[],[],[],[]]]]],[[[]],[[[],[],[],[],[],[],[],[]],[[],[[],[],[],[]]],[[[],[],[],[],[]],[],[[[],[],[],[[]]],[[[]],[[]],[[]],[]]]]],[[[[],[],[],[]],[[],[[]]]],[[[],[],[],[]],[[[],[],[],[],[]],[[],[],[]],[[[[]],[],[[]],[]]]]],[[[],[],[]],[[],[],[]],[[[]],[[],[[]]],[[],[[],[]]]]],[[[],[],[]],[[]],[[],[[],[]]]],[[[],[],[]],[[],[]],[[],[[],[],[]]]],[[[],[],[]],[[],[],[],[]],[[[]],[[],[[],[],[],[]]],[[[],[],[],[],[]],[],[[[],[],[],[[]]]]]]]]]]
Fibonacci Program

That is also how the JS emulator saves/reads Folders programs.
However, other systems of visualization are possible. Folders programs are content as structure and can be applied to raw data of any type. Here is a Truth Machine as a contour map. The thicker lines are containers, and the order of folders is read starting at the upper left (NW corner) and proceeding counter-clockwise.

Truth Machine

Truth Machine (Detail)

Other visualizations might be a family tree (with all single parents), a botanical branching structure (like a splitting stalk of wheat), or the paths through a maze.

Truth Machine

Simple Echo

The red dots indicate a threshhold from a container to a single child.

Language Spec

The language itself is a very simple imperative language with a short list of semantic rules.

For Commands and Expressions, the number of folders in their first child folder determines their use. Types are used directly.

Commands

Command

# of Folders

Details

if

0 folders

Second sub-folder holds expression, third holds list of commands

while

1 folder

Second sub-folder holds expression, third holds list of commands

declare

2 folders

Second sub-folder holds type, third holds var name (in number of folders)

let

3 folders

Second holds var name (in number of folders), third holds expression

print

4 folders

Second sub-folder holds expression

input

5 folders

Second sub-folder holds var name

Expressions

Type

# of Folders

Details

variable

0 folders

Second sub-folder holds var name

add

1 folder

Second sub-folder holds first expression to add, third holds second expression

subtract

2 folders

Second sub-folder holds first expression to subtract, third holds second expression

multiply

3 folders

Second sub-folder holds first expression to multiply, third holds second expression

divide

4 folders

Second sub-folder holds first expression to divide, third holds second expression

literal value

5 folders

Second sub-folder holds the type of the value (e.g. two folders for a string, third holds the value)

equal to

6 folders

Second and third folders hold expressions to compare

greater than

7 folders

Second and third folders hold expressions to compare

less than

8 folders

Second and third folders hold expressions to compare

Types

Type

# of Folders

float

1 folder

string

2 folders

char

3 folders

The reference compiler on github: https://github.com/rottytooth/Folders

Daniel Temkin
Forty-Four Esolangs
Writing
CV

The Folders Language is a non-textual language designed to express code entirely through the concept of containment and order, operating as pure ordered trees where the names of the folders are the sole carriers of information, disregarding their textual content except for alphabetical ordering. This system is inspired by the Whitespace language and is rooted in the philosophy of dematerialized code, questioning the necessity of visible text by treating empty folders as clutter, contrasting this with systems like git which ignore superfluous data. The language originated as a Windows language, aiming to achieve a dematerialized approach to code while simultaneously offering infinite storage capacity by utilizing folder structures instead of traditional files.

Folders distinguishes itself by treating directories as code and drive space as infinite, allowing data to be encoded within folder names, thereby eliminating concerns about running out of storage. This approach is further realized through Folders FS, which is dedicated to data storage and bypasses the material realm of files entirely, promoting the encoding of all data within the folder structure.

The structure of a Folders program is fundamentally a nil-terminated nested list. Its simplest form represents pure containment and order. Various visualizations exist to represent this structural information, including all-array JSON structures, a Truth Machine providing a contour map where lines indicate containment hierarchy, family trees, botanical branching structures, and maze paths.

The language specification defines the semantic rules through the number of folders in nested structures. Commands and expressions are categorized based on the hierarchy of folders they occupy. For instance, conditional commands like if require zero folders, while iterative commands like while require one folder in the first sub-folder, and declarative commands like declare require two folders. Arithmetic operations are specified by the count of folders, such as addition requiring one folder, subtraction requiring two, multiplication requiring three, and division requiring four. Type definitions are also quantified by folder count, with string requiring two folders and character requiring three folders. Similarly, operations on expressions such as addition, subtraction, multiplication, and division specify the required folder count to define the order of operands. Furthermore, literal values are specified using five folders, where the second sub-folder denotes the type of the value and the third sub-folder holds the actual value. This system establishes a compact, rule-based mechanism where the structural organization of the information dictates its meaning within the language framework.