Programming Languages

An Active Learning Approach

By Kent D. Lee

Programming Languages Cover Image

This interactive textbook introduces students to three programming paradigms: object-oriented/imperative languages using C++ and Ruby, functional languages using Standard ML, and logic programming using Prolog. Each chapter includes practice exercises.

Full Description

  • ISBN13: 978-0-3877-9421-1
  • 296 Pages
  • User Level: Students
  • Publication Date: December 15, 2008
  • Available eBook Formats: PDF
  • eBook Price: $129.00
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description
Programming Languages: An Active Learning Approach introduces students to three programming paradigms: object-oriented/imperative languages using C++ and Ruby, functional languages using Standard ML, and logic programming using Prolog. This interactive textbook is intended to be used in and outside of class. Each chapter follows a pattern of presenting a topic followed by a practice exercise or exercises that encourage students to try what they have just read. This textbook is best-suited for students with a 2-3 course introduction to imperative programming. Key Features: (1) Accessible structure guides the student through various programming languages. (2) Seamlessly integrated practice exercises. (3) Classroom-tested. (4) Online support materials. Advance praise: “The Programming Languages book market is overflowing with books, but none like this. In many ways, it is precisely the book I have been searching for to use in my own programming languages course. One of the main challenges I perpetually face is how to teach students to program in functional and logical languages, but also how to teach them about compilers. This book melds the two approaches very well.” -- David Musicant, Carleton College
Table of Contents

Table of Contents

  1. Introduction.
  2. Specifying Syntax.
  3. Object
  4. Oriented Programming with C++.
  5. Object
  6. Oriented Programming with Ruby.
  7. Functional Programming in Standard ML.
  8. Language Implementation in Standard ML.
  9. Logic Programming.
  10. Formal Semantics.
  11. Appendix A: The C++ Scanner Class Implementation.
  12. Appendix B: The Ruby Scanner Class Implementation.
  13. Appendix C: Standard ML Basis Library.
  14. Appendix D: SML Calculator Compiler.
  15. Appendix E: The Factorial Program's Code.
  16. Appendix F: Small Action Semantic Description.
Errata

Please Login to submit errata.

No errata are currently published