From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Han-Wen Nienhuys Newsgroups: gmane.lisp.guile.devel Subject: Re: unhandled constant? Date: Fri, 31 Jan 2020 11:49:00 +0100 Message-ID: References: <87r1ziti8g.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="5599"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-devel@gnu.org To: Ricardo Wurmus Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Fri Jan 31 11:50:06 2020 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ixTsD-0001Pr-7A for guile-devel@m.gmane-mx.org; Fri, 31 Jan 2020 11:50:05 +0100 Original-Received: from localhost ([::1]:51212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixTsC-0005nC-9T for guile-devel@m.gmane-mx.org; Fri, 31 Jan 2020 05:50:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58015) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixTrg-0005mn-Ug for guile-devel@gnu.org; Fri, 31 Jan 2020 05:49:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixTrN-0005YD-Rs for guile-devel@gnu.org; Fri, 31 Jan 2020 05:49:32 -0500 Original-Received: from mail-ot1-x32a.google.com ([2607:f8b0:4864:20::32a]:35524) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ixTrN-0005Rk-MM for guile-devel@gnu.org; Fri, 31 Jan 2020 05:49:13 -0500 Original-Received: by mail-ot1-x32a.google.com with SMTP id r16so6179601otd.2 for ; Fri, 31 Jan 2020 02:49:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VKMqrNAnhHm0+EDtflCwlzTOo6qR0ZpTlCGMfei8fS0=; b=CrPkyEZFmcXgJElx7NLpPlfLyvmagljD1xdP98s3K2o2CuwAlw+giS6xe9mAwUOOv0 yU53rd1f+n8GBg7pVZwqoGIvmQ4jo1zgSI4jqoX+uVjI+aTYyZbioXI0m8ZloNcsGsRB Ol6/ip1KzEUJtKGZLYpapOiR6dwuqKIAimU/AQ2zl0mmg71+EeKACSW83LSkpw+8fnjz aiOqnf2GaJmt3IOvsAm2BCl2FaGf/4tks7yVZzO9UcofXq0h/gTRVVLh+PDLhPj4dp3W Nu5fdMaKaX6ONEJ3kwxWMsx+CuPKZ/BRp2KyhOP9jcaf8CiDj52al1cpT0IbbugOYiVa gTPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VKMqrNAnhHm0+EDtflCwlzTOo6qR0ZpTlCGMfei8fS0=; b=FWpTPqjD1tVfAh/4rSOUfKOk8smLSnlKlYtSkN1KW2yhTBv/9EeczlWYAGEbHhihqo oZrJrtZAEpgjOoTf3JTP9GibswMQIN0Y4U1SGdCzr0EZ+S2HEVM95XY7H7Sz4T1Del0N yHZI8BkxCo3QOnsxKiM2a6fo8kXTUro2tabGJfig7v72y26+GQ882n4/2g3t6Y+B/1R3 kF6VdLe6eYqgJgDUGwGduEUPCMAmMQ1I+H6CgJMydq2OWaI1NWc1pw9sLZ9yCd70E/dt k2YlOn9XpNxJj0fldAAViHNb4E6Bumm+dVXWoLRAbnwQ2dSOGD6IH/a8/ndg0FftzTuK /nGw== X-Gm-Message-State: APjAAAVJppIyl0iFD5G0GwJqggksmszUr0YjVBex+dR7kPZWgnLDOa6k ckeBUDrgitsrgaN7KXRQHK95amJv14ziNKWxEtswkE6wG+0= X-Google-Smtp-Source: APXvYqzq3rVrh1mC6YgP2IdwvET1fy0e2NmQMtF3OxSbUvsm8USgpIrhLo+h356LMY+OXjSOBYtPfr/0uZMVv4C7yd4= X-Received: by 2002:a9d:7e8a:: with SMTP id m10mr6700619otp.27.1580467752184; Fri, 31 Jan 2020 02:49:12 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::32a X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20354 Archived-At: On Thu, Jan 30, 2020 at 9:05 AM Han-Wen Nienhuys wrote: > > [guile1.8]$ grep -ir define-syntax-rule . > > (empty) > > I need something that works in GUILE 1.8 too. > > this is what I got from David Kastrup: > > >Got any comments about macros being sooo yesterday compared to syntax > forms? Syntax forms actually don't work in LilyPond: there was an > incompatibility because the 1.8 implementation will balk if some symbol > used in syntax forms already has a definition, and we have that. I > forgot the exact symbol at fault. I think it was some music function > name. > > Would there be a way that we can use our source code unchanged with GUILE 2.2? > > Can you explain why I get this error message? Also, how is it possible that, when disabling auto-compilation, the whole thing works? $ GUILE_AUTO_COMPILE=0 guile2.2 q.scm ((var foo 1)) is there an evaluator in GUILE that is separate from the bytecode VM, and if so, is this evaluator guaranteed to be supported in upcoming versions of GUILE? Does the evalation without auto-compilation benefit from JIT treatment? If I want to explore this myself, how do I hack on GUILE itself? Compiling GUILE from scratch takes more than an hour for me. I assume there must be a faster way to experiment, but what is that? It looks like the HACKING file is out of date. -- Han-Wen Nienhuys - hanwenn@gmail.com - http://www.xs4all.nl/~hanwen