From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christina O'Donnell Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] add SRFI-119 / language/wisp to Guile? (new patch, squashed) Date: Fri, 19 Jan 2024 12:10:15 +0000 Message-ID: <340c71c5-9e25-d622-8b24-9c18ea373a77@mutix.org> References: <87h6w2fkz8.fsf@web.de> <01212259-37dd-5d67-7bbc-101e01d96d01@telenet.be> <1a6c8dda-0124-124c-f932-937a11386ced@gmail.com> <87fsb5i912.fsf@web.de> <87ttzc7gwa.fsf@gnu.org> <1e0d07bc-dcf8-fe56-7f16-a72e5df0c20d@telenet.be> <875ybr2hk9.fsf@gnu.org> <87v8jrdmk5.fsf@web.de> <87jzzr7cba.fsf@web.de> <87v8hc8i8v.fsf@web.de> <87legrs23a.fsf@gnu.org> <209e68fd-b010-8213-6c9b-a0d1b8f0f72c@telenet.be> <87o7jf2slw.fsf@web.de> <875y5h8j04.fsf@web.de> <87il9ctzhl.fsf@gnu.org> <875y5cdyvt.fsf@web.de> <87sf7omuag.fsf@web.de> <877co1jgww.fsf@web.de> <875y3egjtd.fsf@web.de> <87sf5v67k5.fsf@web.de> <87mstf9e67.fsf@web.de> 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="5871"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Cc: guile-devel@gnu.org, =?UTF-8?Q?Ludovic_Court=c3=a8s?= To: "Dr. Arne Babenhauserheide" Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Fri Jan 19 15:02:25 2024 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 1rQpRx-0001Kd-BC for guile-devel@m.gmane-mx.org; Fri, 19 Jan 2024 15:02:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQpRg-00028P-OQ; Fri, 19 Jan 2024 09:02:08 -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 ) id 1rQnsO-0001zG-EW for guile-devel@gnu.org; Fri, 19 Jan 2024 07:21:37 -0500 Original-Received: from vmi993448.contaboserver.net ([194.163.141.236] helo=mutix.org) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQnsM-0002Cb-F6; Fri, 19 Jan 2024 07:21:36 -0500 Original-Received: from [192.168.1.170] (host86-132-246-87.range86-132.btcentralplus.com [86.132.246.87]) (Authenticated sender: cdo) by mutix.org (Postfix) with ESMTPSA id 81364A634E5; Fri, 19 Jan 2024 13:10:18 +0100 (CET) Content-Language: en-US In-Reply-To: <87mstf9e67.fsf@web.de> Received-SPF: pass client-ip=194.163.141.236; envelope-from=cdo@mutix.org; helo=mutix.org X-Spam_score_int: -49 X-Spam_score: -5.0 X-Spam_bar: ----- X-Spam_report: (-5.0 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-3.044, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 19 Jan 2024 09:02:02 -0500 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:22270 Archived-At: Hi Arne, On 09/01/2024 07:05, Dr. Arne Babenhauserheide wrote: > It’s a new year — any chance for one more look whether adding SRFI-119 > in Guile is ok to merge? As a disclaimer, I'm a Scheme newbie, but I think my opinion may have /some/ value. On its own, Wisp seems like a better syntax for tooling that looks at files as a list of lines, rather than as a tree of S-expressions. For example, the diff tool looks for changes in lines, so when adding a value to the end of a list it will always show 1 extra line removed and then added again with one less paren. For example (from a record definition):    (device-tree-support? bootloader-configuration-device-tree-support? -                         (default #t)))   ;boolean +                         (default #t))    ;boolean +  (extra-initrd          bootloader-configuration-extra-initrd +                         (default #f)))   ;string | #f Whereas in Wisp syntax, you'd simply get:    device-tree-support? bootloader-configuration-device-tree-support?                          default #t   ;boolean +  extra-initrd          bootloader-configuration-extra-initrd +                        default #f   ;string | #f Likewise, commenting code in scheme is a pain because code-commenting is done by line. R6RS comments (#;) aren't implemented in Guile to my knowledge. So parenthesis aware commenting is left up to the editor to implement. I could say the same about editors like Vim and many other editors that see the world as a list of lines. However it could cause some fragmentation of the community as peoples editors are set up for Lisp and not Wisp or vice versa. Though, I think that could be mostly resolved if there was a script that could convert Wisp to Lisp and back. Ideally such that on a large code base there's very few instances where Lisp -> Wisp -> Lisp produces changes the code even by white-space. But, I don't know whether even then you'd find much interest from the other maintainers. Kind regards,  - Christina