Implementation of icon, yet another free book.

This commit is contained in:
espie 2003-12-22 01:34:18 +00:00
parent 14a9002239
commit 0b0c90232a
4 changed files with 86 additions and 0 deletions

View File

@ -0,0 +1,42 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/12/22 01:34:18 espie Exp $
CATEGORIES= books lang
COMMENT= 'Icon language implemention reference book'
MAINTAINER= Marc Espie <espie@openbsd.org>
MASTER_SITES= http://www.cs.arizona.edu/icon/ftp/doc/
# This documents version 9.3 of the language.
V=6
DISTNAME= icon-book-$V
FLAVORS=two_sided
FLAVOR?=
.if ${FLAVOR:L} == "two_sided"
DISTFILES= ib2up.pdf
FULLPKGNAME= implementation-of-icon-two_sided-$V
.else
DISTFILES= ib1up.pdf
FULLPKGNAME= implementation-of-icon-$V
.endif
SUPDISTFILES= ib1up.pdf ib2up.pdf
# Book says:
# 'This book originally was published by Princeton University Press.
# It is out of print and the rights have reverted to the authors, who hereby
# place it in the public domain'.
PERMIT_PACKAGE_FTP=Yes
PERMIT_PACKAGE_CDROM=Yes
PERMIT_DISTFILES_FTP=Yes
PERMIT_DISTFILES_CDROM=Yes
EXTRACT_ONLY=
NO_BUILD=Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/icon
${INSTALL_DATA} ${FULLDISTDIR}/${DISTFILES} ${PREFIX}/share/doc/icon/implementation-of-icon${FLAVOR_EXT}.pdf
.include <bsd.port.mk>

View File

@ -0,0 +1,6 @@
MD5 (ib1up.pdf) = 8507fe5602591de5b6aa3a1aeb54edee
MD5 (ib2up.pdf) = 7f0c9704418f1abe08d07878f8a1f846
RMD160 (ib1up.pdf) = 118706a954d00a395e11c4b652ac00b5285409a3
RMD160 (ib2up.pdf) = 4087ab5f680c17cfab27832a3ef03eb0d13a6208
SHA1 (ib1up.pdf) = f886bacae128137bab24fb18c5fb9e9fe476d159
SHA1 (ib2up.pdf) = aba0f8d09f51a3be900525db246d4d59c105c9a1

View File

@ -0,0 +1,34 @@
This is the reference book for the implementation of the Icon
programming language. Even though it was written for Icon 6,
it is still relevant to the current implementation.
This is a pdf document, so get a pdf viewer to use it.
This book is old enough to have been scanned off the printed material.
The resulting pdf is not of very high quality.
Chapters
Introduction
Icon Language Overview
Organization of the Implementation
Values and Variables
Strings and Csets
Lists
Sets and Tables
The Interpreter
Expression Evaluation
Functions, Procedures, and Co-Expressions
Storage Management
Run-Time Support Operations
Appendices
Data Structures
Virtual machine Instructions
Virtual Machine Code
Adding Functions and Data Types
Projects
Solution to Selected Exercises
References
Index
Flavor:
two-sided: reduced version of the book (two pages per physical page)

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/12/22 01:34:18 espie Exp $
@option no-default-conflict
share/doc/icon/implementation-of-icon${FLAVOR_EXT}.pdf
@dirrm share/doc/icon