Categories: 编程算法

Lisp in Small Pieces

This is a comprehensive account of the semantics and the implementation of the whole Lisp family of languages, namely Lisp, Scheme and related dialects. It describes 11 interpreters and 2 compilers, including very recent techniques of interpretation and compilation. The book is in two parts. The first starts from a simple evaluation function and enriches it with multiple name spaces, continuations and side-effects with commented variants, while at the same time the language used to define these features is reduced to a simple lambda-calculus. Denotational semantics is then naturally introduced. The second part focuses more on implementation techniques and discusses precompilation for fast interpretation: threaded code or bytecode; compilation towards C. Some extensions are also described such as dynamic evaluation, reflection, macros and objects. This will become the new standard reference for people wanting to know more about the Lisp family of languages: how they work, how they are implemented, what their variants are and why such variants exist. The full code is supplied (and also available over the Net). A large bibliography is given as well as a considerable number of exercises. Thus it may also be used by students to accompany second courses on Lisp or Scheme.

admin3473

Share
Published by
admin3473

Recent Posts

白露春分

✨《新婚之夜》《有人跳舞》《晚…

3月 ago

商务男装宣传口号230

商务男装宣传口号230   在…

3月 ago

自白录

刘晓庆文集”包括两本书:一本书…

3月 ago

乌镇一日游日记

乌镇一日游日记(通用21篇) …

3月 ago

做家务日记100字

做家务日记100字(通用15篇…

3月 ago

海边旅游日记

海边旅游日记(通用25篇)  …

3月 ago