Chapter 6. Interacting with the World: Reading and Printing in Lisp

So far, we haven’t written any code that directly interacts with the outside world. Instead, all the results generated by commands are just returned as values, which we can see by calling functions from our Lisp REPL.

However, code can’t just spend its whole life sitting in a black box. At some point, it’s going to need to interact with the world, so it will need a user interface. Luckily, Lisp has much to offer to help you create user interfaces. There are many graphical user interface libraries for different flavors of Common Lisp, as well as libraries for building web interfaces. In fact, we’ll be building our own toy web interface in Chapter 13.

In this chapter, we’ll focus ...

Get Land of Lisp now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.