From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) by sourceware.org (Postfix) with ESMTPS id AFD023858402 for ; Tue, 14 Sep 2021 18:00:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AFD023858402 Received: by mail-il1-x129.google.com with SMTP id x2so6948504ila.11 for ; Tue, 14 Sep 2021 11:00:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PkT99eVLWAh25EL/JUvv0i5VHglUAsS2KlIUG4luB3c=; b=TuDCq5kewUA5vWoLHCcxoELHIEd51EBB85awcxZqywZv/hQbOdz1VgFOVJvnNkJIXJ WfNP9oE+iViZ1k6Iaz6lT8r2aTZ9DeZ+dfoqTS+6PARNSs3nZw4dWJBxUUa1TJh5L0la FHf2qgUH6PcL9kvfrFgy3emuKq6afpYRXULLVKpaoChO8m60N8ZJqOWozdOKNDpuTUjq b6fDZlGETRzBYluTZGvX7d9kkHK0linxpAulUMLLIP0o9N8uslVSqXhcCRypAtsrwiYH 6E6EFa98UnSqVKAf58tuFb2gr1nkb90Ez8s+jmgQ68QU5yIUDCgmEeSlK8KraHxcEhp8 Degg== X-Gm-Message-State: AOAM533GDn19F9jmv8JsjLd9Y9xFh3zyIBsSf8Ah4kfhpHEC912m1JYF usvHRM4XFt6yDDII9MPvqQHWdssNYaenQGB1jMs= X-Google-Smtp-Source: ABdhPJxUM5caGHSUR/0S9r3jSgCg8Dj75c0wEtX6s2N2WWRJxYZ+QJZL8et9C5TOL/oH/XavrttJcuxFv2z5wagiLGg= X-Received: by 2002:a92:c56d:: with SMTP id b13mr13292889ilj.317.1631642413169; Tue, 14 Sep 2021 11:00:13 -0700 (PDT) MIME-Version: 1.0 References: <1301054857.197399065.1631259238004.JavaMail.root@zimbra65-e11.priv.proxad.net> <515e7486-9636-e698-b811-9574bf0bedc3@bothner.com> In-Reply-To: From: Damien Mattei Date: Tue, 14 Sep 2021 20:00:02 +0200 Message-ID: Subject: Re: define-syntax can only be used with local variables To: Per Bothner Cc: phiroc@free.fr, kawa@sourceware.org, Jean-Paul Roy X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: kawa@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Kawa mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2021 18:00:15 -0000 i know nothing ,sorry for the typos On Tue, Sep 14, 2021 at 7:58 PM Damien Mattei wrote: > hello Per, > it is strange when downloading source and trying to compile it with same > openjdk 16 than the one use by binary i got two errors, the first one being: > javac -d . -classpath ".:.:$CLASSPATH" -g @tmp-sources1.list > ./gnu/lists/CharSeq.java:11: error: types CharSequence and Sequence are > incompatible; > it could be helpful to understand why before thinking to a problem of > hygiene because all is running well in kawa-2.1, i admit it is old and i do > nothing about what happen between those long times.... > Damien > > On Tue, Sep 14, 2021 at 7:27 PM Per Bothner wrote: > >> >> >> On 9/10/21 12:33 AM, phiroc--- via Kawa wrote: >> > Hello, >> > in the below code, nil! and nil2! only set variables values to '() and >> '(0) when such variables are local (let). >> >> I'm guessing (without having tested it) that the restriction isn't local >> variables >> but lexical vs dynamic variables. I.e. it is likely that module-level >> (library-level) >> variables would also work. >> >> Probably a problem with macro hygiene. Though it's weird that it behaves >> differently on >> different systems. Possibly different Java versionor different Kawa >> versions (though >> I don't recall changing anything in this area in a while). >> >> Could be a nice exercise to figure out for someone who >> wants to understand how Kawa macro hygiene works. >> -- >> --Per Bothner >> per@bothner.com http://per.bothner.com/ >> >