Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/chibi-scheme chibi-scheme: Import chibi-scheme-0....
details: https://anonhg.NetBSD.org/pkgsrc/rev/9c708247fd05
branches: trunk
changeset: 431149:9c708247fd05
user: leot <leot%pkgsrc.org@localhost>
date: Sat May 09 19:07:00 2020 +0000
description:
chibi-scheme: Import chibi-scheme-0.8.0 as lang/chibi-scheme
Chibi-Scheme is a very small library intended for use as an extension
and scripting language in C programs. In addition to support for
lightweight VM-based threads, each VM itself runs in an isolated heap
allowing multiple VMs to run simultaneously in different OS threads.
The default repl language contains all bindings from R7RS small,
available explicitly as the (scheme small) library.
Support for additional languages such as JavaScript, Go, Lua and Bash
are planned for future releases. Scheme is chosen as a substrate
because its first class continuations and guaranteed tail-call
optimization makes implementing other languages easy.
diffstat:
lang/chibi-scheme/DESCR | 12 +
lang/chibi-scheme/Makefile | 30 +
lang/chibi-scheme/PLIST | 402 +++++++++++++++++++++
lang/chibi-scheme/distinfo | 8 +
lang/chibi-scheme/patches/patch-Makefile | 24 +
lang/chibi-scheme/patches/patch-lib_chibi_signal.c | 16 +
6 files changed, 492 insertions(+), 0 deletions(-)
diffs (truncated from 516 to 300 lines):
diff -r 05010f8b6821 -r 9c708247fd05 lang/chibi-scheme/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/chibi-scheme/DESCR Sat May 09 19:07:00 2020 +0000
@@ -0,0 +1,12 @@
+Chibi-Scheme is a very small library intended for use as an extension
+and scripting language in C programs. In addition to support for
+lightweight VM-based threads, each VM itself runs in an isolated heap
+allowing multiple VMs to run simultaneously in different OS threads.
+
+The default repl language contains all bindings from R7RS small,
+available explicitly as the (scheme small) library.
+
+Support for additional languages such as JavaScript, Go, Lua and Bash
+are planned for future releases. Scheme is chosen as a substrate
+because its first class continuations and guaranteed tail-call
+optimization makes implementing other languages easy.
diff -r 05010f8b6821 -r 9c708247fd05 lang/chibi-scheme/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/chibi-scheme/Makefile Sat May 09 19:07:00 2020 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2020/05/09 19:07:00 leot Exp $
+
+DISTNAME= chibi-scheme-0.8.0
+CATEGORIES= lang
+MASTER_SITES= http://synthcode.com/scheme/chibi/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://synthcode.com/wiki/chibi-scheme
+COMMENT= Minimal Scheme Implementation for use as an Extension Language
+LICENSE= modified-bsd
+
+USE_TOOLS+= gmake pkg-config
+
+PKGCONFIG_OVERRIDE+= chibi-scheme.pc.in
+
+REPLACE_INTERPRETER+= chibi-scheme
+REPLACE.chibi-scheme.old= chibi-scheme
+REPLACE.chibi-scheme.new= ${PREFIX}/bin/chibi-scheme
+REPLACE_FILES.chibi-scheme+= tools/chibi-doc tools/chibi-ffi
+REPLACE_FILES.chibi-scheme+= tools/snow-chibi tools/snow-chibi.scm
+
+CFLAGS.NetBSD+= -D_KMEMUSER # Needed for kinfo_proc in <sys/sysctl.h>
+
+MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}/man1
+MAKE_ENV+= PREFIX=${PREFIX}
+
+TEST_TARGET= test
+
+.include "../../mk/bsd.pkg.mk"
diff -r 05010f8b6821 -r 9c708247fd05 lang/chibi-scheme/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/chibi-scheme/PLIST Sat May 09 19:07:00 2020 +0000
@@ -0,0 +1,402 @@
+@comment $NetBSD: PLIST,v 1.1 2020/05/09 19:07:00 leot Exp $
+bin/chibi-doc
+bin/chibi-ffi
+bin/chibi-scheme
+bin/snow-chibi
+bin/snow-chibi.scm
+include/chibi/bignum.h
+include/chibi/eval.h
+include/chibi/features.h
+include/chibi/gc_heap.h
+include/chibi/install.h
+include/chibi/sexp.h
+lib/chibi/chibi/ast.so
+lib/chibi/chibi/crypto/crypto.so
+lib/chibi/chibi/disasm.so
+lib/chibi/chibi/emscripten.so
+lib/chibi/chibi/filesystem.so
+lib/chibi/chibi/heap-stats.so
+lib/chibi/chibi/io/io.so
+lib/chibi/chibi/net.so
+lib/chibi/chibi/optimize/profile.so
+lib/chibi/chibi/optimize/rest.so
+lib/chibi/chibi/process.so
+lib/chibi/chibi/stty.so
+lib/chibi/chibi/system.so
+lib/chibi/chibi/time.so
+lib/chibi/chibi/weak.so
+lib/chibi/scheme/time.so
+lib/chibi/srfi/144/math.so
+lib/chibi/srfi/151/bit.so
+lib/chibi/srfi/18/threads.so
+lib/chibi/srfi/27/rand.so
+lib/chibi/srfi/39/param.so
+lib/chibi/srfi/69/hash.so
+lib/chibi/srfi/95/qsort.so
+lib/chibi/srfi/98/env.so
+lib/libchibi-scheme.so
+lib/libchibi-scheme.so.0
+lib/libchibi-scheme.so.${PKGVERSION}
+lib/pkgconfig/chibi-scheme.pc
+man/man1/chibi-doc.1
+man/man1/chibi-ffi.1
+man/man1/chibi-scheme.1
+share/chibi/.chibi.meta
+share/chibi/.scheme.meta
+share/chibi/.srfi.meta
+share/chibi/chibi.img
+share/chibi/chibi/app-test.sld
+share/chibi/chibi/app.scm
+share/chibi/chibi/app.sld
+share/chibi/chibi/ast.scm
+share/chibi/chibi/ast.sld
+share/chibi/chibi/base64-test.sld
+share/chibi/chibi/base64.scm
+share/chibi/chibi/base64.sld
+share/chibi/chibi/binary-record-chicken.scm
+share/chibi/chibi/binary-record.scm
+share/chibi/chibi/binary-record.sld
+share/chibi/chibi/binary-types.scm
+share/chibi/chibi/bytevector.scm
+share/chibi/chibi/bytevector.sld
+share/chibi/chibi/channel.scm
+share/chibi/chibi/channel.sld
+share/chibi/chibi/char-set.sld
+share/chibi/chibi/char-set/ascii.scm
+share/chibi/chibi/char-set/ascii.sld
+share/chibi/chibi/char-set/base.sld
+share/chibi/chibi/char-set/boundary.scm
+share/chibi/chibi/char-set/boundary.sld
+share/chibi/chibi/char-set/extras.scm
+share/chibi/chibi/char-set/extras.sld
+share/chibi/chibi/char-set/full.scm
+share/chibi/chibi/char-set/full.sld
+share/chibi/chibi/config.scm
+share/chibi/chibi/config.sld
+share/chibi/chibi/crypto/md5-test.sld
+share/chibi/chibi/crypto/md5.scm
+share/chibi/chibi/crypto/md5.sld
+share/chibi/chibi/crypto/rsa-test.sld
+share/chibi/chibi/crypto/rsa.scm
+share/chibi/chibi/crypto/rsa.sld
+share/chibi/chibi/crypto/sha2-native.scm
+share/chibi/chibi/crypto/sha2-test.sld
+share/chibi/chibi/crypto/sha2.scm
+share/chibi/chibi/crypto/sha2.sld
+share/chibi/chibi/disasm.sld
+share/chibi/chibi/doc-test.sld
+share/chibi/chibi/doc.scm
+share/chibi/chibi/doc.sld
+share/chibi/chibi/emscripten.scm
+share/chibi/chibi/emscripten.sld
+share/chibi/chibi/equiv.scm
+share/chibi/chibi/equiv.sld
+share/chibi/chibi/filesystem-test.sld
+share/chibi/chibi/filesystem.scm
+share/chibi/chibi/filesystem.sld
+share/chibi/chibi/generic-test.sld
+share/chibi/chibi/generic.scm
+share/chibi/chibi/generic.sld
+share/chibi/chibi/heap-stats.sld
+share/chibi/chibi/highlight.scm
+share/chibi/chibi/highlight.sld
+share/chibi/chibi/io-test.sld
+share/chibi/chibi/io.sld
+share/chibi/chibi/io/io.scm
+share/chibi/chibi/iset-test.sld
+share/chibi/chibi/iset.sld
+share/chibi/chibi/iset/base.scm
+share/chibi/chibi/iset/base.sld
+share/chibi/chibi/iset/constructors.scm
+share/chibi/chibi/iset/constructors.sld
+share/chibi/chibi/iset/iterators.scm
+share/chibi/chibi/iset/iterators.sld
+share/chibi/chibi/iset/optimize.scm
+share/chibi/chibi/iset/optimize.sld
+share/chibi/chibi/log-test.sld
+share/chibi/chibi/log.scm
+share/chibi/chibi/log.sld
+share/chibi/chibi/loop-test.sld
+share/chibi/chibi/loop.sld
+share/chibi/chibi/loop/loop.scm
+share/chibi/chibi/match-test.sld
+share/chibi/chibi/match.sld
+share/chibi/chibi/match/match.scm
+share/chibi/chibi/math/prime-test.sld
+share/chibi/chibi/math/prime.scm
+share/chibi/chibi/math/prime.sld
+share/chibi/chibi/memoize-test.sld
+share/chibi/chibi/memoize.scm
+share/chibi/chibi/memoize.sld
+share/chibi/chibi/mime-test.sld
+share/chibi/chibi/mime.scm
+share/chibi/chibi/mime.sld
+share/chibi/chibi/modules.scm
+share/chibi/chibi/modules.sld
+share/chibi/chibi/monad/environment.scm
+share/chibi/chibi/monad/environment.sld
+share/chibi/chibi/net.scm
+share/chibi/chibi/net.sld
+share/chibi/chibi/net/http-server.scm
+share/chibi/chibi/net/http-server.sld
+share/chibi/chibi/net/http.scm
+share/chibi/chibi/net/http.sld
+share/chibi/chibi/net/server-util.scm
+share/chibi/chibi/net/server-util.sld
+share/chibi/chibi/net/server.scm
+share/chibi/chibi/net/server.sld
+share/chibi/chibi/net/servlet.scm
+share/chibi/chibi/net/servlet.sld
+share/chibi/chibi/numeric-test.sld
+share/chibi/chibi/optimize.scm
+share/chibi/chibi/optimize.sld
+share/chibi/chibi/optimize/profile.scm
+share/chibi/chibi/optimize/profile.sld
+share/chibi/chibi/optimize/rest.scm
+share/chibi/chibi/optimize/rest.sld
+share/chibi/chibi/optional.scm
+share/chibi/chibi/optional.sld
+share/chibi/chibi/parse-test.sld
+share/chibi/chibi/parse.sld
+share/chibi/chibi/parse/common.scm
+share/chibi/chibi/parse/common.sld
+share/chibi/chibi/parse/parse.scm
+share/chibi/chibi/pathname-test.sld
+share/chibi/chibi/pathname.scm
+share/chibi/chibi/pathname.sld
+share/chibi/chibi/process-test.sld
+share/chibi/chibi/process.scm
+share/chibi/chibi/process.sld
+share/chibi/chibi/quoted-printable-test.sld
+share/chibi/chibi/quoted-printable.scm
+share/chibi/chibi/quoted-printable.sld
+share/chibi/chibi/regexp-test.sld
+share/chibi/chibi/regexp.scm
+share/chibi/chibi/regexp.sld
+share/chibi/chibi/regexp/pcre.scm
+share/chibi/chibi/regexp/pcre.sld
+share/chibi/chibi/reload.scm
+share/chibi/chibi/reload.sld
+share/chibi/chibi/repl.scm
+share/chibi/chibi/repl.sld
+share/chibi/chibi/scribble-test.sld
+share/chibi/chibi/scribble.scm
+share/chibi/chibi/scribble.sld
+share/chibi/chibi/show-test.sld
+share/chibi/chibi/show.sld
+share/chibi/chibi/show/base.scm
+share/chibi/chibi/show/base.sld
+share/chibi/chibi/show/c-test.sld
+share/chibi/chibi/show/c.scm
+share/chibi/chibi/show/c.sld
+share/chibi/chibi/show/color.scm
+share/chibi/chibi/show/color.sld
+share/chibi/chibi/show/column.scm
+share/chibi/chibi/show/column.sld
+share/chibi/chibi/show/pretty.scm
+share/chibi/chibi/show/pretty.sld
+share/chibi/chibi/show/show.scm
+share/chibi/chibi/show/unicode.scm
+share/chibi/chibi/show/unicode.sld
+share/chibi/chibi/show/write.scm
+share/chibi/chibi/snow/commands.scm
+share/chibi/chibi/snow/commands.sld
+share/chibi/chibi/snow/fort.scm
+share/chibi/chibi/snow/fort.sld
+share/chibi/chibi/snow/interface.scm
+share/chibi/chibi/snow/interface.sld
+share/chibi/chibi/snow/package.scm
+share/chibi/chibi/snow/package.sld
+share/chibi/chibi/snow/utils.scm
+share/chibi/chibi/snow/utils.sld
+share/chibi/chibi/string-test.sld
+share/chibi/chibi/string.scm
+share/chibi/chibi/string.sld
+share/chibi/chibi/stty.scm
+share/chibi/chibi/stty.sld
+share/chibi/chibi/sxml.scm
+share/chibi/chibi/sxml.sld
+share/chibi/chibi/system-test.sld
+share/chibi/chibi/system.sld
+share/chibi/chibi/tar-test.sld
+share/chibi/chibi/tar.scm
+share/chibi/chibi/tar.sld
+share/chibi/chibi/temp-file.scm
+share/chibi/chibi/temp-file.sld
+share/chibi/chibi/term/ansi-test.sld
+share/chibi/chibi/term/ansi.scm
+share/chibi/chibi/term/ansi.sld
+share/chibi/chibi/term/edit-line.scm
+share/chibi/chibi/term/edit-line.sld
+share/chibi/chibi/test.scm
+share/chibi/chibi/test.sld
+share/chibi/chibi/time.sld
+share/chibi/chibi/trace.scm
+share/chibi/chibi/trace.sld
+share/chibi/chibi/type-inference.scm
+share/chibi/chibi/type-inference.sld
+share/chibi/chibi/uri-test.sld
+share/chibi/chibi/uri.scm
+share/chibi/chibi/uri.sld
+share/chibi/chibi/weak-test.sld
+share/chibi/chibi/weak.sld
+share/chibi/chibi/zlib.scm
+share/chibi/chibi/zlib.sld
+share/chibi/init-7.scm
+share/chibi/meta-7.scm
Home |
Main Index |
Thread Index |
Old Index