From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 36509 invoked by alias); 28 Jan 2017 12:40:31 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 36492 invoked by uid 89); 28 Jan 2017 12:40:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*Ad:U*kawa, H*r:sk:kawa@so, dotted X-HELO: mail-vk0-f42.google.com Received: from mail-vk0-f42.google.com (HELO mail-vk0-f42.google.com) (209.85.213.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 28 Jan 2017 12:40:20 +0000 Received: by mail-vk0-f42.google.com with SMTP id r136so191616141vke.1 for ; Sat, 28 Jan 2017 04:40:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=tGwkn+np61mbXsxQiuevRGyFYCiP0DtNYN9TL2rA9is=; b=FjOpVG74fq5vrTRfpjJQ4e1H4JOyaUwi+XNXC9cuaJGxO7TByGE8pQzkqAE82S6mlO QMYf9WKYNY/GXgUQLBQUE6TGHw8KDR3KFKdbmuwjZl2NhkmEatSDXmx3BI+8Gxm779em 2ISr+H1BzIz4C51xDszCq+UDE9h1xpi4NfMPmbEm79XbpZ/sle56ubN6ed5mAvt90yK7 zNacV4aKWS5vT/WWqOdeK96NZcvI5Szeabc7Itc2aLzumB21mSfrFyS0mV+XAvSbPlNO xuSDBl6EbrSyDhj5af7nvIVa0YIQyOEm3B5ujkEpc69SB2euYXzKhseJd+L+yxPZlDpB Nw+w== X-Gm-Message-State: AIkVDXKieFH2ogFrWjYNRmwJ6LjyTSIUo16om5Ax4/CfdAQq3TqkkOPxtI2eFkvYOcLFL2tpLocYrf4hmEDWHw== X-Received: by 10.31.148.71 with SMTP id w68mr5221328vkd.87.1485607218114; Sat, 28 Jan 2017 04:40:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.48.66 with HTTP; Sat, 28 Jan 2017 04:40:17 -0800 (PST) From: scprotz Date: Sat, 28 Jan 2017 12:40:00 -0000 Message-ID: Subject: Missing feature or just differences with Guile for define-public To: kawa@sourceware.org Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2017-q1/txt/msg00037.txt.bz2 I was trying to compile the scm files that come with Aisleriot using Kawa (these are intended for use with Guile, but I was hoping to try them out in Java). Many seem to compile ok, but one of the core files, api.scm has problems. I came across two issues when trying to convert api.scm to .class. The first was "invalid use of '_". Apparently kawa doesn't like the _ as part of define's. Easy enough to fix just by changing the '_ to another identifier. The second issue though was I get "improper list (circular or dotted) is not allowed here. Here is an example define-public from the file: (define-public (set-features . feature-list) (set-feature-word! (+ (get-feature-word) (apply + feature-list)))) My scheme-fu is very very weak, so I'm not sure if this is just an implementation difference, a bug, or my misunderstanding. Any help is appreciated (and if you want your own copy of the scm files from aisleriot, you can grab them here: https://github.com/GNOME/aisleriot) -scprotz