Inside PLT MzScheme

How to Design Programs: An Introduction to Programming and Computing

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Inside PLT MzScheme Matthew Flatt ([email protected]) 372 Released December 2007 Copyright notice Copyright c 1995-2007 Matthew Flatt Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Library General Public License, Version 2 published by the Free Software Foundation. A copy of the license is included in the appendix entitled “License.” libscheme: Copyright c 1994 Brent Benson. All rights reserved. Conservative garbage collector: Copyright c 1988, 1989 Hans-J. Boehm, Alan J. Demers. Copyright c 1991-1996 by Xerox Corporation. Copyright c 1996-1999 by Silicon Graphics. Copyright c 1999-2001 by Hewlett Packard Company. All rights reserved. Collector C++ extension by Jesse Hull and John Ellis: Copyright c 1994 by Xerox Corporation. All rights reserved. Send us your Web links If you use any parts or all of the PLT Scheme package (software, lecture notes) for one of your courses, for your research, or for your work, we would like to know about it. Furthermore, if you use it and publicize the fact on some Web page, we would like to link to that page. Please drop us a line at [email protected] . Evidence of interest helps the DrScheme Project to maintain the necessary intellectual and financial support. We appreciate your help. Thanks Some typesetting macros were originally taken from Julian Smart’s Reference Manual for wxWindows 1.60: a portable C++ GUI toolkit . Contents 1 Overview 1 1.1 CGC versus 3m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Writing MzScheme Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2.1 CGC Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2.2 3m Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Embedding MzScheme into a Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3.1 CGC Embedding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3.2 3m Embedding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4 MzScheme and Threads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.5 MzScheme, Unicode, Characters, and Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.6 Integers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2 Values and Types 9 2.1 Standard Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.2 Global Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.3 Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.4 Library Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .....
View Full Document

This test prep was uploaded on 02/06/2008 for the course CS 536 taught by Professor Fisler during the Fall '07 term at WPI.

Page1 / 102

Inside PLT MzScheme - Inside PLT MzScheme Matthew Flatt

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online