Skip to main content

Elementary Programming

  • Chapter
LISP, Lore, and Logic
  • 313 Accesses

Abstract

This chapter shows how the essential features of LISP are used in programming. The first section presents the ideas involved in straightforward (i.e., no loops) computation. Section 2.2 shows how recursive computations are programmed using COND, IF, and DEFUN. In Section 2.3, programs are developed and stored in files which are external with respect to the listener. Search functions are introduced and their importance is explained in Section 2.4. Methods for improving efficiency through the use of extra variables and functions are described in 2.5. Association lists and their application in an English-to-Inuit translator are presented in Section 2.6. Section 2.7 discusses fixed-point computation. Section 2.8 gives additional details on simple input and output functions and the use of streams.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1990 Springer-Verlag New York, Inc.

About this chapter

Cite this chapter

Stark, W.R. (1990). Elementary Programming. In: LISP, Lore, and Logic. Springer, New York, NY. https://doi.org/10.1007/978-1-4613-8931-6_2

Download citation

  • DOI: https://doi.org/10.1007/978-1-4613-8931-6_2

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-0-387-97072-1

  • Online ISBN: 978-1-4613-8931-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics