diff options
author | itojun <itojun> | 2000-11-02 04:52:13 +0000 |
---|---|---|
committer | itojun <itojun> | 2000-11-02 04:52:13 +0000 |
commit | 4e3368631191e280d47affa35b1f78d5637806db (patch) | |
tree | 382b6ebec827688e1e51d368f6576d8a699fcf9d /lang/minischeme | |
parent | e0022c48320be0d52938b1687231f61b248f672e (diff) | |
download | pkgsrc-4e3368631191e280d47affa35b1f78d5637806db.tar.gz |
minischeme, very tiny scheme interpreter
Diffstat (limited to 'lang/minischeme')
-rw-r--r-- | lang/minischeme/Makefile | 20 | ||||
-rw-r--r-- | lang/minischeme/files/md5 | 3 | ||||
-rw-r--r-- | lang/minischeme/files/patch-sum | 3 | ||||
-rw-r--r-- | lang/minischeme/patches/patch-aa | 13 | ||||
-rw-r--r-- | lang/minischeme/pkg/COMMENT | 1 | ||||
-rw-r--r-- | lang/minischeme/pkg/DESCR | 15 | ||||
-rw-r--r-- | lang/minischeme/pkg/PLIST | 6 |
7 files changed, 61 insertions, 0 deletions
diff --git a/lang/minischeme/Makefile b/lang/minischeme/Makefile new file mode 100644 index 00000000000..c75dd35265f --- /dev/null +++ b/lang/minischeme/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/11/02 04:52:13 itojun Exp $ + +DISTNAME= minischeme +PKGNAME= minischeme-0.85 +CATEGORIES= lang +MASTER_SITES= ftp://ftp.cs.indiana.edu/pub/scheme-repository/imp/ + +MAINTAINER= packages@netbsd.org + +post-extract: + ${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/miniscm ${PREFIX}/bin + ${MKDIR} ${PREFIX}/share/minischeme + for i in init.scm nextleaf.scm tools.scm; do \ + ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/minischeme; \ + done + +.include "../../mk/bsd.pkg.mk" diff --git a/lang/minischeme/files/md5 b/lang/minischeme/files/md5 new file mode 100644 index 00000000000..51ab98d8977 --- /dev/null +++ b/lang/minischeme/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/11/02 04:52:13 itojun Exp $ + +MD5 (minischeme.tar.gz) = 65d7f82ff0de046ad73f92be2411ab06 diff --git a/lang/minischeme/files/patch-sum b/lang/minischeme/files/patch-sum new file mode 100644 index 00000000000..3d44133050a --- /dev/null +++ b/lang/minischeme/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/11/02 04:52:13 itojun Exp $ + +MD5 (patch-aa) = 09fe68e17c593ed31623d79927c34742 diff --git a/lang/minischeme/patches/patch-aa b/lang/minischeme/patches/patch-aa new file mode 100644 index 00000000000..658a5976b0d --- /dev/null +++ b/lang/minischeme/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/11/02 04:52:13 itojun Exp $ + +--- Makefile- Thu Nov 2 13:44:52 2000 ++++ Makefile Thu Nov 2 13:45:03 2000 +@@ -6,7 +6,7 @@ + # Please see source and/or README for system defition + # + #CFLAGS = -g -DSYSV -traditional -traditional-cpp -Wid-clash-8 +-CFLAGS = -O -DSYSV ++CFLAGS += -O -DBSD + + all : miniscm + diff --git a/lang/minischeme/pkg/COMMENT b/lang/minischeme/pkg/COMMENT new file mode 100644 index 00000000000..2c42accf9d3 --- /dev/null +++ b/lang/minischeme/pkg/COMMENT @@ -0,0 +1 @@ +Very tiny scheme interpreter diff --git a/lang/minischeme/pkg/DESCR b/lang/minischeme/pkg/DESCR new file mode 100644 index 00000000000..8af482046e5 --- /dev/null +++ b/lang/minischeme/pkg/DESCR @@ -0,0 +1,15 @@ +This Mini-Scheme Interpreter is based on "SCHEME Interpreter in +Common Lisp" in Appendix of T.Matsuda & K.Saigo, Programming of LISP, +archive No5 (1987) p6 - p42 (published in Japan). + + Supported features (or, NOT supported features :-) + 1) Lists, symbols, strings. + However, strings have very limited capability. + For instance, there is *NO* string-ref, string-set!, ... etc. + 2) Numbers are limited to FIXNUM only. + There is *NO* complex, real, rational and even bignum. + 3) Macro feature is supported, though not the one defined in R4RS. + + Known problems: + 1) Poor error recovery from illegal use of syntax and procedure. + 2) Certain procedures do not check its argument type. diff --git a/lang/minischeme/pkg/PLIST b/lang/minischeme/pkg/PLIST new file mode 100644 index 00000000000..8deedb40cf5 --- /dev/null +++ b/lang/minischeme/pkg/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/11/02 04:52:13 itojun Exp $ +bin/miniscm +share/minischeme/init.scm +share/minischeme/nextleaf.scm +share/minischeme/tools.scm +@dirrm share/minischeme |