Clojure for the Brave and True: Learn the Ultimate Language and Become a Better Programmer by Daniel Higginbotham

Clojure for the Brave and True: Learn the Ultimate Language and Become a Better Programmer by Daniel Higginbotham

Author:Daniel Higginbotham
Language: eng
Format: mobi, epub
Publisher: No Starch Press
Published: 2015-09-24T21:00:00+00:00


Figure 7-2: Lists can easily be treated as trees.

First, Clojure’s reader converts the text (+ 1 (* 6 7)) into a nested list. (You’ll learn more about the reader in the next section.) Then, Clojure’s evaluator takes that data as input and produces a result. (It also compiles Java Virtual Machine (JVM) bytecode, which you’ll learn about in Chapter 12. For now, we’ll just focus on the evaluation model on a conceptual level.)

With this in mind, Figure 7-3 shows what Clojure’s evaluation process looks like.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.