Experiments · Poem to code

Poem to code

A few lines become a small function. A snippet becomes free verse. The shape stays: one line, one statement, a stanza for each breath.

The programming language changes only the function. English and Español change how the poem and the verse are read.

Poem language

Poem to code

Nouns become variables, verbs become functions, a repeated line becomes a loop.

A function will appear here.

Code to poem

Names split into words. Operators become connecting words. The indent stays.

A poem will appear here.

Only what you type is shown. It is not saved or sent.