flâneur — a map of the web's best reading

Statements and State · Crafting Interpreters

craftinginterpreters.com · 10,037 words · saved by 1 readers

The interpreter we have so far feels less like programming a real language and more like punching buttons on a calculator. “Programming” to me means building up a system out of smaller pieces. We can’t do that yet because we have no way to bind a name to some data or function. We can’t compose software without a way to refer to the pieces.

8 Statements and State All my life, my heart has yearned for a thing I cannot name. André Breton, Mad Love The interpreter we have so far feels less like programming a real language and more like punching buttons on a calculator. "Programming" to me means building up a system out of smaller pieces. We can't do that yet because we have no way to bind a name to some data or function. We can't compose software without a way to refer to the pieces. To support bindings, our interpreter needs internal state. When you define a variable at the beginning of the program and use it at the end, the

Explore this link on the map →

related reading