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: Wed, 30 Dec 2020 14:02:21 +0100 Message-ID: <317b8cc8-659a-bfe0-e8c1-26df8c0f0fd5@gmail.com> References: 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="33017"; 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 Wed Dec 30 14:03:11 2020 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 1kub8A-0008Sw-8V for guile-user@m.gmane-mx.org; Wed, 30 Dec 2020 14:03:10 +0100 Original-Received: from localhost ([::1]:44242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kub89-0006A4-Ab for guile-user@m.gmane-mx.org; Wed, 30 Dec 2020 08:03:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kub7W-00069N-A2 for guile-user@gnu.org; Wed, 30 Dec 2020 08:02:31 -0500 Original-Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]:34476) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kub7U-0004bQ-8V for guile-user@gnu.org; Wed, 30 Dec 2020 08:02:29 -0500 Original-Received: by mail-ej1-x62a.google.com with SMTP id g20so21859934ejb.1 for ; Wed, 30 Dec 2020 05:02:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=kT/BiMI7QNuLo255cspbMFOv11D1UJNskEJAyjZZn+4=; b=vNDdwsYBNqxfhsWF7yqwV4tnwciz20TE6rS6eryzosqrDBOWLnBg6TKa+MXWB7XtJR eMY4jgz37idV/UIV27CApGC8OD15apiOPn+jn2N6tzJCfaGcV6cSrkGaPqmxWF+3C2QT jgAC1BRnOL7Zef8u2XuQimB2TTa2rncK6X/0cTGeg907EgIcMMAho95tdCEpNdYBUeuq kbwEtp/X9OfzdwwgIlsl/7u/kZo6RyANFyqr4T+kTMVROqHS6J1IF2HO2YHSi+vsNYJz nin4npftKBsnYgZfOLRWKyMBw/BLe4BZNdQBwLLJzFCrN/Q0B5ykuPLmMbOUjmgfXTWa yiPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=kT/BiMI7QNuLo255cspbMFOv11D1UJNskEJAyjZZn+4=; b=Nddxf63Lewrh8q5du1TNkWgLUy18vUFemoNg90QMDZelccREC4OQcG+4vvjlqCWqyK mz+h+yNDm+xlbbvcIcdlK4aj/wK9E35RSlkcEW+xfiAv+aNlmn5iIcWV8rEgW3OPnoAO 0gCb/XFGfJhGq2orZQGW2EsxCV/z10vbEDcAfMWFIV6Sv7acnZ6pmSEe0wcIVhAq8iuY ouEMkV9oECYx449BEK4+KWHSjg7CHJRoXGfHl7lqqVSjCRklqv5vRqCOu3ALO+KzyITi iTkzEMGDDxUPbhQmO7cArnivbRMKZXbzrN9kUpH7QSrX1G278A7VJs+k9I5yN7csMaLc Ymeg== X-Gm-Message-State: AOAM532s1+v53aVfDAd7RXI1P/6F86zffrukvR2EdYdBWStXISAhnwYk cJcTVhX7rPYkBBMm3eF7RyNFfMvsKMZN9g== X-Google-Smtp-Source: ABdhPJzwDNSxy1zM7BfrkP03HBZNu1EvL1BdW0j7LDI+9unLihCrqxgiuTuqUzD6QKVYRMMMoAaijQ== X-Received: by 2002:a17:906:279a:: with SMTP id j26mr48963032ejc.203.1609333345685; Wed, 30 Dec 2020 05:02:25 -0800 (PST) Original-Received: from [192.168.178.20] ([109.90.125.150]) by smtp.gmail.com with ESMTPSA id i15sm19307591ejj.28.2020.12.30.05.02.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Dec 2020 05:02:25 -0800 (PST) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=taylan.kammer@gmail.com; helo=mail-ej1-x62a.google.com X-Spam_score_int: -54 X-Spam_score: -5.5 X-Spam_bar: ----- X-Spam_report: (-5.5 / 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=-3.399, 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:17138 Archived-At: On 30.12.2020 05:51, Tom Gillespie wrote: > Hi, > I'm in the processes of reviewing reader behavior for a number of > different lisp dialects and Guile has a quirk that I have been unable > to find any documentation about. Specifically, as far as I can tell > apostrophe is not allowed in identifiers according to the formal > grammars for r5rs through r7rs (I have not checked earlier versions). > In addition apostrophe is not included in the extended reader syntax > in the manual. However, 'a'b'c reads as a'b'c in guile 2.2.6. Am I > missing something? Is this a bug? Hi Tom, It's quite common for implementations to extend the standard, so something that's "an error" in the standard might be allowed in an implementation. This is evidently one of those cases. I would not *rely* on Guile supporting this either though. Maybe in a future version the reader will be changed and it will stop working. - Taylan