From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Matt Wette <matt.wette@gmail.com>
Newsgroups: gmane.lisp.guile.devel
Subject: Re: [PATCH] add language/wisp to Guile?
Date: Sat, 18 Feb 2023 11:56:52 -0800
Message-ID: <787dfccc-32c2-9073-7932-2258e556b48a@gmail.com>
References: <87h6w2fkz8.fsf@web.de>
 <f31a073e-6b8c-ce48-2917-53a13d76b108@telenet.be> <877cwxe4ar.fsf@web.de>
 <2f7d015d-ceb4-ef8f-b4fe-b69e39b723f8@telenet.be> <87357ldqaq.fsf@web.de>
 <1a70460e-11fb-9f5d-0d5f-1eb507d5af0d@telenet.be> <87ilg4j65e.fsf@web.de>
 <87edqsj5vt.fsf@web.de> <01212259-37dd-5d67-7bbc-101e01d96d01@telenet.be>
 <1a6c8dda-0124-124c-f932-937a11386ced@gmail.com> <87fsb5i912.fsf@web.de>
 <ece631e3-8b04-d538-1d8d-fd09fc8562cb@telenet.be>
 <08c725bd-84d4-4df9-a18c-6ee55d00634f@app.fastmail.com>
 <a20e0a05-8257-ee22-4af5-5d47871c0c90@telenet.be>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="30688"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.7.1
To: guile-devel@gnu.org
Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Sat Feb 18 20:57:19 2023
Return-path: <guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org>
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 <guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org>)
	id 1pTTKg-0007lW-MG
	for guile-devel@m.gmane-mx.org; Sat, 18 Feb 2023 20:57:18 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guile-devel-bounces@gnu.org>)
	id 1pTTKO-00010h-Fc; Sat, 18 Feb 2023 14:57:00 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <matt.wette@gmail.com>)
 id 1pTTKM-0000zo-Vy
 for guile-devel@gnu.org; Sat, 18 Feb 2023 14:56:59 -0500
Original-Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <matt.wette@gmail.com>)
 id 1pTTKK-0000r9-OU
 for guile-devel@gnu.org; Sat, 18 Feb 2023 14:56:58 -0500
Original-Received: by mail-pf1-x436.google.com with SMTP id ds13so545511pfb.13
 for <guile-devel@gnu.org>; Sat, 18 Feb 2023 11:56:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:to:subject:user-agent:mime-version:date:message-id:from
 :to:cc:subject:date:message-id:reply-to;
 bh=MT9jWD7mzotcvrZMrS6So/WcGQSHEBop+DTve7WzlS8=;
 b=haRQZUpOx280h7C31S11wFq3Fg9nTtuJr9attIoe6Ib7T2a9NxepB7zAni0YKknWXC
 V6ZukSJeTn1yMIQcKN1DIBSztEPLacMiO0U6zRjfsPmjF9zN3JuxsHTKpkYiGRiAR6s+
 G/S9MnebxjYWXDzpqpEY5M83gJPiar+P5Ee83X0v/JhbWETcpS5BdM4x2Y1Oc7jeZXyi
 n81OzVwFM8+OkII21SXfFYXXXH/QYtlsla4PhDunbtp4uj6/ZzSdFm2fj7JeN/mn1/E5
 m1uXAdrryi+gS9ZwowBAsek9tAi3lv73bWMyJ7Rvp3eysIyejnj/EKplNweXPGomJNEJ
 pdIg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:to:subject:user-agent:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=MT9jWD7mzotcvrZMrS6So/WcGQSHEBop+DTve7WzlS8=;
 b=i3hmozX4TrvYAr1LcL45Fox4Xi9idaU25LU5Hd28a3/qRR55TMCxbZZLYdXf7Ql8s+
 BpO+P6xb4+N9rlawsGNjCUqIOQsGvaoDdw7LOT/rI+IkqVzD7l/u6411xwDnxcKD/0Wb
 9dY/7TsMXyeJkYlCiaR3xrUJDc8QC+0GQCRJ86TiS/GdtI+uqIktOWxDNLG2yleVOjZU
 tayQkqTH/ABm0DxfLS1lGsgPISNGggCqJU/xPn/R5uTc5ddFu10EBu471gd3u+H6gZVz
 aiySnKfImZAaNQeLULgvjbwufFUbHsQiwZks83o6xepcxTW2/1Rae+O2TX0ecCfKNZpC
 8hjA==
X-Gm-Message-State: AO0yUKVJgTxeE/qu6k2m4X2cDlDEbfhAjARJaMqRgiz7Uv2l8YZ151Bb
 GTbecjfutsBUWkIiE7e/oUdSzOmbK6E=
X-Google-Smtp-Source: AK7set9ad8iXIhw+N1blM+gW3+tKYtGsXmMKRqLMj46PjqWn61XuVsmie5hKF62Z/3HwUBb6kaH3zg==
X-Received: by 2002:a62:6205:0:b0:5a9:9ed0:164 with SMTP id
 w5-20020a626205000000b005a99ed00164mr8235212pfb.32.1676750214435; 
 Sat, 18 Feb 2023 11:56:54 -0800 (PST)
Original-Received: from [192.168.2.157] (64-52-138-37.championbroadband.com.
 [64.52.138.37]) by smtp.gmail.com with ESMTPSA id
 k26-20020aa7821a000000b00597caf6236esm4947649pfi.150.2023.02.18.11.56.53
 for <guile-devel@gnu.org>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sat, 18 Feb 2023 11:56:53 -0800 (PST)
Content-Language: en-US
In-Reply-To: <a20e0a05-8257-ee22-4af5-5d47871c0c90@telenet.be>
Received-SPF: pass client-ip=2607:f8b0:4864:20::436;
 envelope-from=matt.wette@gmail.com; helo=mail-pf1-x436.google.com
X-Spam_score_int: -23
X-Spam_score: -2.4
X-Spam_bar: --
X-Spam_report: (-2.4 / 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.256, 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-devel@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Developers list for Guile,
 the GNU extensibility library" <guile-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guile-devel>,
 <mailto:guile-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guile-devel>
List-Post: <mailto:guile-devel@gnu.org>
List-Help: <mailto:guile-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guile-devel>,
 <mailto:guile-devel-request@gnu.org?subject=subscribe>
Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org
Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.lisp.guile.devel:21716
Archived-At: <http://permalink.gmane.org/gmane.lisp.guile.devel/21716>

On 2/18/23 7:58 AM, Maxime Devos wrote:
> On 18-02-2023 04:50, Philip McGrath wrote:
>> I haven't read the patch or this thread closely,
>
> I'll assume you have read it non-closely.
>
>> but R6RS has an answer to any concerns about compatibility with 
>> `#lang`. At the beginning of Chapter 4, "Lexical and Datum Syntax" 
>> (<http://www.r6rs.org/final/html/r6rs/r6rs-Z-H-7.html#node_chap_4>) 
>> the report specifies:
>>
>>>   An implementation must not extend the lexical or datum syntax in 
>>> any way, with one exception: it need not treat the syntax 
>>> `#!<identifier>`, for any <identifier> (see section 4.2.4) that is 
>>> not `r6rs`, as a syntax violation, and it may use specific 
>>> `#!`-prefixed identifiers as flags indicating that subsequent input 
>>> contains extensions to the standard lexical or datum syntax. The 
>>> syntax `#!r6rs` may be used to signify that the input afterward is 
>>> written with the lexical syntax and datum syntax described by this 
>>> report. `#!r6rs` is otherwise treated as a comment; see section 4.2.3.
>
> That is for '#!lang', not '#lang'.  R6RS allows the former, but the 
> patch does the latter.  As such, R6RS does not have an answer about 
> incompatibility with `#lang', unless you count ‘it's incompatible’ as 
> an answer.

I just looked on the web and it appears that #! as first line is a 
comment in JavaScript also.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#hashbang_comments