cd-rom menu bonus content and exercises

Upload: austinlg

Post on 14-Apr-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    1/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    WelcomeTo the interactive Guide to Programming Language Pragmatics

    2009 by Elsevier Inc. All rights reserved.

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://www.elsevierdirect.com/product.jsp?isbn=9780123745149
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    2/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Using This CD

    2009 by Elsevier Inc. All rights reserved.

    Welcome to the Programming Language Pragmatics, 3rd EditionCompanion CD. This page contains some information to help you

    get started using the CD.

    --------------------------------------------------------------------------------

    What you will find on the CD-In More Depth sections and sub-sections that are introduced in the book-In More Depth Exercises and Explorations or students wanting additional challenges- Links to Web-based language reerence manuals, tutorials, compilers and interpreters- ext les containing the code ragments eatured as examples in the book--------------------------------------------------------------------------------

    System Requirements

    PDF ViewerTe CD material is a PDF based application that you can read with a PDF viewer such as Adobe Acrobator Adobe Reader. Te content is designed to be viewed in a browser window that is at least 720 pixels wide.You may nd the content does not display well i your display is not set to at least 1024x768 pixel resolution.

    Click here to visit theAdobe Reader home pageor more inormation on this sofware.

    Operating SystemTis CD can be used under any operating system, including Windows, Mac OS, and Linux.

    Searching For ContentTe navigation sidebar contains buttons to access the content o this CD according to category. Since thecontent o this CD is delivered in Adobe PDF (Portable Document Format), you can search within theapplication using the search eatures o your PDF viewer. For more inormation on searching within a PDF le,see the help menu within your PDF viewer. You may also use the Ctrl+F eature as ound in the edit drop downmenu. o search within the entire content o the CD, use the ull search eature located under Edit in the toolbar. Simply choose Search All PDF Documents In, then choose your CD Drive as the location. You may alsosearch this way using SHIF+CRL+F.

    Continue>

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://get.adobe.com/reader/http://get.adobe.com/reader/http://get.adobe.com/reader/http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://get.adobe.com/reader/
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    3/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Using This CD

    2009 by Elsevier Inc. All rights reserved.

    Page, Figure and Exercise NumberingPages in the printed book are numbered sequentially (1, 2, 3, and so on). Wherever you nd a simple pagenumber or page range (or example, page 203 or 134-145) you will know that this reerence reers to a

    page or pages in the printed book.

    CD-based pages are also numbered sequentially. However, they are distinguished rom printed bookpage numbers by the inclusion o a CD icon that accompanies the page number. Te CD page numbersequence extends over all o the CD-only Sections, Exercises and Explorations material.

    Figures and ExamplesFigures and Examples in the printed book are numbered sequentially within each chapter:

    - Figure 1.1, Figure 1.2, Figure 1.3, etc.- Example 1.1, Example 1.2, Example 1.3, etc.

    Te CD-based content continues the sequence rom where it le of in the printed book chapter. So, orexample, i the last gure in Chapter 2 o the printed book is Figure 2.32, the rst gure in the CD-basedmaterial or Chapter 2 will be Figure 2.33. Examples are treated in the same way.

    Exercises and ExplorationsExercises and Explorations are also numbered sequentially within each chapter o the printed book, withthe sequence continuing on the CD, in a way similar to Figures and Examples.

  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    4/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Chapters

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the content of each chapter.Chapter 2 Programming Language Syntax

    Chapter 3 Names, Scopes, and Bindings

    Chapter 4 Semantic Analysis

    Chapter 5 Target Machine Architecture

    Chapter 6 Control Flow

    Chapter 7 Data Types

    Chapter 8 Subroutines and Control Abstraction

    Chapter 9 Data Abstraction & Object Orientation

    Chapter 10 Functional Languages

    Chapter 11 Logic Languages

    Chapter 12 Concurrency

    Chapter 13 Scripting Languages

    Chapter 14 Building a Runnable ProgramChapter 16 Code Improvement

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://www.elsevierdirect.com/product.jsp?isbn=9780123745149
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    5/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Chapter 2

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the content of each chapter.Chapter 2 Programming Language Syntax

    Exercises 2.28 to 2.32

    Explorations 2.40 to 2.41

    CD Sections 2.3.4 Syntax Errors

    2.4 Teoretical Foundations

    Chapter 3 Names, Scopes, and Bindings

    Chapter 4 Semantic AnalysisChapter 5 Target Machine Architecture

    Chapter 6 Control Flow

    Chapter 7 Data Types

    Chapter 8 Subroutines and Control Abstraction

    Chapter 9 Data Abstraction & Object Orientation

    Chapter 10 Functional Languages

    Chapter 11 Logic Languages

    Chapter 12 Concurrency

    Chapter 13 Scripting Languages

    Chapter 14 Building a Runnable Program

    Chapter 16 Code Improvement

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/2d_explr.pdfhttp://data/chapters/2a_syntx.pdfhttp://data/chapters/2b_theor.pdfhttp://data/chapters/2b_theor.pdfhttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/2b_theor.pdfhttp://data/chapters/2a_syntx.pdfhttp://data/chapters/2d_explr.pdf
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    6/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Chapter 3

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the content of each chapter.Chapter 3 Names, Scopes, and Bindings

    Exercises 3.23 to 3.29

    Explorations 3.39 to 3.43

    CD Sections

    3.4 Implementing Scope

    3.8 Separate Compilation

    Chapter 2 Programming Language Syntax

    Chapter 4 Semantic AnalysisChapter 5 Target Machine Architecture

    Chapter 6 Control Flow

    Chapter 7 Data Types

    Chapter 8 Subroutines and Control Abstraction

    Chapter 9 Data Abstraction & Object Orientation

    Chapter 10 Functional Languages

    Chapter 11 Logic Languages

    Chapter 12 Concurrency

    Chapter 13 Scripting Languages

    Chapter 14 Building a Runnable Program

    Chapter 16 Code Improvement

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/3c_exerc.pdfhttp://data/chapters/3d_explr.pdfhttp://data/chapters/3a_impsc.pdfhttp://data/chapters/3b_spcom.pdfhttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/3b_spcom.pdfhttp://data/chapters/3a_impsc.pdfhttp://data/chapters/3d_explr.pdfhttp://data/chapters/3c_exerc.pdf
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    7/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Chapter 4

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the content of each chapter.Chapter 4 Semantic Analysis

    Exercises 4.25 to 4.29

    Explorations 4.34 to 4.35

    CD Sections

    4.5 Space Management for Attributes

    Chapter 2 Programming Language Syntax

    Chapter 3 Names, Scopes, and Bindings

    Chapter 5 Target Machine ArchitectureChapter 6 Control Flow

    Chapter 7 Data Types

    Chapter 8 Subroutines and Control Abstraction

    Chapter 9 Data Abstraction & Object Orientation

    Chapter 10 Functional Languages

    Chapter 11 Logic Languages

    Chapter 12 Concurrency

    Chapter 13 Scripting LanguagesChapter 14 Building a Runnable Program

    Chapter 16 Code Improvement

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/4b_exerc.pdfhttp://data/chapters/4c_explr.pdfhttp://data/chapters/4a_spcmg.pdfhttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/4a_spcmg.pdfhttp://data/chapters/4c_explr.pdfhttp://data/chapters/4b_exerc.pdf
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    8/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Chapter 5

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the content of each chapter.Chapter 5 Target Machine Architecture

    CD Sections

    (contains entire chapter, including Exercises

    and Explorations, and Bibliographic Notes)

    Chapter 2 Programming Language Syntax

    Chapter 3 Names, Scopes, and Bindings

    Chapter 4 Semantic Analysis

    Chapter 6 Control FlowChapter 7 Data Types

    Chapter 8 Subroutines and Control Abstraction

    Chapter 9 Data Abstraction & Object Orientation

    Chapter 10 Functional Languages

    Chapter 11 Logic Languages

    Chapter 12 Concurrency

    Chapter 13 Scripting Languages

    Chapter 14 Building a Runnable ProgramChapter 16 Code Improvement

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/5a_cdsec.pdfhttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/5a_cdsec.pdf
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    9/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Chapter 6

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the content of each chapter.Chapter 6 Control Flow

    Exercises 6.34 to 6.37

    Explorations 6.43 to 6.46

    CD Sections

    6.5.4 Generators in Icon

    6.7 Nondeterminacy

    Chapter 2 Programming Language Syntax

    Chapter 3 Names, Scopes, and BindingsChapter 4 Semantic Analysis

    Chapter 5 Target Machine Architecture

    Chapter 7 Data Types

    Chapter 8 Subroutines and Control Abstraction

    Chapter 9 Data Abstraction & Object Orientation

    Chapter 10 Functional Languages

    Chapter 11 Logic Languages

    Chapter 12 ConcurrencyChapter 13 Scripting Languages

    Chapter 14 Building a Runnable Program

    Chapter 16 Code Improvement

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/6c_exerc.pdfhttp://data/chapters/6d_explr.pdfhttp://data/chapters/6a_gnicn.pdfhttp://data/chapters/6b_nondt.pdfhttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/6b_nondt.pdfhttp://data/chapters/6a_gnicn.pdfhttp://data/chapters/6d_explr.pdfhttp://data/chapters/6c_exerc.pdf
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    10/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Chapter 7

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the content of each chapter.Chapter 7 Data Types

    Exercises 7.27 to 7.39 Explorations 7.50 to 7.53 CD Sections 7.2.4 Te ML ype System 7.3.3 With Statements 7.3.4 Variant Statements

    7.7.2 Dangling References 7.9 Files and Input/OutputChapter 2 Programming Language Syntax

    Chapter 3 Names, Scopes, and Bindings

    Chapter 4 Semantic Analysis

    Chapter 5 Target Machine Architecture

    Chapter 6 Control Flow

    Chapter 8 Subroutines and Control Abstraction

    Chapter 9 Data Abstraction & Object Orientation

    Chapter 10 Functional LanguagesChapter 11 Logic Languages

    Chapter 12 Concurrency

    Chapter 13 Scripting Languages

    Chapter 14 Building a Runnable Program

    Chapter 16 Code Improvement

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/7f_exerc.pdfhttp://data/chapters/7g_explr.pdfhttp://data/chapters/7a_mltyp.pdfhttp://data/chapters/7b_stmts.pdfhttp://data/chapters/7c_vtrds.pdfhttp://data/chapters/7d_dngrf.pdfhttp://data/chapters/7e_flopt.pdfhttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/7e_flopt.pdfhttp://data/chapters/7d_dngrf.pdfhttp://data/chapters/7c_vtrds.pdfhttp://data/chapters/7b_stmts.pdfhttp://data/chapters/7a_mltyp.pdfhttp://data/chapters/7g_explr.pdfhttp://data/chapters/7f_exerc.pdf
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    11/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Chapter 8

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the content of each chapter.Chapter 8 Subroutines and Control Abstraction

    Exercises 8.35 to 8.47 Explorations 8.58 to 8.61 CD Sections 8.2.1 Displays 8.2.2 Case Studies: C on the MIPS; Pascal 8.2.3 Register Windows 8.3.2 Call by Name

    8.4.4 Generics in C++, Java, and C# 8.6.3 Implementation of Iterators 8.6.4 Discrete Event SimulationChapter 2 Programming Language SyntaxChapter 3 Names, Scopes, and BindingsChapter 4 Semantic AnalysisChapter 5 Target Machine ArchitectureChapter 6 Control FlowChapter 7 Data Types

    Chapter 9 Data Abstraction & Object OrientationChapter 10 Functional LanguagesChapter 11 Logic LanguagesChapter 12 ConcurrencyChapter 13 Scripting LanguagesChapter 14 Building a Runnable ProgramChapter 16 Code Improvement

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/8h_exerc.pdfhttp://data/chapters/8i_explr.pdfhttp://data/chapters/8a_displ.pdfhttp://data/chapters/8b_csstd.pdfhttp://data/chapters/8c_rgwin.pdfhttp://data/chapters/8d_clbnm.pdfhttp://data/chapters/8e_gnrcs.pdfhttp://data/chapters/8f_implt.pdfhttp://data/chapters/8g_dscrt.pdfhttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/8g_dscrt.pdfhttp://data/chapters/8f_implt.pdfhttp://data/chapters/8e_gnrcs.pdfhttp://data/chapters/8d_clbnm.pdfhttp://data/chapters/8c_rgwin.pdfhttp://data/chapters/8b_csstd.pdfhttp://data/chapters/8a_displ.pdfhttp://data/chapters/8i_explr.pdfhttp://data/chapters/8h_exerc.pdf
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    12/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Chapter 9

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the content of each chapter.Chapter 9 Data Abstraction & Object Orientation Exercises 9.22 to 9.32

    Explorations 9.38 to 9.40

    CD Sections

    9.5 Multiple Inheritance

    9.6.1 Te Object Model of Smalltalk

    Chapter 2 Programming Language Syntax

    Chapter 3 Names, Scopes, and BindingsChapter 4 Semantic Analysis

    Chapter 5 Target Machine Architecture

    Chapter 6 Control Flow

    Chapter 7 Data Types

    Chapter 8 Subroutines and Control Abstraction

    Chapter 10 Functional Languages

    Chapter 11 Logic Languages

    Chapter 12 ConcurrencyChapter 13 Scripting Languages

    Chapter 14 Building a Runnable Program

    Chapter 16 Code Improvement

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/9c_exerc.pdfhttp://data/chapters/9d_explr.pdfhttp://data/chapters/9a_mltpi.pdfhttp://data/chapters/9b_omsmt.pdfhttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/9b_omsmt.pdfhttp://data/chapters/9a_mltpi.pdfhttp://data/chapters/9d_explr.pdfhttp://data/chapters/9c_exerc.pdf
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    13/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Chapter 10

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the content of each chapter.Chapter 10 Functional LanguagesExercises 10.18 to 10.21

    Explorations 10.28 to 10.30

    CD Sections

    10.6 Teoretical Foundations

    Chapter 2 Programming Language Syntax

    Chapter 3 Names, Scopes, and Bindings

    Chapter 4 Semantic AnalysisChapter 5 Target Machine Architecture

    Chapter 6 Control Flow

    Chapter 7 Data Types

    Chapter 8 Subroutines and Control Abstraction

    Chapter 9 Data Abstraction & Object Orientation

    Chapter 11 Logic Languages

    Chapter 12 Concurrency

    Chapter 13 Scripting LanguagesChapter 14 Building a Runnable Program

    Chapter 16 Code Improvement

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/10b_exerc.pdfhttp://data/chapters/10c_explr.pdfhttp://data/chapters/10a_thfnd.pdfhttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/10a_thfnd.pdfhttp://data/chapters/10c_explr.pdfhttp://data/chapters/10b_exerc.pdf
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    14/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Chapter 11

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the content of each chapter.Chapter 11 Logic Languages Exercises 11.18 to 11.20

    Explorations 11.26 to 11.29

    CD Sections

    11.3 Teoretical Foundations

    Chapter 2 Programming Language Syntax

    Chapter 3 Names, Scopes, and Bindings

    Chapter 4 Semantic AnalysisChapter 5 Target Machine Architecture

    Chapter 6 Control Flow

    Chapter 7 Data Types

    Chapter 8 Subroutines and Control Abstraction

    Chapter 9 Data Abstraction & Object Orientation

    Chapter 10 Functional Languages

    Chapter 12 Concurrency

    Chapter 13 Scripting LanguagesChapter 14 Building a Runnable Program

    Chapter 16 Code Improvement

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/11b_exerc.pdfhttp://data/chapters/11c_explr.pdfhttp://data/chapters/11a_thfnd.pdfhttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/11a_thfnd.pdfhttp://data/chapters/11c_explr.pdfhttp://data/chapters/11b_exerc.pdf
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    15/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Chapter 12

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the content of each chapter.Chapter 12 Concurrency

    Exercises 12.33 to 12.37

    Explorations 12.49 to 12.51

    CD Sections

    12.5 Message Passing

    Chapter 2 Programming Language Syntax

    Chapter 3 Names, Scopes, and Bindings

    Chapter 4 Semantic AnalysisChapter 5 Target Machine Architecture

    Chapter 6 Control Flow

    Chapter 7 Data Types

    Chapter 8 Subroutines and Control Abstraction

    Chapter 9 Data Abstraction & Object Orientation

    Chapter 10 Functional Languages

    Chapter 11 Logic Languages

    Chapter 13 Scripting LanguagesChapter 14 Building a Runnable Program

    Chapter 16 Code Improvement

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/12b_exerc.pdfhttp://data/chapters/12c_explr.pdfhttp://data/chapters/12a_msgps.pdfhttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/12a_msgps.pdfhttp://data/chapters/12c_explr.pdfhttp://data/chapters/12b_exerc.pdf
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    16/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Chapter 13

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the content of each chapter.Chapter 13 Scripting LanguagesExercises 13.19 to 13.21

    Explorations 13.31 to 13.33

    CD Sections

    13.3.5 XSL

    Chapter 2 Programming Language Syntax

    Chapter 3 Names, Scopes, and Bindings

    Chapter 4 Semantic AnalysisChapter 5 Target Machine Architecture

    Chapter 6 Control Flow

    Chapter 7 Data Types

    Chapter 8 Subroutines and Control Abstraction

    Chapter 9 Data Abstraction & Object Orientation

    Chapter 10 Functional Languages

    Chapter 11 Logic Languages

    Chapter 12 ConcurrencyChapter 14 Building a Runnable Program

    Chapter 16 Code Improvement

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/13b_exerc.pdfhttp://data/chapters/13c_explr.pdfhttp://data/chapters/13a_xslt.pdfhttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/13a_xslt.pdfhttp://data/chapters/13c_explr.pdfhttp://data/chapters/13b_exerc.pdf
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    17/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Chapter 14

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the content of each chapter.Chapter 14 Building a Runnable Program Exercises 14.12 to 14.14

    Explorations 14.20 to 14.22

    CD Sections

    14.2 Intermediate Forms

    14.7 Dynamic Linking

    Chapter 2 Programming Language Syntax

    Chapter 3 Names, Scopes, and BindingsChapter 4 Semantic Analysis

    Chapter 5 Target Machine Architecture

    Chapter 6 Control Flow

    Chapter 7 Data Types

    Chapter 8 Subroutines and Control Abstraction

    Chapter 9 Data Abstraction & Object Orientation

    Chapter 10 Functional Languages

    Chapter 11 Logic LanguagesChapter 12 Concurrency

    Chapter 13 Scripting Languages

    Chapter 16 Code Improvement

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/14c_exerc.pdfhttp://data/chapters/14d_explr.pdfhttp://data/chapters/14a_imdfm.pdfhttp://data/chapters/14b_dynlk.pdfhttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/14b_dynlk.pdfhttp://data/chapters/14d_explr.pdfhttp://data/chapters/14c_exerc.pdfhttp://data/chapters/14a_imdfm.pdf
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    18/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Chapter 16

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the content of each chapter.Chapter 16 Code Improvement CD Sections

    (contains entire chapter, including Exercises

    and Explorations, and Bibliographic Notes)

    Chapter 2 Programming Language Syntax

    Chapter 3 Names, Scopes, and Bindings

    Chapter 4 Semantic Analysis

    Chapter 5 Target Machine ArchitectureChapter 6 Control Flow

    Chapter 7 Data Types

    Chapter 8 Subroutines and Control Abstraction

    Chapter 9 Data Abstraction & Object Orientation

    Chapter 10 Functional Languages

    Chapter 11 Logic Languages

    Chapter 12 Concurrency

    Chapter 13 Scripting LanguagesChapter 14 Building a Runnable Program

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/16a_cdsec.pdfhttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/16a_cdsec.pdf
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    19/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    CD Sections

    2009 by Elsevier Inc. All rights reserved.

    Chapter 2 Programming Language

    Syntax

    2.3.4 Syntax Errors 2.4 Teoretical Foundations

    Chapter 3 Names, Scopes, & Bindings 3.4 Implementing Scope

    3.8 Separate Compilation

    Chapter 4 Semantic Analysis 4.5 Space Management for Attributes

    Chapter 5 Target MachineArchitecture

    (Contains entire chapter, including Exercises and Explorations and Bibliographic Notes)

    Chapter 6 Control Flow 6.5.4 Generators in Icon

    6.7 NondeterminacyChapter 7 Data Types

    7.2.4 Te ML ype System 7.3.3 With Statements 7.3.4 Variant Records (Unions) 7.7.2 Dangling References 7.9 Files and Input/Output

    Chapter 8 Subroutines &Control Abstraction

    8.2.1 Displays 8.2.2 Case Studies: C on the MIPS;

    Pascal on the x86

    Chapter 8 (cont.)

    8.2.3 Register Windows 8.3.2 Call by Name 8.4.4 Generics in C++, Java, and C# 8.6.3 Implementation of Iterators 8.6.4 Discrete Event Simulation

    Chapter 9 Data Abstraction & ObjectOrientation

    9.5 Multiple Inheritance 9.6.1 Te Object Model of Smalltalk

    Chapter 10 Functional Languages

    10.6 Teoretical Foundations

    Chapter 11 Logic Languages

    11.3 Teoretical Foundations

    Chapter 12 Concurrency

    12.5 Message Passing

    Chapter 13 Scripting Languages 13.3.5 XSL

    Chapter 14 Building a RunnableProgram

    14.2 Intermediate Forms 14.7 Dynamic Linking

    Chapter 16 Code Improvement

    (Contains entire chapter, including Exercises andExplorations, and Bibliographic Notes)

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/2a_syntx.pdfhttp://data/chapters/2b_theor.pdfhttp://data/chapters/2b_theor.pdfhttp://data/chapters/3a_impsc.pdfhttp://data/chapters/3b_spcom.pdfhttp://data/chapters/3b_spcom.pdfhttp://data/chapters/4a_spcmg.pdfhttp://data/chapters/5a_cdsec.pdfhttp://data/chapters/5a_cdsec.pdfhttp://data/chapters/6a_gnicn.pdfhttp://data/chapters/6b_nondt.pdfhttp://data/chapters/7a_mltyp.pdfhttp://data/chapters/7a_mltyp.pdfhttp://data/chapters/7b_stmts.pdfhttp://data/chapters/7c_vtrds.pdfhttp://data/chapters/7d_dngrf.pdfhttp://data/chapters/7e_flopt.pdfhttp://data/chapters/8a_displ.pdfhttp://data/chapters/8b_csstd.pdfhttp://data/chapters/8b_csstd.pdfhttp://data/chapters/8c_rgwin.pdfhttp://data/chapters/8d_clbnm.pdfhttp://data/chapters/8e_gnrcs.pdfhttp://data/chapters/8f_implt.pdfhttp://data/chapters/8g_dscrt.pdfhttp://data/chapters/9a_mltpi.pdfhttp://data/chapters/9b_omsmt.pdfhttp://data/chapters/10a_thfnd.pdfhttp://data/chapters/10a_thfnd.pdfhttp://data/chapters/11a_thfnd.pdfhttp://data/chapters/12a_msgps.pdfhttp://data/chapters/13a_xslt.pdfhttp://data/chapters/14a_imdfm.pdfhttp://data/chapters/14b_dynlk.pdfhttp://data/chapters/16a_cdsec.pdfhttp://data/chapters/16a_cdsec.pdfhttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/16a_cdsec.pdfhttp://data/chapters/5a_cdsec.pdfhttp://data/chapters/14b_dynlk.pdfhttp://data/chapters/14a_imdfm.pdfhttp://data/chapters/13a_xslt.pdfhttp://data/chapters/12a_msgps.pdfhttp://data/chapters/11a_thfnd.pdfhttp://data/chapters/10a_thfnd.pdfhttp://data/chapters/9b_omsmt.pdfhttp://data/chapters/9a_mltpi.pdfhttp://data/chapters/8g_dscrt.pdfhttp://data/chapters/8f_implt.pdfhttp://data/chapters/8e_gnrcs.pdfhttp://data/chapters/8d_clbnm.pdfhttp://data/chapters/8c_rgwin.pdfhttp://data/chapters/8a_displ.pdfhttp://data/chapters/8b_csstd.pdfhttp://data/chapters/7e_flopt.pdfhttp://data/chapters/7d_dngrf.pdfhttp://data/chapters/7c_vtrds.pdfhttp://data/chapters/7b_stmts.pdfhttp://data/chapters/7a_mltyp.pdfhttp://data/chapters/6b_nondt.pdfhttp://data/chapters/6a_gnicn.pdfhttp://data/chapters/4a_spcmg.pdfhttp://data/chapters/3b_spcom.pdfhttp://data/chapters/3a_impsc.pdfhttp://data/chapters/2b_theor.pdfhttp://data/chapters/2a_syntx.pdf
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    20/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Exercises

    2009 by Elsevier Inc. All rights reserved.

    Chapter 2 Programming Language Syntax

    Exercises 2.28 to 2.32

    Chapter 3 Names, Scopes, and Bindings

    Exercises 3.23 to 3.29Chapter 4 Semantic Analysis

    Exercises 4.25 to 4.29Chapter 6 Control Flow

    Exercises 6.34 to 6.37

    Chapter 7 Data Types Exercises 7.27 to 7.39

    Chapter 8 Subroutines & Control Abstraction

    Exercises 8.35 to 8.47Chapter 9 Data Abstraction & Object Orientation

    Exercises 9.22 to 9.32

    Chapter 10 Functional Languages

    Exercises 10.18 to 10.21

    Chapter 11 Logic Languages Exercises 11.18 to 11.20Chapter 12 Concurrency

    Exercises 12.33 to 12.37Chapter 13 Scripting Languages

    Exercises 13.19 to 13.21

    Chapter 14 Building a Runnable Program

    Exercises 14.12 to 14.14

    h ld l d bl h f d h l h f l

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/2c_exerc.pdfhttp://data/chapters/3c_exerc.pdfhttp://data/chapters/4b_exerc.pdfhttp://data/chapters/6c_exerc.pdfhttp://data/chapters/7f_exerc.pdfhttp://data/chapters/7f_exerc.pdfhttp://data/chapters/8h_exerc.pdfhttp://data/chapters/8h_exerc.pdfhttp://data/chapters/9c_exerc.pdfhttp://data/chapters/9c_exerc.pdfhttp://data/chapters/10b_exerc.pdfhttp://data/chapters/11b_exerc.pdfhttp://data/chapters/12b_exerc.pdfhttp://data/chapters/13b_exerc.pdfhttp://data/chapters/13b_exerc.pdfhttp://data/chapters/14c_exerc.pdfhttp://data/chapters/14c_exerc.pdfhttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/13b_exerc.pdfhttp://data/chapters/14c_exerc.pdfhttp://data/chapters/12b_exerc.pdfhttp://data/chapters/11b_exerc.pdfhttp://data/chapters/10b_exerc.pdfhttp://data/chapters/9c_exerc.pdfhttp://data/chapters/8h_exerc.pdfhttp://data/chapters/7f_exerc.pdfhttp://data/chapters/6c_exerc.pdfhttp://data/chapters/4b_exerc.pdfhttp://data/chapters/3c_exerc.pdfhttp://data/chapters/2c_exerc.pdf
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    21/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Explorations

    2009 by Elsevier Inc. All rights reserved.

    Chapter 2 Programming Language Syntax

    Explorations 2.40 to 2.41

    Chapter 3 Names, Scopes, and Bindings

    Explorations 3.39 to 3.43

    Chapter 4 Semantic Analysis

    Explorations 4.34 to 4.35Chapter 6 Control Flow

    Explorations 6.43 to 6.46

    Chapter 7 Data Types Explorations 7.50 to 7.53

    Chapter 8 Subroutines & Control Abstraction

    Explorations 8.58 to 8.61

    Chapter 9 Data Abstraction & Object Orientation

    Explorations 9.38 to 9.40

    Chapter 10 Functional Languages

    Explorations 10.28 to 10.30

    Chapter 11 Logic Languages Explorations 11.26 to 11.29

    Chapter 12 Concurrency

    Explorations 12.49 to 12.51

    Chapter 13 Scripting Languages

    Explorations 13.31 to 13.33

    Chapter 14 Building a Runnable Program

    Explorations 14.20 to 14.22

    A h ld l d bl h f d h l h f El

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/2d_explr.pdfhttp://data/chapters/2d_explr.pdfhttp://data/chapters/3d_explr.pdfhttp://data/chapters/3d_explr.pdfhttp://data/chapters/4c_explr.pdfhttp://data/chapters/6d_explr.pdfhttp://data/chapters/6d_explr.pdfhttp://data/chapters/7g_explr.pdfhttp://data/chapters/7g_explr.pdfhttp://data/chapters/8i_explr.pdfhttp://data/chapters/8i_explr.pdfhttp://data/chapters/9d_explr.pdfhttp://data/chapters/10c_explr.pdfhttp://data/chapters/10c_explr.pdfhttp://data/chapters/11c_explr.pdfhttp://data/chapters/11c_explr.pdfhttp://data/chapters/12c_explr.pdfhttp://data/chapters/12c_explr.pdfhttp://data/chapters/13c_explr.pdfhttp://data/chapters/13c_explr.pdfhttp://data/chapters/14d_explr.pdfhttp://data/chapters/14d_explr.pdfhttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://data/chapters/14d_explr.pdfhttp://data/chapters/13c_explr.pdfhttp://data/chapters/12c_explr.pdfhttp://data/chapters/11c_explr.pdfhttp://data/chapters/10c_explr.pdfhttp://data/chapters/9d_explr.pdfhttp://data/chapters/8i_explr.pdfhttp://data/chapters/7g_explr.pdfhttp://data/chapters/6d_explr.pdfhttp://data/chapters/4c_explr.pdfhttp://data/chapters/3d_explr.pdfhttp://data/chapters/2d_explr.pdf
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    22/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Language Resources

    2009 by Elsevier Inc. All rights reserved.

    Te World Wide Web is, or practical purposes, an endless source on technical subjects. However, it cansometimes be dicult to gure out where to start.

    Te list provided here consists o high- quality sources or programming language tutorials, reerencemanuals, and other resources. All URLs are current as o February 2009.

    Ada C and C++ C# Common Lisp Erlang F# Fortran

    Haskell Java JavaScript ML OCaml Pascal Perl

    PHP Prolog Python Ruby Scheme cl XSL

    Architecture Resources

    PLP Home Pages

    Companion Web site or PLP

    Elsevier Web Site

    Morgan Kaumann Web site

    Te authors Web site or PLPContinue >

    A h ld l di bli h f i d h l h i f i El i

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://books.elsevier.com/http://www.mkp.com/http://www.cs.rochester.edu/~scott/pragmatics/http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://www.cs.rochester.edu/~scott/pragmatics/http://www.mkp.com/http://books.elsevier.com/http://www.elsevierdirect.com/product.jsp?isbn=9780123745149
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    23/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Language Resources

    2009 by Elsevier Inc. All rights reserved.

    Directories and lists of linksTe Language ListMaintained by Bill Kinnersley, this list includes basic inormation and links to additional resourcesor some 2,500 dierent programming languages.

    Free Programming ResourcesMaintained by Richard Barry. Where Kinnersleys list aims to be encyclopedic, this site aims to beuseul. Includes tutorials, books, compilers, tools, source code, libraries, and resources or gaming,graphics, and security.

    Open Directory ProjectTe Open Source Web directory programming languages page.

    Yahoo Computer Programming LanguagesTe human-maintained languages index at Yahoo.

    Google Computers > Programming > LanguagesTe corresponding index at Google.

    Wikipedia Programming Languages ListTe corresponding index at Wikipedia, available alphabetically and sorted by categories or time.

    A h ld l di bli h f i d h l h i f i El i

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://people.ku.edu/~nkinners/LangList/Extras/langlist.htmhttp://www.freeprogrammingresources.com/http://www.dmoz.org/Computers/Programming/Languages/http://dir.yahoo.com/Computers_and_Internet/Programming_and_Development/Languages/http://directory.google.com/Top/Computers/Programming/Languages/http://en.wikipedia.org/wiki/List_of_programming_languageshttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://dir.yahoo.com/Computers_and_Internet/Programming_and_Development/Languages/http://en.wikipedia.org/wiki/List_of_programming_languageshttp://directory.google.com/Top/Computers/Programming/Languages/http://www.dmoz.org/Computers/Programming/Languages/http://www.freeprogrammingresources.com/http://people.ku.edu/~nkinners/LangList/Extras/langlist.htm
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    24/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Language Resources

    2009 by Elsevier Inc. All rights reserved.

    Language-specific resourcesRemember also to look under the appropriate language in the directory entries above.

    AdaAda HomePrincipal Web repository or everything Ada, including documentation, tutorials, compilers, andtools.Ada 95 Reerence ManualAda 95 Design Rationale

    C and C++accu C/C++ ResourcesResources page o the Association o C and C++ Users, based in Great Britain. Incredibly rich set olinks to resources o every kind.

    GCC Home PageHome page or the Free Sofware GNU Compiler Collection, with implementations or almost everyknown computer system. Includes ront ends not only or C and C++, but also or Objective C,Fortran, Java, and Ada as well.

    Programming in C: UNIX System Calls and Subroutines Using Cby A. D. Marshall, One o many good books on C. Tis one has the advantage o being availableonline.

    Standard emplate Library Programmers GuideOcial on-line reerence or the C++ Standard emplate Library.

    A th ld l di bli h f i d h lth i f ti El i

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://www.adahome.com/http://www.adahome.com/Resources/refs/rm95.htmlhttp://www.adahome.com/Resources/refs/rat95.htmlhttp://accu.org/index.php/articles/weblinks/c22/http://gcc.gnu.org/index.htmlhttp://www.cs.cf.ac.uk/Dave/C/CE.htmlhttp://www.sgi.com/tech/stl/http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://www.sgi.com/tech/stl/http://www.cs.cf.ac.uk/Dave/C/CE.htmlhttp://gcc.gnu.org/index.htmlhttp://accu.org/index.php/articles/weblinks/c22/http://www.adahome.com/Resources/refs/rat95.htmlhttp://www.adahome.com/Resources/refs/rm95.htmlhttp://www.adahome.com/
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    25/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the worlds leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Language Resources

    2009 by Elsevier Inc. All rights reserved.

    Te C++ Programming LanguageBjarne Stroustrups C++ home page.

    Te C99 Language StandardInternational Standard.

    Rationale or the C99 Language StandardWorking Draf or the Emerging C++ Standard

    C#C# ProgrammingTere isnt a single canonical site or C#, but this one is pretty good.

    Standard ECMA-334 C# Language SpecicationTe international language standard. Covers C# 2.0.

    Mono Main Page

    Te open source development platorm based on the .NE ramework, this site allows developers tobuild Linux and cross-platorm applications with improved developer productivity with a particularemphasis on high-quality compilation o C# and support or the x86, PowerPC, x86-64, Sparc, andS390 architectures. Mono is primarily sponsored by Novell Inc.

    DotGNU ProjectA Free Sofware alternative to Microsofs .NE (including C#), developed under GNU auspices.

    A th ld l di p bli h f i d h lth i f ti El i

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://www.research.att.com/~bs/C++.htmlhttp://www.open-std.org/jtc1/sc22/wg14/www/docs/n1336.pdfhttp://www.open-std.org/jtc1/sc22/wg14/www/docs/C99RationaleV5.10.pdfhttp://www.hitmill.com/programming/dotNET/csharp.htmlhttp://www.ecma-international.org/publications/standards/Ecma-334.htmhttp://www.mono-project.com/Main_Pagehttp://dotgnu.org/http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://dotgnu.org/http://www.mono-project.com/Main_Pagehttp://www.ecma-international.org/publications/standards/Ecma-334.htmhttp://www.hitmill.com/programming/dotNET/csharp.htmlhttp://www.open-std.org/jtc1/sc22/wg14/www/docs/C99RationaleV5.10.pdfhttp://www.open-std.org/jtc1/sc22/wg14/www/docs/n1336.pdfhttp://www.research.att.com/~bs/C++.html
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    26/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the world s leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Language Resources

    2009 by Elsevier Inc. All rights reserved.

    Microsofs C# Documentation

    Te Common Language Inrastructure Standard

    Common LispAssociation o Lisp UsersHome page or the Association o Lisp Users. Includes resources not only or Common Lisp, but alsoor Scheme and other dialects.

    Common Lisp HyperSpecOnline hypertext version o the ANSI Common Lisp standard.

    Common Lisp the Language, 2nd EditionOnline hypertext copy o Common Lisp the Language, 2nd Edition, by Guy L. Steele, 1990. Oncethe standard language reerence.

    An Introduction and utorial or Common Lisp

    Extensive list o Common Lisp links, including tutorials, standards, implementations, and papers.Some o the links have gone stale.

    Te CMU Common Lisp ProjectCMUCL is a high-perormance, ree Common Lisp implementation or Unix platorms. Its CVSrepository is hosted here at common-lisp.net, but its Web presence is at:http://www.cons.org/cmucl/.

    As the worlds leading publisher of science and health information Elsevier serves more

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://msdn.microsoft.com/en-us/vcsharp/aa336809.aspxhttp://www.ecma-international.org/publications/files/ECMA-ST/Ecma-335.pdfhttp://www.ecma-international.org/publications/files/ECMA-ST/Ecma-335.pdfhttp://www.lisp.org/alu/homehttp://www.lispworks.com/documentation/common-lisp.htmlhttp://www-2.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/html/cltl/cltl2.htmlhttp://www.apl.jhu.edu/~hall/lisp.htmlhttp://common-lisp.net/project/cmucl/http://www.cons.org/cmucl/http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://www.cons.org/cmucl/http://common-lisp.net/project/cmucl/http://www.apl.jhu.edu/~hall/lisp.htmlhttp://www-2.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/html/cltl/cltl2.htmlhttp://www.lispworks.com/documentation/common-lisp.htmlhttp://www.lisp.org/alu/homehttp://www.ecma-international.org/publications/files/ECMA-ST/Ecma-335.pdfhttp://msdn.microsoft.com/en-us/vcsharp/aa336809.aspx
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    27/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the world s leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Language Resources

    2009 by Elsevier Inc. All rights reserved.

    ErlangOpen Source ErlangOcial site.

    rapexit.orgNews and weblogs related to Erlang/OP.

    JungerlTe Jungle o Erlang code. Tis sourceorge project contains miscellaneous utilities or Erlang pro-

    grammers.

    F#F# at Microsof ResearchOcial Microsof Research site. Tese pages document F# as a research project.

    hubFSTe primary gathering point o the F# community.

    Planet F#An RSS eed.

    FortranFortran Library DirectoryContains links to tutorials, articles, compilers, and other resources.

    As the worlds leading publisher of science and health information Elsevier serves more

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://www.erlang.org/http://www.trapexit.org/http://jungerl.sourceforge.net/http://research.microsoft.com/en-us/um/cambridge/projects/fsharp/default.aspxhttp://cs.hubfs.net/http://feeds2.feedburner.com/planet_fsharphttp://www.fortranlib.com/fldir.htmhttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://www.fortranlib.com/fldir.htmhttp://feeds2.feedburner.com/planet_fsharphttp://cs.hubfs.net/http://research.microsoft.com/en-us/um/cambridge/projects/fsharp/default.aspxhttp://jungerl.sourceforge.net/http://www.trapexit.org/http://www.erlang.org/
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    28/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the world s leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Language Resources

    2009 by Elsevier Inc. All rights reserved.

    ANSI X3J3Te Fortran 77 standard.Home page or the Fortran standards group.

    HaskellTe Haskell Home PagePrincipal Web site or Haskell, with documentation, tutorials, compilers, and tools.

    JavaJava echnologyJava home page at Sun.

    Te Java Virtual MachineTe Java Virtual Machine Specication.

    Te Java Community Process ProgramHome page or the Java Community Process, charting the uture evolution o the language.

    Java Programming FAQs and utorialsExtensive list o Java tutorials.

    JavaScriptTe JavaScript SourceA good collection o resources, albeit with a lot o ads.

    As the worlds leading publisher of science and health information Elsevier serves more

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://www.fortran.com/fortran/F77_std/rjcnf0001.htmlhttp://haskell.org/http://java.sun.com/http://java.sun.com/docs/books/jvms/http://jcp.org/en/home/indexhttp://www.apl.jhu.edu/~hall/java/FAQs-and-Tutorials.htmlhttp://javascript.internet.com/http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://javascript.internet.com/http://www.apl.jhu.edu/~hall/java/FAQs-and-Tutorials.htmlhttp://jcp.org/en/home/indexhttp://java.sun.com/docs/books/jvms/http://java.sun.com/http://haskell.org/http://www.fortran.com/fortran/F77_std/rjcnf0001.html
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    29/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the world s leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Language Resources

    2009 by Elsevier Inc. All rights reserved.

    JavaScript Made Easy

    A good tutorial, plus lots o ree scripts.

    ECMAScript Language SpecicationTe international language standard.

    JScript Language ReerenceManual or JScript, Microsofs version o JavaScript.

    MLStandard ML o New JerseyTe most widely used ML implementation. Open Source. Includes documentation and an extensivelist o pointers to other resources.

    Programming in Standard ML 97Excellent online tutorial.

    OCamlTe Caml LanguageOcial site.

    Te Objective-Camal SystemDocumentation and users manual.

    PascalPascal CentralGood central repository or Pascal resources.

    As the worlds leading publisher of science and health information Elsevier serves more

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://www.jsmadeeasy.com/http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdfhttp://msdn.microsoft.com/en-us/library/z688wt03.aspxhttp://www.smlnj.org/http://www.dcs.ed.ac.uk/home/stg/NOTES/http://caml.inria.fr/http://caml.inria.fr/pub/docs/manual-ocaml/index.htmlhttp://www.pascal-central.com/http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://www.pascal-central.com/http://caml.inria.fr/pub/docs/manual-ocaml/index.htmlhttp://caml.inria.fr/http://www.dcs.ed.ac.uk/home/stg/NOTES/http://www.smlnj.org/http://msdn.microsoft.com/en-us/library/z688wt03.aspxhttp://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdfhttp://www.jsmadeeasy.com/
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    30/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the world s leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Language Resources

    2009 by Elsevier Inc. All rights reserved.

    Pascal Standards

    Te ISO language standards.

    GNU PascalTe GNU Pascal compiler. Open Source. Based on gcc.

    Free PascalAn alternative Open Source implementation. Sel-hosting (written in Pascal).

    PerlTe Perl DirectoryPrincipal Web site or Perl, with documentation, tutorials, implementations, tools, and news rom theuser community.

    Te Source or PerlAlternative Web site, maintained by OReilly publishers.

    Larry Walls Very Own Perl PageLarry Walls Perl home page.

    PHPPHP: Hypertext PreprocessorPrincipal Web site or PHP, with documentation, tutorials, implementations, tools, and news romthe user community.

    Practical PHP ProgrammingPaul Hudsons PHP Wiki. Based on his book, PHP in a Nutshell.

    As the worlds leading publisher of science and health information Elsevier serves more

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://www.pascal-central.com/standards.htmlhttp://www.gnu-pascal.de/gpc/h-index.htmlhttp://www.freepascal.org/http://www.perl.org/http://www.perl.com/http://www.wall.org/~larry/perl.htmlhttp://www.php.net/http://hudzilla.org/phpwiki/index.php?title=Main_Pagehttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://hudzilla.org/phpwiki/index.php?title=Main_Pagehttp://www.php.net/http://www.wall.org/~larry/perl.htmlhttp://www.perl.com/http://www.perl.org/http://www.freepascal.org/http://www.gnu-pascal.de/gpc/h-index.htmlhttp://www.pascal-central.com/standards.html
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    31/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the world s leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Language Resources

    2009 by Elsevier Inc. All rights reserved.

    Prolog

    Te WWW Virtual Library: Logic ProgrammingGood central repository or resources on logic programming in general and Prolog in particular.

    SWI-Prologs HomeA widely used Open Source Prolog implementation.

    PythonPython Programming LanguagePrincipal Web site or Python, with documentation, tutorials, implementations, tools, and news rom

    the user community.

    RubyRuby: Programmers Best FriendEnglish language home page or Ruby, with documentation, tutorials, implementations, tools, andnews rom the user community.

    Ruby CentralAdditional Ruby resources.

    Scheme(schemers . org)Good central repository or Scheme resources.

    Te Scheme Programming LanguageTe MI Scheme Web site. Source or MI GNU Scheme.

    As the worlds leading publisher of science and health information, Elsevier serves more

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://vl.fmnet.info/logic-prog/http://www.swi-prolog.org/http://www.python.org/http://www.ruby-lang.org/en/http://www.rubycentral.com/http://www.schemers.org/http://groups.csail.mit.edu/mac/projects/scheme/http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://groups.csail.mit.edu/mac/projects/scheme/http://www.schemers.org/http://www.rubycentral.com/http://www.ruby-lang.org/en/http://www.python.org/http://www.swi-prolog.org/http://vl.fmnet.info/logic-prog/
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    32/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the world s leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Language Resources

    2009 by Elsevier Inc. All rights reserved.

    (CHEZ [CHEZ SCHEME])

    Source or the Chez Scheme implementation. Also hosts complete on-line version o Kent Dybvigsexcellent Scheme textbook.

    PL SchemeSource o the PL Scheme implementation. Widely used or teaching.

    Revised5 Report on the Algorithmic Language SchemeTe Revised5 Scheme language standard, in several dierent ormats.

    Revised6 Report on the Algorithmic Language SchemeTe new 6th revision o the language standard.

    Tclcl Developer XchangePrincipal Web site or cl, with documentation, tutorials, implementations, tools, and news rom theuser community.

    Practical Programming in cl and k

    Online version o (previous editions o ) the excellent text by Welch and Jones.

    XSLTTe Extensible Stylesheet Language Family (XSL)

    World Wide Web Consortium ocial Web site or XSL, XPath, XSL-FO, and related technologies.

    XSL utorialA good online tutorial. Site also has tutorials or a wide range o other Web technologies.

    As the worlds leading publisher of science and health information, Elsevier serves more

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://www.scheme.com/http://www.plt-scheme.org/http://schemers.org/Documents/Standards/R5RS/http://ttp//www.r6rs.org/http://www.tcl.tk/http://www.beedub.com/book/http://www.w3.org/Style/XSL/http://www.w3schools.com/xsl/http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://www.w3schools.com/xsl/http://www.w3.org/Style/XSL/http://www.beedub.com/book/http://www.tcl.tk/http://ttp//www.r6rs.org/http://schemers.org/Documents/Standards/R5RS/http://www.plt-scheme.org/http://www.scheme.com/
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    33/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the world s leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Language Resources

    2009 by Elsevier Inc. All rights reserved.

    Learn XSL & XPath utorialA more extensive and detailed XSL tutorial.--------------------------------------------------------------------------------

    Architecture resourcesx86 Assembly Language Reerence Manualx86 Assembly Language Reerence Manual (Sun). Follows the GNU convention o listing thedestination register last.

    MIPSpro Assembly Language Programmers GuideAMD64 Architecture ech DocsTe rst 64-bit extension detailed or the x86 architecture was the AMD64 architecture. IntelsEM64 64-bit extensions or the x86 architecture copied the AMD64 extensions, though some non-substantive changes may emerge between the two over time.

  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    34/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    As the world s leading publisher of science and health information, Elsevier serves morethan 30 million scientists, students, and health and information professionals worldwide.

    Code Samples

    2009 by Elsevier Inc. All rights reserved.

    Te directories below contain source code or most o the nontrivial code ragments in Programming LanguagePragmatics, 3rd edition.

    In most cases the code in the book does not constitute a complete and runnable program, so these have been extended.In general the goal has been to create as small a program as possible that illustrates the eature in question. Te result isnot always good programming style.

    In a ew cases (generally when the point is to observe the behavior o the compiler itsel), the example is just a singlemodule, and will not produce runnable code. Tese must typically be compiled with a -c command-line switch.

    File names and comments at the top o the source indicate the corresponding Example, Figure, or Exercise in the book.Code that appears both as an Example or Exercise and as a Figure is provided in a le named afer the Example.

    Te code samples are grouped by chapter. Chapters that do not contain samples are listed in blue.

    Chapter 1 Introduction Chapter 2 Programming Language Syntax

    Chapter 3 Names, Scopes, and BindingsChapter 4 Semantic AnalysisChapter 5 Target Machine ArchitectureChapter 6 Control Flow

    Chapter 7 Data TypesChapter 8 Subroutines and Control AbstractionChapter 9 Data Abstraction and Object OrientationChapter 10 Functional LanguagesChapter 11 Logic Languages

    Chapter 12 Concurrency Chapter 13 Scripting Languages

    Chapter 14 Building a Runnable Program Chapter 16 Code Improvement

    Click here to view all fragments that have been

    tested using compilers and interpreters.

    As the worlds leading publisher of science and health information, Elsevier serves more

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://www.elsevierdirect.com/product.jsp?isbn=9780123745149
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    35/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    s he world s leading publisher of s ien e and heal h informa ion, lse ier ser es morethan 30 million scientists, students, and health and information professionals worldwide.

    Code Samples

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the contents of each chapter.

    Chapter 1 IntroductionChapter 2 Programming Language Syntax

    Chapter 3 Names, Scopes, and Bindings

    Chapter 4 Semantic Analysis

    Chapter 5 Target Machine Architecture

    Chapter 6 Control Flow

    Chapter 7 Data Types

    Chapter 8 Subroutines and Control AbstractionChapter 9 Data Abstraction & Object Orientation

    Chapter 10 Functional Languages

    Chapter 11 Logic Languages

    Chapter 12 Concurrency

    Chapter 13 Scripting Languages

    Chapter 14 Building a Runnable Program

    Chapter 16 Code Improvement

    Click here to view all fragments that have beentested using compilers and interpreters.

    As the worlds leading publisher of science and health information, Elsevier serves more

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://www.elsevierdirect.com/product.jsp?isbn=9780123745149
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    36/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    g p f f ,than 30 million scientists, students, and health and information professionals worldwide.

    Code Samples

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the contents of each chapter.

    Chapter 1 Introduction

    Example_1.04

    Example_1.05

    Example_1.06

    Example_1.20

    Exercise_1.04

    Chapter 2 Programming Language Syntax

    Chapter 3 Names, Scopes, and BindingsChapter 4 Semantic Analysis

    Chapter 5 Target Machine Architecture

    Chapter 6 Control Flow

    Chapter 7 Data Types

    Chapter 8 Subroutines and Control Abstraction

    Chapter 9 Data Abstraction & Object Orientation

    Chapter 10 Functional Languages

    Chapter 11 Logic LanguagesChapter 12 Concurrency

    Chapter 13 Scripting Languages

    Chapter 14 Building a Runnable Program

    Chapter 16 Code Improvement

    As the worlds leading publisher of science and health information, Elsevier serves more

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://code/01_intro/exer_104/gcd3.txthttp://code/01_intro/exmp_105/gcd.txthttp://code/01_intro/exmp_105/gcd.txthttp://code/01_intro/exmp_106/gcd.txthttp://code/01_intro/exmp_120/gcd2.txthttp://code/01_intro/exmp_104/gcd.txthttp://code/01_intro/exmp_104/gcd.txthttp://code/01_intro/exmp_120/gcd2.txthttp://code/01_intro/exmp_106/gcd.txthttp://code/01_intro/exmp_105/gcd.txthttp://code/01_intro/exer_104/gcd3.txthttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    37/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    g p f fthan 30 million scientists, students, and health and information professionals worldwide.

    Code Samples

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the contents of each chapter.

    Chapter 3 Names, Scopes, and Bindings

    Example 3.04Example 3.07Example 3.08Example 3.10Example 3.11Example 3.12Example 3.13

    Example 3.14Example 3.15Example 3.16

    Example 3.23Examples 3.25 to 3.26Example 3.27Example 3.29Example 3.30Example 3.31Example 3.32

    Example 3.33Examples 3.35Exercise 3.36

    Exercise 3.37Example 3.38Example 3.39-3.40Example 3.42-3.43Example 3.49-3.50Examples 3.51-3.52Exercise_3.07

    Exercise_3.13Exercise_3.15

    Chapter 1 Introduction

    Chapter 2 Programming Language Syntax

    Chapter 4 Semantic Analysis

    Chapter 5 Target Machine Architecture

    Chapter 6 Control Flow

    Chapter 7 Data TypesChapter 8 Subroutines and Control Abstraction

    Chapter 9 Data Abstraction & Object Orientation

    Chapter 10 Functional Languages

    Chapter 11 Logic Languages

    Chapter 12 Concurrency

    Chapter 13 Scripting Languages

    Chapter 14 Building a Runnable Program

    Chapter 16 Code Improvement

    As the worlds leading publisher of science and health information, Elsevier serves more

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://code/03_nmng/exmp_304/label_name.txthttp://code/03_nmng/exmp_307/oops.txthttp://code/03_nmng/exmp_308/oops.txthttp://code/03_nmng/exmp_310/let.txthttp://code/03_nmng/exmp_311/foo.txthttp://code/03_nmng/exmp_312/swap.txthttp://code/03_nmng/exmp_313/stacktest.txthttp://code/03_nmng/exmp_314/stacktest2.txthttp://code/03_nmng/exmp_315/README.txthttp://code/03_nmng/exmp_316/stacks.txthttp://code/03_nmng/exmp_323/alias.txthttp://code/03_nmng/exmp_325_26/overload.txthttp://code/03_nmng/exmp_327/overload.txthttp://code/03_nmng/exmp_329/infix_ops.txthttp://code/03_nmng/exmp_330/coerce_min.txthttp://code/03_nmng/exmp_331/generic_min.txthttp://code/03_nmng/exmp_332/poly_min.txthttp://code/03_nmng/exmp_333/min2.txthttp://code/03_nmng/exmp_335/deep.txthttp://code/03_nmng/exmp_336/fn_rtn.txthttp://code/03_nmng/exmp_337/Closure.txthttp://code/03_nmng/exmp_338/closure.txthttp://code/03_nmng/exmp_339_40/closure.txthttp://code/03_nmng/exmp_342_43/macros.txthttp://code/03_nmng/exmp_349_50/foo.txthttp://code/03_nmng/exmp_351_52/bar1.txthttp://code/03_nmng/exerc_307/mumble.txthttp://code/03_nmng/exerc_313/scope.txthttp://code/03_nmng/exerc_315/Foo.txthttp://code/03_nmng/exerc_315/Foo.txthttp://code/03_nmng/exerc_313/scope.txthttp://code/03_nmng/exerc_307/mumble.txthttp://code/03_nmng/exmp_351_52/bar1.txthttp://code/03_nmng/exmp_349_50/foo.txthttp://code/03_nmng/exmp_342_43/macros.txthttp://code/03_nmng/exmp_339_40/closure.txthttp://code/03_nmng/exmp_338/closure.txthttp://code/03_nmng/exmp_337/Closure.txthttp://code/03_nmng/exmp_336/fn_rtn.txthttp://code/03_nmng/exmp_335/deep.txthttp://code/03_nmng/exmp_333/min2.txthttp://code/03_nmng/exmp_332/poly_min.txthttp://code/03_nmng/exmp_331/generic_min.txthttp://code/03_nmng/exmp_330/coerce_min.txthttp://code/03_nmng/exmp_329/infix_ops.txthttp://code/03_nmng/exmp_327/overload.txthttp://code/03_nmng/exmp_325_26/overload.txthttp://code/03_nmng/exmp_323/alias.txthttp://code/03_nmng/exmp_316/stacks.txthttp://code/03_nmng/exmp_315/README.txthttp://code/03_nmng/exmp_314/stacktest2.txthttp://code/03_nmng/exmp_313/stacktest.txthttp://code/03_nmng/exmp_312/swap.txthttp://code/03_nmng/exmp_311/foo.txthttp://code/03_nmng/exmp_310/let.txthttp://code/03_nmng/exmp_308/oops.txthttp://code/03_nmng/exmp_307/oops.txthttp://code/03_nmng/exmp_304/label_name.txthttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    38/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    g p f fthan 30 million scientists, students, and health and information professionals worldwide.

    Code Samples

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the contents of each chapter.

    Chapter 4 Semantic Analysis

    Example 4.1

    Example 4.2

    Chapter 1 Introduction

    Chapter 2 Programming Language Syntax

    Chapter 3 Names, Scopes, and Bindings

    Chapter 5 Target Machine Architecture

    Chapter 6 Control FlowChapter 7 Data Types

    Chapter 8 Subroutines and Control Abstraction

    Chapter 9 Data Abstraction & Object Orientation

    Chapter 10 Functional Languages

    Chapter 11 Logic Languages

    Chapter 12 Concurrency

    Chapter 13 Scripting Languages

    Chapter 14 Building a Runnable ProgramChapter 16 Code Improvement

    As the worlds leading publisher of science and health information, Elsevier serves more

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://code/04_semn/exmp_401/Myprog.txthttp://code/04_semn/exmp_402/myprog.txthttp://code/04_semn/exmp_402/myprog.txthttp://code/04_semn/exmp_401/Myprog.txthttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    39/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    g p f fthan 30 million scientists, students, and health and information professionals worldwide.

    Code Samples

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the contents of each chapter.

    Chapter 6 Control Flow

    Example 6.14Example 6.15Example 6.17Example 6.18 - 22Examples 6.25Example 6.31Example 6.34

    Examples 6.36Example 6.39Example 6.40

    Examples 6.49Example 6.52Example 6.64Example 6.65Example 6.66Example 6.67Example 6.68

    Example 6.69Example 6.71-72Example 6.73-75

    Examples 6.76 -79Example 6.80Examples 6.81-83Examples 6.84Example 6.85-88Examples 6.90-91Examples 6.93

    Example 6.95Exercise 6.24Exploration 6.38

    Chapter 1 IntroductionChapter 2 Programming Language SyntaxChapter 3 Names, Scopes, and BindingsChapter 4 Semantic AnalysisChapter 5 Target Machine ArchitectureChapter 7 Data Types

    Chapter 8 Subroutines and Control AbstractionChapter 9 Data Abstraction & Object OrientationChapter 10 Functional LanguagesChapter 11 Logic LanguagesChapter 12 ConcurrencyChapter 13 Scripting LanguagesChapter 14 Building a Runnable ProgramChapter 16 Code Improvement

    As the worlds leading publisher of science and health information, Elsevier serves more

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://code/06_cntrl/exmp_614/Wrap.txthttp://code/06_cntrl/exmp_615/Wrap2.txthttp://code/06_cntrl/exmp_617/oops.txthttp://code/06_cntrl/exmp_618-22/assign.txthttp://code/06_cntrl/exmp_625/DefAssign.txthttp://code/06_cntrl/exmp_631/precision.txthttp://code/06_cntrl/exmp_634/short_circuit.txthttp://code/06_cntrl/exmp_636/doc_file.txthttp://code/06_cntrl/exmp_639/first_file.txthttp://code/06_cntrl/exmp_640/catch.txthttp://code/06_cntrl/exmp_649/case_stmt.txthttp://code/06_cntrl/exmp_652/fall_through.txthttp://code/06_cntrl/exmp_664/iter.txthttp://code/06_cntrl/exmp_665/Tree.txthttp://code/06_cntrl/exmp_666/README.txthttp://code/06_cntrl/exmp_667/iter-func.txthttp://code/06_cntrl/exmp_668/iter-block.txthttp://code/06_cntrl/exmp_669/README.txthttp://code/06_cntrl/exmp_671_72/post_test.txthttp://code/06_cntrl/exmp_673_75/mid_test.perl.txthttp://code/06_cntrl/exmp_676_79/iter_rec.txthttp://code/06_cntrl/exmp_680/tail-rec.txthttp://code/06_cntrl/exmp_681_83/fib.txt.chttp://code/06_cntrl/exmp_684/naturals.txthttp://code/06_cntrl/exmp_685_88/generators.txthttp://code/06_cntrl/exmp_690_91/nondeterminism.txthttp://code/06_cntrl/exmp_693/nd_server.txthttp://code/06_cntrl/exmp_695/silly.txthttp://code/06_cntrl/exerc_624/Rubin.txthttp://code/06_cntrl/expl_638/Duff.txthttp://code/06_cntrl/expl_638/Duff.txthttp://code/06_cntrl/exerc_624/Rubin.txthttp://code/06_cntrl/exmp_695/silly.txthttp://code/06_cntrl/exmp_693/nd_server.txthttp://code/06_cntrl/exmp_690_91/nondeterminism.txthttp://code/06_cntrl/exmp_685_88/generators.txthttp://code/06_cntrl/exmp_684/naturals.txthttp://code/06_cntrl/exmp_681_83/fib.txt.chttp://code/06_cntrl/exmp_680/tail-rec.txthttp://code/06_cntrl/exmp_676_79/iter_rec.txthttp://code/06_cntrl/exmp_673_75/mid_test.perl.txthttp://code/06_cntrl/exmp_671_72/post_test.txthttp://code/06_cntrl/exmp_669/README.txthttp://code/06_cntrl/exmp_668/iter-block.txthttp://code/06_cntrl/exmp_667/iter-func.txthttp://code/06_cntrl/exmp_666/README.txthttp://code/06_cntrl/exmp_665/Tree.txthttp://code/06_cntrl/exmp_664/iter.txthttp://code/06_cntrl/exmp_652/fall_through.txthttp://code/06_cntrl/exmp_649/case_stmt.txthttp://code/06_cntrl/exmp_640/catch.txthttp://code/06_cntrl/exmp_639/first_file.txthttp://code/06_cntrl/exmp_636/doc_file.txthttp://code/06_cntrl/exmp_634/short_circuit.txthttp://code/06_cntrl/exmp_631/precision.txthttp://code/06_cntrl/exmp_625/DefAssign.txthttp://code/06_cntrl/exmp_618-22/assign.txthttp://code/06_cntrl/exmp_617/oops.txthttp://code/06_cntrl/exmp_615/Wrap2.txthttp://code/06_cntrl/exmp_614/Wrap.txthttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    40/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    g f fthan 30 million scientists, students, and health and information professionals worldwide.

    Code Samples

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the contents of each chapter.

    Chapter 7 Data Types

    Examples 7.3 to 7.13Examples 7.17 to 7.32Examples 7.35 to 7.39Examples 7.41 to 7.46Examples 7.48 to 7.51Example 7.52Example 7.53

    Example 7.54Example 7.55

    Example 7.56Example 7.57Examples 7.59Examples 7.60Examples 7.68Example 7.69-79Examples 7.80-84

    Examples 7.86-87Examples 7.91-94

    Examples 7.95Examples 7.96 -114Examples 7.117 - 121Examples 7.122 - 133Examples 7.139 -141Examples 7.142-143Examples 7.144 -146

    Examples 7.147-150Exercise 7.25

    Chapter 1 Introduction

    Chapter 2 Programming Language Syntax

    Chapter 3 Names, Scopes, and Bindings

    Chapter 4 Semantic Analysis

    Chapter 5 Target Machine Architecture

    Chapter 6 Control Flow

    Chapter 8 Subroutines and Control AbstractionChapter 9 Data Abstraction & Object Orientation

    Chapter 10 Functional Languages

    Chapter 11 Logic Languages

    Chapter 12 Concurrency

    Chapter 13 Scripting Languages

    Chapter 14 Building a Runnable Program

    Chapter 16 Code Improvement

    As the worlds leading publisher of science and health information, Elsevier serves more

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://code/07_typs/exmp_703_13/ada_defs.txthttp://code/07_typs/exmp_717_32/ada_types.txthttp://code/07_typs/exmp_735_39/ML_types.txthttp://code/07_typs/exmp_741_46/Nested.txthttp://code/07_typs/exmp_748_51/ada_arrays.txthttp://code/07_typs/exmp_752/slices.txthttp://code/07_typs/exmp_753/conformant.txthttp://code/07_typs/exmp_754/square.txthttp://code/07_typs/exmp_755/dynarray.txthttp://code/07_typs/exmp_756/alloc.txthttp://code/07_typs/exmp_757/strings.txthttp://code/07_typs/exmp_759/column_major.txthttp://code/07_typs/exmp_760/layout.txthttp://code/07_typs/exmp_768/sets.txthttp://code/07_typs/exmp_769_79/ada_ptrs.txthttp://code/07_typs/exmp_780_84/C_arraypointers.txthttp://code/07_typs/exmp_786_87/dangling.txthttp://code/07_typs/exmp_791_94/Fsharp_comp.txthttp://code/07_typs/exmp_795/equality.txthttp://code/07_typs/exmp_796_114/ML_types.txthttp://code/07_typs/exmp_7117-121/C_with.txthttp://code/07_typs/exmp_7122-133/derived.txthttp://code/07_typs/exmp_7139-141/tio.txthttp://code/07_typs/exmp_7142_143/out.txthttp://code/07_typs/exmp_7144-146/tio.txthttp://code/07_typs/exmp_7147-150/tio.txthttp://code/07_typs/exerc_725/recursive.txthttp://code/07_typs/exerc_725/recursive.txthttp://code/07_typs/exmp_7147-150/tio.txthttp://code/07_typs/exmp_7144-146/tio.txthttp://code/07_typs/exmp_7142_143/out.txthttp://code/07_typs/exmp_7139-141/tio.txthttp://code/07_typs/exmp_7122-133/derived.txthttp://code/07_typs/exmp_7117-121/C_with.txthttp://code/07_typs/exmp_796_114/ML_types.txthttp://code/07_typs/exmp_795/equality.txthttp://code/07_typs/exmp_791_94/Fsharp_comp.txthttp://code/07_typs/exmp_786_87/dangling.txthttp://code/07_typs/exmp_780_84/C_arraypointers.txthttp://code/07_typs/exmp_769_79/ada_ptrs.txthttp://code/07_typs/exmp_768/sets.txthttp://code/07_typs/exmp_760/layout.txthttp://code/07_typs/exmp_759/column_major.txthttp://code/07_typs/exmp_757/strings.txthttp://code/07_typs/exmp_756/alloc.txthttp://code/07_typs/exmp_755/dynarray.txthttp://code/07_typs/exmp_754/square.txthttp://code/07_typs/exmp_753/conformant.txthttp://code/07_typs/exmp_752/slices.txthttp://code/07_typs/exmp_748_51/ada_arrays.txthttp://code/07_typs/exmp_741_46/Nested.txthttp://code/07_typs/exmp_735_39/ML_types.txthttp://code/07_typs/exmp_717_32/ada_types.txthttp://code/07_typs/exmp_703_13/ada_defs.txthttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    41/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    than 30 million scientists, students, and health and information professionals worldwide.

    Code Samples

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the contents of each chapter.

    Chapter 8 Subroutines and Control Abstraction

    Examples 8.6 to 8.7Examples 8.08Examples 8.13Example 8.15-17Example 8.18-21Example 8.23-24Examples 8.25-27

    Example 8.29Examples 8.30

    Example 8.31Example 8.32Examples 8.36-39Exercise 8.44-53Exercise 8.59-62Exercise 8.68Exercise 8.69-70

    Exercise 8.71-72Exercise 8.73-75

    Example 8.77-78Example 8.81-82Exercise 8.02Exercise 8.04Exercise 8.13Exercise 8.24Exercise 8.25

    Exercise 8.32Exercise 8.44

    Chapter 1 IntroductionChapter 2 Programming Language SyntaxChapter 3 Names, Scopes, and BindingsChapter 4 Semantic AnalysisChapter 5 Target Machine ArchitectureChapter 6 Control FlowChapter 7 Data Types

    Chapter 9 Data Abstraction & Object OrientationChapter 10 Functional LanguagesChapter 11 Logic LanguagesChapter 12 ConcurrencyChapter 13 Scripting LanguagesChapter 14 Building a Runnable ProgramChapter 16 Code Improvement

    As the worlds leading publisher of science and health information, Elsevier serves moreh ll d d h l h d f f l ld d

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://code/08_sub/exmp_806_07/ada_inline.txthttp://code/08_sub/exmp_808/infix.txthttp://code/08_sub/exmp_813/pass_pointer.txthttp://code/08_sub/exmp_815_17/Cpp_refs.txthttp://code/08_sub/exmp_818_21/C_apply.txthttp://code/08_sub/exmp_823_24/named_args.txthttp://code/08_sub/exmp_825_27/C_varargs.txthttp://code/08_sub/exmp_829/rtn.txthttp://code/08_sub/exmp_830/A_max.txthttp://code/08_sub/exmp_831/rtn.txthttp://code/08_sub/exmp_832/ada_queue.txthttp://code/08_sub/exmp_836_39/ada_sorting.txthttp://code/08_sub/exerc_844/list_coercion.txthttp://code/08_sub/exmp_859_62/Events.txthttp://code/08_sub/exmp_868/README.txthttp://code/08_sub/exmp_869_70/best.txthttp://code/08_sub/exmp_871_72/Best.txthttp://code/08_sub/exmp_873_75/Erasure.txthttp://code/08_sub/exmp_877_78/Best.txthttp://code/08_sub/exmp_881_82/IterTest.txthttp://code/08_sub/exerc_802/string_map.txthttp://code/08_sub/exerc_804/bad.txthttp://code/08_sub/exerc_813/packing.txthttp://code/08_sub/exerc_824/conformance.txthttp://code/08_sub/exerc_825/apply.txthttp://code/08_sub/exerc_832/signal_demo.txthttp://code/08_sub/exerc_844/list_coercion.txthttp://code/08_sub/exerc_844/list_coercion.txthttp://code/08_sub/exerc_832/signal_demo.txthttp://code/08_sub/exerc_825/apply.txthttp://code/08_sub/exerc_824/conformance.txthttp://code/08_sub/exerc_813/packing.txthttp://code/08_sub/exerc_804/bad.txthttp://code/08_sub/exerc_802/string_map.txthttp://code/08_sub/exmp_881_82/IterTest.txthttp://code/08_sub/exmp_877_78/Best.txthttp://code/08_sub/exmp_873_75/Erasure.txthttp://code/08_sub/exmp_871_72/Best.txthttp://code/08_sub/exmp_869_70/best.txthttp://code/08_sub/exmp_868/README.txthttp://code/08_sub/exmp_859_62/Events.txthttp://code/08_sub/exerc_844/list_coercion.txthttp://code/08_sub/exmp_836_39/ada_sorting.txthttp://code/08_sub/exmp_832/ada_queue.txthttp://code/08_sub/exmp_831/rtn.txthttp://code/08_sub/exmp_830/A_max.txthttp://code/08_sub/exmp_829/rtn.txthttp://code/08_sub/exmp_825_27/C_varargs.txthttp://code/08_sub/exmp_823_24/named_args.txthttp://code/08_sub/exmp_818_21/C_apply.txthttp://code/08_sub/exmp_815_17/Cpp_refs.txthttp://code/08_sub/exmp_813/pass_pointer.txthttp://code/08_sub/exmp_808/infix.txthttp://code/08_sub/exmp_806_07/ada_inline.txthttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    42/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    than 30 million scientists, students, and health and information professionals worldwide.

    Code Samples

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the contents of each chapter.

    Chapter 9 Data Abstraction & Object Orientation

    Examples 9.1 to 9.7Examples 9.06Example 9.08-11Example 9.17Examples 9.19Example 9.20Examples 9.21

    Example 9.27-28

    Examples 9.30Examples 9.31-38Examples 9.36Examples 9.42Examples 9.44 -45Example 9.47-48Examples 9.54-55

    Examples 9.56-57

    Examples 9.59Example 9.60Examples 9.62Examples 9.66-71Exercise 9.15Exercise 9.27

    Chapter 1 IntroductionChapter 2 Programming Language SyntaxChapter 3 Names, Scopes, and BindingsChapter 4 Semantic Analysis

    Chapter 5 Target Machine Architecture

    Chapter 6 Control Flow

    Chapter 7 Data Types

    Chapter 8 Subroutines and Control AbstractionChapter 10 Functional Languages

    Chapter 11 Logic Languages

    Chapter 12 Concurrency

    Chapter 13 Scripting Languages

    Chapter 14 Building a Runnable Program

    Chapter 16 Code Improvement

    As the worlds leading publisher of science and health information, Elsevier serves moreh ll d d h l h d f f l ld d

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://code/09_objct/exmp_901_07/list.txthttp://code/09_objct/exmp_906/get_set.txthttp://code/09_objct/exmp_908_11/gp_list.txthttp://code/09_objct/exmp_917/README.txthttp://code/09_objct/exmp_919/Nested.txthttp://code/09_objct/exmp_920/gp_list.txthttp://code/09_objct/exmp_921/extension.txthttp://code/09_objct/exmp_927_28/class_args.txthttp://code/09_objct/exmp_930/name_list.txthttp://code/09_objct/exmp_931_38/people.txthttp://code/09_objct/exmp_936/people.txthttp://code/09_objct/exmp_942/casts.txthttp://code/09_objct/exmp_944_45/generic_list.txthttp://code/09_objct/exmp_947_48/closure.txthttp://code/09_objct/exmp_954_55/people.txthttp://code/09_objct/exmp_956_57/repeated_people.txthttp://code/09_objct/exmp_959/replicated.txthttp://code/09_objct/exmp_960/shared.txthttp://code/09_objct/exmp_962/Mixins.txthttp://code/09_objct/exmp_966_71/examples.txthttp://code/09_objct/exerc_915/Ping.txthttp://code/09_objct/exerc_927/mem_ptr.txthttp://code/09_objct/exerc_927/mem_ptr.txthttp://code/09_objct/exerc_915/Ping.txthttp://code/09_objct/exmp_966_71/examples.txthttp://code/09_objct/exmp_962/Mixins.txthttp://code/09_objct/exmp_960/shared.txthttp://code/09_objct/exmp_959/replicated.txthttp://code/09_objct/exmp_956_57/repeated_people.txthttp://code/09_objct/exmp_954_55/people.txthttp://code/09_objct/exmp_947_48/closure.txthttp://code/09_objct/exmp_944_45/generic_list.txthttp://code/09_objct/exmp_942/casts.txthttp://code/09_objct/exmp_936/people.txthttp://code/09_objct/exmp_931_38/people.txthttp://code/09_objct/exmp_930/name_list.txthttp://code/09_objct/exmp_927_28/class_args.txthttp://code/09_objct/exmp_921/extension.txthttp://code/09_objct/exmp_920/gp_list.txthttp://code/09_objct/exmp_919/Nested.txthttp://code/09_objct/exmp_917/README.txthttp://code/09_objct/exmp_908_11/gp_list.txthttp://code/09_objct/exmp_906/get_set.txthttp://code/09_objct/exmp_901_07/list.txthttp://www.elsevierdirect.com/product.jsp?isbn=9780123745149
  • 7/30/2019 CD-ROM Menu Bonus Content and Exercises

    43/50

    Home

    Using This CD

    Chapters

    CD Sections

    Exercises

    Explorations

    Resources

    Code Samples

    Companion Site

    than 30 million scientists, students, and health and information professionals worldwide.

    Code Samples

    2009 by Elsevier Inc. All rights reserved.

    Click on the links below to see the contents of each chapter.

    Chapter 10 Functional Languages

    Examples 10.01-19Example 10.21Examples 10.22-23Examples 10.25-26Examples 10.27-28Examples 10.29

    Examples 10.31-33Exercise 10.34-42Exercise 10.05Exercise 10.06Exercise 10.11Exercise 10.16

    Chapter 1 Introduction

    Chapter 2 Programming Language SyntaxChapter 3 Names, Scopes, and Bindings

    Chapter 4 Semantic Analysis

    Chapter 5 Target Machine Architecture

    Chapter 6 Control Flow

    Chapter 7 Data Types

    Chapter 8 Subroutines and Control Abstraction

    Chapter 9 Data Abstraction & Object Orientation

    Chapter 11 Logic Languages

    Chapter 12 Concurrency

    Chapter 13 Scripting Languages

    Chapter 14 Building a Runnable Program

    Chapter 16 Code Improvement

    As the worlds leading publisher of science and health information, Elsevier serves moreh 30 illi i i d d h l h d i f i f i l ld id

    http://www.elsevierdirect.com/product.jsp?isbn=9780123745149http://code/10_funct/exmp_1001_19/scheme_basics.txthttp://code/10_funct/exmp_1021/dfa.txthttp://code/10_funct/exmp_1022_23/eval_order.txthttp://code/10_funct/exmp_1025_26/README.txthttp://code/10_funct/exmp_1027_28/rand.txthttp://code/10_funct/exmp_1029/composition.txthttp://code/10_funct/exmp_1031_33/higher_functions.txthttp://code/10_funct/exmp_1034_42/curry.txthttp://code/10_funct/exerc_1005/unique.txthttp://code/10_funct/exerc_1006/tail_rec.txthttp://code/10_funct/exerc_1011/delayed.txthttp://code/10_funct/exerc_1016/parse_gen.txthttp://code/10_funct/exerc_1016/parse_gen.txthttp://code/10_funct/exerc_1011/delayed.txthttp://code/10_funct/exerc_1006/tail_rec.txthttp://code/10_funct/exerc_1005/unique.txthttp://code/10_funct/exmp_1034_42/curry.txthttp://code/10_funct/exmp_1031_33/higher_functions.txthttp://code/10_funct/exmp_1029/composition.txthttp://code/10_funct/exmp_1027_28/rand.txthttp://code/10_funct/exmp_1025_26/README.txthttp://code/10_funct/exmp_1022_23/eval_order.txthttp://code/10_funct/exmp_1021/dfa.txthttp://code/10_funct/exmp_1001_19/scheme_basics.txthttp://www.elsevi