From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Taylan Kammer Newsgroups: gmane.lisp.guile.user Subject: Re: reading symbols containing apostrophe Date: Tue, 5 Jan 2021 14:23:32 +0100 Message-ID: <0d469566-434a-6d30-67b1-846e6c2f9777@gmail.com> References: <317b8cc8-659a-bfe0-e8c1-26df8c0f0fd5@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32625"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 Cc: guile-user@gnu.org To: Tom Gillespie Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Jan 05 14:24:16 2021 Return-path: Envelope-to: guile-user@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 1kwmJs-0008Oa-59 for guile-user@m.gmane-mx.org; Tue, 05 Jan 2021 14:24:16 +0100 Original-Received: from localhost ([::1]:54948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwmJr-00089Q-4y for guile-user@m.gmane-mx.org; Tue, 05 Jan 2021 08:24:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwmJJ-00088H-CT for guile-user@gnu.org; Tue, 05 Jan 2021 08:23:45 -0500 Original-Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:54273) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwmJF-0001ZP-LR for guile-user@gnu.org; Tue, 05 Jan 2021 08:23:41 -0500 Original-Received: by mail-wm1-x32b.google.com with SMTP id c133so3004394wme.4 for ; Tue, 05 Jan 2021 05:23:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=b0wHHcoK+BiYYvI4lKANAnDa4Uf3fey3XXsxAIC2ZQ8=; b=pzoMS6GiWx31dF61s8fzRIrMnr7T7bKPMzvBQv8F392xokSaMOfpZ3VNw0V1YNKGe1 TE3dLjK+HKV2G0EcKMUJcj88h4ilaabTe3lvwvxA4xxLVB3eHugdoOQfbCr5yF9iewxT yuCVln4Au80/twgakpXEXNWizJ+F+PtZtBD42o/x/yMO2OyK1qCwNjFZQhdl+XFfKmBr X5i09SBg4Ws73wQAVySh3735j4bb8g+xc76KeCS4uuAIg0EsWORByCDH19aCfTABi8Wb TRDx+8Rc5odmwCq9E4TlSp1O+w4fBR1V1fbbiniXuGB25C/vkOuQzH3Jrgy1wwoq7W9Y G1RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=b0wHHcoK+BiYYvI4lKANAnDa4Uf3fey3XXsxAIC2ZQ8=; b=p0/pBNjzelc6EXhoY3cRJ60CefGE+rBlwhH3bT2N8zKs3NE5+wP3H6Qsc5Htvd/EYE V98wF9U2TlsRn6MUEQMMasyuPdpvS5/S2VOv67O+gHK50BuHuOK6nnODiIFljXS3E9QR MIwkhWhuruECvFewM6NS7WBGIwlRCJuJgV8mhdUv+Gnm2kYmQjdeytP7l7aIMmFMxXSZ K5+aHYIt2CzkHcEIam0US+LOwJKl+IufBnHt0Z55noEOK+VRaHZLU/dA3gKafc1iqWom vNZPF0JN+ZHOC1yPcqKoaKF6DlzWfQruJbu52Mgqgxmid2LA2v8tuxzUivhxlEnYuemV eZSA== X-Gm-Message-State: AOAM530EWTdkgkfq4FJ+vS8lS5+WnRzR/AZSuQY39CrcosZu4e9YOYry 2D8cZXpNjnPOslUv3u1xo/soKYv/OJgmOA== X-Google-Smtp-Source: ABdhPJx7OnEXMiJN3L6uBzly2sRQFOZfpMYD3Dv60Y0FOAdKyp95Bm79lKqI5U0uJMz9YmPUkCVVMA== X-Received: by 2002:a1c:4c0a:: with SMTP id z10mr3429063wmf.95.1609853015493; Tue, 05 Jan 2021 05:23:35 -0800 (PST) Original-Received: from [192.168.178.20] ([109.90.125.150]) by smtp.gmail.com with ESMTPSA id x25sm4108621wmc.3.2021.01.05.05.23.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Jan 2021 05:23:35 -0800 (PST) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=taylan.kammer@gmail.com; helo=mail-wm1-x32b.google.com X-Spam_score_int: -22 X-Spam_score: -2.3 X-Spam_bar: -- X-Spam_report: (-2.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17156 Archived-At: On 05.01.2021 00:12, Tom Gillespie wrote: > In this instance I think the situation is worse than if the standard > said this was an error. In fact the standard doesn't say this is an > error at all, which would be better than the current situation. > Where nearly all other implementations will read 'a'b'c as three > separate symbols, Guile reads it as a single symbol, silently > diverging from the standard without warning (until something > comes crashing down as a result of the difference later). Hmm, I'm looking at the R7RS-small BNF (haven't checked the other standards) and I think you're right. The apostrophe is a token of its own, along with , which I think would mean that 'foo'bar should be parsed as four tokens. It might be worth taking this up with the devel mailing list then. - Taylan