I. WELCOME

This may be the beginning of a grand adventure. Programming languages encompass a huge space to explore and play in. Plenty of room for your own creations to share with others or just enjoy yourself. Brilliant computer scientists and software engineers have spent entire careers traversing this land without ever reaching the end. If this book is your first entry into the country, welcome.

这也许是一场大冒险的开始。编程语言包含了一个巨大的探索和游戏空间。在其中,你有足够的空间与他人分享自己的创作,或者只是自娱自乐。杰出的计算机科学家和软件工程师穷尽整个职业生涯都在穿越这片土地,却从未到达终点。如果这是你第一次进入这个国家,欢迎你。

The pages of this book give you a guided tour through some of the world of languages. But before we strap on our hiking boots and venture out, we should familiarize ourselves with the territory. The chapters in this part introduce you to the basic concepts used by programming languages and how they are organized.

本书的内容为你提供了一些语言世界的导览。但是,在我们穿上登山靴开始冒险之前,我们应该先熟悉一下这片土地。本部分的章节将向你介绍编程语言所使用的基本概念以及它们的组织方式。

We will also get acquainted with Lox, the language we’ll spend the rest of the book implementing (twice). Let’s go!

我们以后还会熟悉Lox,这门语言我们将用本书的其余部分来实现(两次)。让我们开始吧!