From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:47412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBqKS-0002TS-M5 for guix-patches@gnu.org; Wed, 03 Apr 2019 20:34:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBqKR-0000FD-82 for guix-patches@gnu.org; Wed, 03 Apr 2019 20:34:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58145) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hBqKQ-0000CM-Nm for guix-patches@gnu.org; Wed, 03 Apr 2019 20:34:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hBqKQ-00043u-Ao for guix-patches@gnu.org; Wed, 03 Apr 2019 20:34:02 -0400 Subject: [bug#35082] [PATCH] gnu: Add kawa. Resent-Message-ID: References: <874l7g35ur.fsf@zancanaro.id.au> <87d0m2rfuq.fsf@gnu.org> From: Carlo Zancanaro In-reply-to: <87d0m2rfuq.fsf@gnu.org> Date: Thu, 04 Apr 2019 11:33:37 +1100 Message-ID: <878swqip7i.fsf@zancanaro.id.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 35082@debbugs.gnu.org, Per Bothner --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hey Ludo=E2=80=99, On Thu, Apr 04 2019, Ludovic Court=C3=A8s wrote: > Carlo Zancanaro skribis: > >> The suggested synopsis is "Java framework and implementation of=20 >> Scheme, Elisp, and more", and the suggested description is "GNU=20 >> Kawa is an implementation of the Scheme programming language=20 >> that is built on top of the Java platform. It is thus=20 >> conveniently integrated with Java and benefits from this by=20 >> having a compiler, optional static typing, and so on. Kawa=20 >> also serves as a framework for implementing other programming=20 >> languages on the Java platform. Included in Kawa is qexo, a=20 >> partial implementation of XQuery in Java." > > I actually have a slight preference for these :-), I find it=20 > more factual than what you propose, but I=E2=80=99m happy either way. The main difference is the emphasis. The suggested text emphasises=20 the "framework" aspect of Kawa, whereas my text emphasise the=20 "Scheme" aspect (with a short mention of the framework at the=20 end). I don't know which emphasis the project desires, so I've=20 Cced Per Bothner in case he has a preference. The text that I have=20 used in the description is loosely taken from the Kawa home=20 page[1]. The placement in scheme.scm makes the Scheme emphasis a natural=20 choice. Compare with the description of Racket, which is also a=20 framework for building programming languages, but our synopsis and=20 description emphasise that it is an implementation of Scheme. I've attached a patch with the updated URL. Carlo [1]: https://www.gnu.org/software/kawa/index.html --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-kawa.patch >From bc7cd37b4bf8acf34a1f429a965f9bf28900b3d1 Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Mon, 25 Feb 2019 16:41:22 +1100 Subject: [PATCH] gnu: Add kawa. * gnu/packages/scheme.scm (kawa): New variable. --- gnu/packages/scheme.scm | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index 9dbb3713ee..6d1051abfb 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -31,7 +31,7 @@ #:use-module (gnu packages) #:use-module ((guix licenses) #:select (gpl2+ lgpl2.0+ lgpl2.1+ lgpl3+ asl2.0 bsd-3 - cc-by-sa4.0 non-copyleft)) + cc-by-sa4.0 non-copyleft expat)) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) @@ -69,6 +69,7 @@ #:use-module (gnu packages tls) #:use-module (gnu packages gl) #:use-module (gnu packages libedit) + #:use-module (gnu packages java) #:use-module (srfi srfi-1) #:use-module (ice-9 match)) @@ -1245,4 +1246,30 @@ multilingual support are some of the goals. Gauche comes with a package manager/installer @code{gauche-package} which can download, compile, install and list gauche extension packages.") (license bsd-3))) + +(define-public kawa + (package + (name "kawa") + (version "3.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://gnu/kawa/kawa-" version ".tar.gz")) + (sha256 + (base32 + "1k9qpydc64ar4aqyg3q7jmmxy503ayj85227qfhc5n6ngchqavhy")))) + (build-system gnu-build-system) + (arguments + `(#:parallel-build? #f + #:parallel-tests? #f)) + (inputs + `(("icedtea" ,icedtea-8 "jdk"))) + (home-page "https://www.gnu.org/software/kawa/") + (synopsis "Scheme on the Java Virtual machine") + (description "Kawa is an implementation of Scheme for the Java Virtual +Machine. It combines the benefits of dynamic scripting languages (minimal +boiler-plate, fast to start up, REPL) with the benefits of traditional +compiled languages (fast execution, static error detection, modularity, +zero-overhead Java integration). Kawa also provides a framework for +implementing other programming languages on the Java platform.") + (license expat))) -- 2.21.0 --=-=-=--