Building a Logo Interpreter
Logo is a programming environment created in the 1960s. It was, for many decades, a popular way to teach children how to code—I have fond memories of writing Logo programs back in high school. At its core, it is a method for building graphics via imperative instructions.
In this part of the book, we’ll build an application called Spec Logo. The starting point is an already-functioning interpreter and a barebones UI. In the following chapters, we’ll bolt on additional features to this codebase.
This chapter provides a second opportunity to test-drive Redux. It covers the following topics:
- Studying the Spec Logo user interface
- Undoing and redoing user actions in Redux
- Saving to local storage via Redux middleware
- Changing keyboard focus
By the end of the chapter, you’ll have learned how to test-drive complex Redux reducers and middleware.