From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 02 08:46:56 2016 Received: (at submit) by debbugs.gnu.org; 2 Aug 2016 12:46:56 +0000 Received: from localhost ([127.0.0.1]:53436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUZ5z-0000ap-UG for submit@debbugs.gnu.org; Tue, 02 Aug 2016 08:46:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45219) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUZ5z-0000ae-9P for submit@debbugs.gnu.org; Tue, 02 Aug 2016 08:46:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUZ5s-0002Xz-Nn for submit@debbugs.gnu.org; Tue, 02 Aug 2016 08:46:49 -0400 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,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUZ5s-0002WL-Ku for submit@debbugs.gnu.org; Tue, 02 Aug 2016 08:46:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUZ5p-0002sT-OB for bug-guile@gnu.org; Tue, 02 Aug 2016 08:46:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUZ5n-0002Vp-N0 for bug-guile@gnu.org; Tue, 02 Aug 2016 08:46:44 -0400 Received: from mail-io0-x232.google.com ([2607:f8b0:4001:c06::232]:36594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUZ5n-0002Vc-GA for bug-guile@gnu.org; Tue, 02 Aug 2016 08:46:43 -0400 Received: by mail-io0-x232.google.com with SMTP id b62so211264032iod.3 for ; Tue, 02 Aug 2016 05:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=tPo2OdXaDKlXaeW4RoBpgUmR4nnwWAQzWu74L/EUv4A=; b=Yi2rFLLc0w4iJ/NZc1ujdUCcGm3H5LQ4FuLx0J/4S61bV1R8DwuQSQ8CXJgYszvSzC fh5JBHSB0wcq7aOJ2KEYeVm9MMcJOnLaqMR9wEv5MfN58NFLAxxiYwTbytoTF0kAezta LzmCvKGoEhoDbbC3LLONCUqsfYNpyECQuUypqgS0xNHfrsUvSb2ZZ+pgQ7ENCbC8EhVg PrRS9PKjE2HPn+bI5dAuz7aw3k5Sa1lYwxaWlsY0LQzqQseOZBuJ7DI4UTW8Ta1jqBle 3B4TH5k1F5KPBb4kTZSs5TiEiCEqMQqreWYl+Upnjaw5gMyRfwOUM1xrHY5swXdBcwgN Xk7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=tPo2OdXaDKlXaeW4RoBpgUmR4nnwWAQzWu74L/EUv4A=; b=l4FthwyDl+pDZBtzedp1eDjgptMp7UEXsq48dg6pCLe4yAuqKuslgQAcGrb4e1aaHh m1kpmHjxjaSnGRjG/0EIb71gtpw3c49XLIe6vtEg4lfDVlbYAMiiWZmJOBx+0vC/cxnC K5orkZk+6D1d0O3zksB5qof7D2z0ClieRpGWUyF6HV690alWnm0OtA/Ook3sy+F5xkxR m8zawNxvCBtGKcUERnPQ+wV07kV2SgfLDgZl9tXYJgT/DBYRlUA+DKiHXp5CrlLqTVjN 3/og+FLUiMQqpe5A/MU2tF2O1+G4aIyp4XQ/Mcv6kIF3ZAOhON2h1V8zFPdmcNzIRJGD l79w== X-Gm-Message-State: AEkoouul4I6hf8J4+8Svz17/f4INt3GEpR4HgGKkkhVwWEoHAuQq+sqXBjm3CRgOE49G7T6PzBdERn7wV86u5A== X-Received: by 10.107.136.85 with SMTP id k82mr61452547iod.100.1470142002441; Tue, 02 Aug 2016 05:46:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.10.102 with HTTP; Tue, 2 Aug 2016 05:46:42 -0700 (PDT) From: =?UTF-8?B?VG9tbWkgSMO2eW7DpGzDpG5tYWE=?= Date: Tue, 2 Aug 2016 15:46:42 +0300 Message-ID: Subject: A problem with CPS To: bug-guile@gnu.org Content-Type: multipart/alternative; boundary=001a113ecf3cd331b00539161b8b X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.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: -4.0 (----) --001a113ecf3cd331b00539161b8b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I get the following error: ---cut here--- tohoyn@tohoyn-laptop:~/src/guile-2.1.3/guile-2.1.3.92-d2684/omat$ ../meta/uninstalled-env guild compile -t cps hello.scm Backtrace: 13 (apply-smob/1 #) In ice-9/boot-9.scm: 704:2 12 (call-with-prompt _ _ #) In ice-9/eval.scm: 608:8 11 (_ #(#(#))) In /home/tohoyn/src/guile-2.1.3/guile-2.1.3.92-d2684/meta/guild: 72:17 10 (main _) In srfi/srfi-1.scm: 640:9 9 (for-each1 ("hello.scm")) In scripts/compile.scm: 251:26 8 (_ _) In system/base/target.scm: 57:6 7 (with-target _ _) In system/base/compile.scm: 152:6 6 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ =E2=80= =A6) 43:4 5 (call-once _) In ice-9/boot-9.scm: 829:4 4 (with-throw-handler _ _ _) In system/base/compile.scm: 59:11 3 (_) In language/cps/spec.scm: 28:9 2 (write-cps # _) In unknown file: 1 (scm-error misc-error #f "~A ~S" ("unexpected cps" #) #f) In ice-9/boot-9.scm: 753:26 0 (dispatch-exception _ _ _) ice-9/boot-9.scm:753:26: In procedure dispatch-exception: ice-9/boot-9.scm:753:26: unexpected cps # tohoyn@tohoyn-laptop:~/src/guile-2.1.3/guile-2.1.3.92-d2684/omat$ ---cut here--- when I try to compile a guile Scheme program to CPS. The contents to file hello.scm are: ---cut here--- (define (main args) (display "Hello") (newline)) ---cut here--- I use guile-2.1.3.92-d2684 without installing it. I also have guile version 2.0.11 installed. - Tommi H=C3=B6yn=C3=A4l=C3=A4nmaa --001a113ecf3cd331b00539161b8b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I get the following error:
---cut here---
tohoyn@tohoyn-laptop:~/src/guile-2.1.3/guile-2.1.3.92-d2684/omat$ ../= meta/uninstalled-env guild compile -t cps hello.scm
Backtrace:
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 13 (apply-smob/1 #<catc= h-closure 2739c20>)
In ice-9/boot-9.scm:
=C2=A0=C2=A0=C2=A0 704:2 = 12 (call-with-prompt _ _ #<procedure default-prompt-handle=E2=80=A6>)=
In ice-9/eval.scm:
=C2=A0=C2=A0=C2=A0 608:8 11 (_ #(#(#<directory= (guile-user) 2740f30>)))
In /home/tohoyn/src/guile-2.1.3/guile-2.1.3= .92-d2684/meta/guild:
=C2=A0=C2=A0=C2=A0 72:17 10 (main _)
In srfi/sr= fi-1.scm:
=C2=A0=C2=A0=C2=A0 640:9=C2=A0 9 (for-each1 ("hello.scm&q= uot;))
In scripts/compile.scm:
=C2=A0=C2=A0 251:26=C2=A0 8 (_ _)
I= n system/base/target.scm:
=C2=A0=C2=A0=C2=A0=C2=A0 57:6=C2=A0 7 (with-ta= rget _ _)
In system/base/compile.scm:
=C2=A0=C2=A0=C2=A0 152:6=C2=A0 = 6 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ =E2=80=A6)
=C2= =A0=C2=A0=C2=A0=C2=A0 43:4=C2=A0 5 (call-once _)
In ice-9/boot-9.scm:=C2=A0=C2=A0=C2=A0 829:4=C2=A0 4 (with-throw-handler _ _ _)
In system/b= ase/compile.scm:
=C2=A0=C2=A0=C2=A0 59:11=C2=A0 3 (_)
In language/cps= /spec.scm:
=C2=A0=C2=A0=C2=A0=C2=A0 28:9=C2=A0 2 (write-cps #<intmap = 0-40> _)
In unknown file:
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 1 (scm-error misc-error #f "~A ~S" ("u= nexpected cps" #) #f)
In ice-9/boot-9.scm:
=C2=A0=C2=A0 753:26= =C2=A0 0 (dispatch-exception _ _ _)

ice-9/boot-9.scm:753:26: In proc= edure dispatch-exception:
ice-9/boot-9.scm:753:26: unexpected cps #<i= ntmap 0-40>
tohoyn@tohoyn-laptop:~/src/guile-2.1.3/guile-2.1.3.92-d26= 84/omat$
---cut here---
when I try to compile = a guile Scheme program to CPS. The contents to file hello.scm are:
= ---cut here---

(define (main args)
=C2=A0 (display "Hello&qu= ot;)
=C2=A0 (newline))
---cut here---

I use guile-2= .1.3.92-d2684 without installing it. I also have guile version 2.0.11 insta= lled.

=C2=A0=C2=A0=C2=A0=C2=A0 - Tommi H=C3=B6yn=C3=A4l=C3=A4n= maa

--001a113ecf3cd331b00539161b8b-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 01 03:52:40 2017 Received: (at 24131-done) by debbugs.gnu.org; 1 Mar 2017 08:52:40 +0000 Received: from localhost ([127.0.0.1]:60960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cj000-0007Kj-35 for submit@debbugs.gnu.org; Wed, 01 Mar 2017 03:52:40 -0500 Received: from pb-sasl1.pobox.com ([64.147.108.66]:58252 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cizzz-0007Kc-Ab for 24131-done@debbugs.gnu.org; Wed, 01 Mar 2017 03:52:39 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 293C848DC2; Wed, 1 Mar 2017 03:52:39 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=cAkbetjZWVDv YOCSF504ExQ7284=; b=Xf+n2aUFEfc98ycA2sPzolD5fm56OIzDVn8zjxs78Vxb x2a4UOFwpem5lPM7besOtOaMy32rf+DQUciUnZxkXCVDz+z0LdLPB/Xls+no4c1t FskFdGlas4TAVVXBTYVjN92dxmnT3gAryX1YYVH8AmoveO/0x27odsiR7G909no= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=FpeSAh kw7evbpEI5gl8y3yoRvNSuJx4M/Ar0614EYgEXGM4VeSQzDlYDx80wwgi3dE31oS IrLVjvL5SDF1KEaZydrksrcgO3dgMoMz4ubulHDPsZ9Dh6hPAjftwwaZxV3Oigxt 0jn7p+57y4hsz6ORqyKWwt6f4qFYhcb/1CNho= Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 20AB848DC1; Wed, 1 Mar 2017 03:52:39 -0500 (EST) Received: from clucks (unknown [109.190.228.233]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 4850F48DC0; Wed, 1 Mar 2017 03:52:38 -0500 (EST) From: Andy Wingo To: Tommi =?utf-8?B?SMO2eW7DpGzDpG5tYWE=?= Subject: Re: bug#24131: A problem with CPS References: Date: Wed, 01 Mar 2017 09:52:31 +0100 In-Reply-To: ("Tommi =?utf-8?B?SMO2eW7DpGzDpG5tYWEiJ3M=?= message of "Tue, 2 Aug 2016 15:46:42 +0300") Message-ID: <87bmtljs4w.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pobox-Relay-ID: 6C14655E-FE5C-11E6-8512-B667064AB293-02397024!pb-sasl1.pobox.com X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 24131-done Cc: 24131-done@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.0 (/) On Tue 02 Aug 2016 14:46, Tommi H=C3=B6yn=C3=A4l=C3=A4nmaa writes: > tohoyn@tohoyn-laptop:~/src/guile-2.1.3/guile-2.1.3.92-d2684/omat$ ../meta= /uninstalled-env guild compile -t cps hello.scm This is fixed in git and will be out in the next prerelease. Thanks for your bug report :) Andy From unknown Sat Jun 21 10:38:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 29 Mar 2017 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