From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 08 20:59:03 2018 Received: (at submit) by debbugs.gnu.org; 9 Mar 2018 01:59:03 +0000 Received: from localhost ([127.0.0.1]:51654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eu7JG-00019D-KY for submit@debbugs.gnu.org; Thu, 08 Mar 2018 20:59:02 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eu7JF-00018i-BV for submit@debbugs.gnu.org; Thu, 08 Mar 2018 20:59:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eu7J8-0000LN-VO for submit@debbugs.gnu.org; Thu, 08 Mar 2018 20:58:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50053) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eu7J8-0000LF-Rb for submit@debbugs.gnu.org; Thu, 08 Mar 2018 20:58:54 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eu7J7-0005rc-Aa for guix-patches@gnu.org; Thu, 08 Mar 2018 20:58:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eu7J6-0000KI-6Y for guix-patches@gnu.org; Thu, 08 Mar 2018 20:58:53 -0500 Received: from tobias.gr ([2001:470:cc92::1]:36166) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eu7J5-0000JW-OU for guix-patches@gnu.org; Thu, 08 Mar 2018 20:58:52 -0500 Received: by tobias.gr (OpenSMTPD) with ESMTP id 95e2199b for ; Fri, 9 Mar 2018 01:58:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=2018; i=me@tobias.gr; bh=kOglrQ1nZ gA7k1fAGajawNqkbHdfbM/YgSnJZ1SrYNk=; b=BI64CCJBSYBe2AmNIUGIfah6S mxiSkLXnxw/UHietAq00ORGNpMMw8DLTc7un+4b03lLX7KUZdkG4vparIfa20B6c m8Y7ue2LK5uJg+OhRCz90Pv6D2xNF5LSziyCIzHFRUVMtRaL4WOb4tvpfB/9/XoW +o3TfBI+bQBRrL2sk4LIx1MOIz/nxIZT8/PoGena2PeSdrxA0RCssCEFmf8Q9EL1 h8lIBjd4uoqtxFo5ZgGvcwMMU6TKCAB4pSrVq5ik2KZocnNIL1DL8RkwLfKIQ748 NQIvMVuX9+Bhtp0cSOirPljRXBTxl21qWvpkdVWE8FRELV5X7xGqgU12qeWHA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 18246919 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Fri, 9 Mar 2018 01:58:46 +0000 (UTC) From: Tobias Geerinckx-Rice To: guix-patches@gnu.org Subject: [PATCH] gnu: Add tinyscheme. Date: Fri, 9 Mar 2018 02:58:50 +0100 Message-Id: <20180309015850.12682-1-me@tobias.gr> X-Mailer: git-send-email 2.16.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) * gnu/packages/scheme.scm (tinyscheme): New public variable. --- Guix, Another old patch. It's Scheme! It's Tiny! It sounded familiar on #bootstrappable! Kind regards, T G-R gnu/packages/scheme.scm | 67 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index 8947509cb..a5ca77894 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -951,3 +951,70 @@ implementation includes Hobbit, a Scheme-to-C compiler, which can generate C files whose binaries can be dynamically or statically linked with a SCM executable.") (license lgpl3+))) + +(define-public tinyscheme + (package + (name "tinyscheme") + (version "1.41") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/" name "/" name "/" + name "-" version "/" name "-" version ".zip")) + (sha256 + (base32 + "0yqma4jrjgj95f3hf30h542x97n8ah234n19yklbqq0phfsa08wf")))) + (build-system gnu-build-system) + (inputs + `(("unzip" ,unzip))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'unpack + (lambda* (#:key source #:allow-other-keys) + (invoke "unzip" source) + (chdir (string-append ,name "-" ,version)) + #t)) + (add-after 'unpack 'set-scm-directory + ;; Hard-code ‘our’ init.scm instead of looking in the current + ;; working directory, so invoking ‘scheme’ just works. + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (scm (string-append out "/share/" ,name))) + (substitute* "scheme.c" + (("init.scm" all) + (string-append scm "/" all))) + #t))) + (delete 'configure) ; no configure script + (replace 'install + ;; There's no ‘install’ target. Install files manually. + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (doc (string-append out "/share/doc/" + ,name "-" ,version)) + (include (string-append out "/include")) + (lib (string-append out "/lib")) + (scm (string-append out "/share/" ,name))) + (install-file "scheme" bin) + (install-file "Manual.txt" doc) + (install-file "scheme.h" include) + (install-file "libtinyscheme.so" lib) + (install-file "init.scm" scm) + #t)))) + #:tests? #f)) ; no tests + (home-page "http://tinyscheme.sourceforge.net/") + (synopsis "Light-weight interpreter for the Scheme programming language") + (description + "TinyScheme is a light-weight Scheme interpreter that implements as large a +subset of R5RS as was possible without getting very large and complicated. + +It's meant to be used as an embedded scripting interpreter for other programs. +As such, it does not offer an Integrated Development Environment (@dfn{IDE}) or +extensive toolkits, although it does sport a small (and optional) top-level +loop. + +As an embedded interpreter, it allows multiple interpreter states to coexist in +the same program, without any interference between them. Foreign functions in C +can be added and values can be defined in the Scheme environment. Being quite a +small program, it is easy to comprehend, get to grips with, and use.") + (license bsd-3))) ; there are no licence headers -- 2.15.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 09 00:49:02 2018 Received: (at 30753) by debbugs.gnu.org; 9 Mar 2018 05:49:02 +0000 Received: from localhost ([127.0.0.1]:51679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euAtq-0007Af-Bd for submit@debbugs.gnu.org; Fri, 09 Mar 2018 00:49:02 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:52632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euAtn-0007AF-Ul for 30753@debbugs.gnu.org; Fri, 09 Mar 2018 00:49:00 -0500 Received: from localhost (178.113.169.92.wireless.dyn.drei.com [178.113.169.92]) by dd26836.kasserver.com (Postfix) with ESMTPSA id F1F0633603B1; Fri, 9 Mar 2018 06:48:57 +0100 (CET) Date: Fri, 9 Mar 2018 06:48:47 +0100 From: Danny Milosavljevic To: Tobias Geerinckx-Rice Subject: Re: [bug#30753] [PATCH] gnu: Add tinyscheme. Message-ID: <20180309064847.0644d955@scratchpost.org> In-Reply-To: <20180309015850.12682-1-me@tobias.gr> References: <20180309015850.12682-1-me@tobias.gr> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/oyaiz4Z9E+MP+7DOGqXwD+N"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30753 Cc: 30753@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --Sig_/oyaiz4Z9E+MP+7DOGqXwD+N Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > + (inputs > + `(("unzip" ,unzip))) native-inputs Otherwise LGTM! --Sig_/oyaiz4Z9E+MP+7DOGqXwD+N Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlqiID8ACgkQ5xo1VCww uqXGXAf+NWw04ubE066AOFVyexWpXdIZcsW5sH8V+UwOzQzm0O/o1u6VJXGCtdgk 648sX8jO60U0Q/yHDMRek7+3jynG46PoeX2Q1ShdPxrPlwR2ibarIQXwC5X2VVlC 2nv73y6RK4sjzC9UuOsQP3ouQ4umVKZb/O9ZGYHc7CDcyEmlx9R8x85WY4ZUSZb9 gg9q7XSHLj25DMIijjGKVVBKTKG6XO63pb8KcewvZnGOhgX1yRSy61cHYwnUxmlR grR+Au28PQE5mcDoU8uSShxxxFUfU5PX2hlmlUnlpW3h+iD7X6mV7d194fAATZBI cFeNr/HQ9P5KXMiJVUAfcGvbunC2jg== =3P4i -----END PGP SIGNATURE----- --Sig_/oyaiz4Z9E+MP+7DOGqXwD+N-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 21 13:41:17 2018 Received: (at 30753-done) by debbugs.gnu.org; 21 Mar 2018 17:41:17 +0000 Received: from localhost ([127.0.0.1]:46163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyhjh-0005Lo-7B for submit@debbugs.gnu.org; Wed, 21 Mar 2018 13:41:17 -0400 Received: from tobias.gr ([51.15.135.5]:55154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyhjg-0005Lg-22 for 30753-done@debbugs.gnu.org; Wed, 21 Mar 2018 13:41:16 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id a64cbe27 for <30753-done@debbugs.gnu.org>; Wed, 21 Mar 2018 17:41:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h= mime-version:content-type:content-transfer-encoding:date:from:to :subject:message-id; s=2018; i=me@tobias.gr; bh=7AOeNxDc0FIiPWOF q7VR2lsO+C5IE2Mk4avYJizW7po=; b=gczt0WqXxBWAcAHr0fMAEhGQPP+2NhhB ThJJDKdFvDVuRpvY+S4YVm9fWjbJGG6g8vSDSlI6TLfNoDuRwDHXh/xbmNpzSes2 SWjlp4btjsGER0zI90fEO+sjBPsNxr6pS/SYcMp1niqbe23RhPKTHGg0g62AYr39 q5zkbqqoyamPFtyRLQ3VWe85IjH808myNhJBzPvDUP2DDIAAhcos6o2WvccttOh3 ZwLdJ17Mm4aoQ1G0dhqDUVyO8VmF1hKNCp4VW/rDD1HFoQ6MLo/md15+qAtULqTf QoASLh4j9Era9P82z6W+c47BRJVxEs+482b4ofVdYG3U/ksUHGUrNw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 8b863350 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for <30753-done@debbugs.gnu.org>; Wed, 21 Mar 2018 17:41:10 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 21 Mar 2018 18:41:06 +0100 From: Tobias Geerinckx-Rice To: 30753-done@debbugs.gnu.org Subject: [PATCH] gnu: Add tinyscheme. Organization: tobias.gr Message-ID: <75d4605a2ac6af3237016a5451c80207@tobias.gr> X-Sender: me@tobias.gr User-Agent: Roundcube Webmail X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 30753-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Pushed as e2f9847be0d1fcde201b3ec01f68a9cbdda230a0. Thanks! T G-R Sent from a Web browser. Excuse or enjoy my brevity. From unknown Tue Aug 12 08:09:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 19 Apr 2018 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator