From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Damien Mattei Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] add SRFI-119 / language/wisp to Guile? (new patch, squashed) Date: Sat, 20 Jan 2024 12:01:51 +0100 Message-ID: References: <87h6w2fkz8.fsf@web.de> <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> <340c71c5-9e25-d622-8b24-9c18ea373a77@mutix.org> <877ck5t370.fsf@elephly.net> <22ec8c54-fca0-b797-9c03-f2cc461dea6a@mutix.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d08c89060f5e8694" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27003"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-devel@gnu.org To: "Christina O'Donnell" Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Sat Jan 20 12:02:21 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 1rR97F-0006mJ-DH for guile-devel@m.gmane-mx.org; Sat, 20 Jan 2024 12:02:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rR974-0002Va-Hf; Sat, 20 Jan 2024 06:02:10 -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 1rR971-0002VF-Tu for guile-devel@gnu.org; Sat, 20 Jan 2024 06:02:08 -0500 Original-Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rR96z-0002lA-PT for guile-devel@gnu.org; Sat, 20 Jan 2024 06:02:07 -0500 Original-Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-40e9d288f45so18126955e9.2 for ; Sat, 20 Jan 2024 03:02:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705748524; x=1706353324; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2DOHArsK5fzDTnA1kh4ymCQHTi6V3Oom85UXeddc8sU=; b=PfTaRKPf4P+qAq9OAGeCtmJAvNK76v1ocuxbTkxM63DXrjXLCBmLHbpznyTdQa9WSg FuhUhbMt1QOKBaNFhl96BYjWQAEg0/3i6HzZ8Wp65PhuOSiW5vMdjcSpLa6DHBbfgnbL oRQpZ2TzVh2pCSPwqTrvcNb9DEPyGEz51xecYtaRm7iNiT7pno0gDysIhIaxiTj25wzY LHCxQVygcWJL1srsfufDRAZCuEd/heJbVPGI6eDVy3lSu4i3Iqz54Fr5o4Q1n4WUeUiE CSkST6u5VR/d5oep0qhW+r6g+Wds+wjQTE0vGX5nbeqmFh6rcwtJBETB62sIiuGI/3vX +g7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705748524; x=1706353324; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2DOHArsK5fzDTnA1kh4ymCQHTi6V3Oom85UXeddc8sU=; b=U3xQuaf/kHOvvlYhgumQDDgllrmUAeK40dY9L9yQjpqzoKELttJjrC8j9r1owP/CVx C8YZs6YRefkbOnmC9axf2/4l/yT2Gq+SU69opAHy5xq14p4DX4pIWHXyRzWcZXHN8Mee YUDz4MCpAUuSS4McvUDCxAjvPSvga6/bBBszqX1sOUqeBY9Glp60eU1cuGoYKoV/Nwrs POKR0bKU5IXi1qG+uHawW80dN6mhNBnwpp3V6VmX9KfAcVlrnsptOfXZwRRf0EziNbNj Kr3j8CPT6k5lQqXc8s4hKY9zilXK2qb5zzfK7cXhzoTmuC6KhbFSuFMvmv7UxkBhm/eB 84wg== X-Gm-Message-State: AOJu0YxByUwLiA4iG4w/9pLGYKTf6lyEH6EEiMyGCgWf9G4FUmmttwaL Rx3XyK4NvZda0TSTIeKihh+GsJRNN3Z/PXFDeAtNmyXBoJzO4wSk8nrUFe208ynqyaWDc047wXY 9S+HlICWN2EtT20W2QzkjaxqDvN9ekmOtY/I= X-Google-Smtp-Source: AGHT+IGlYKWmcVjQjLCr0LHjSX3+FyLJGsEG0aJzy0nPJHOtnUBGRe5HKnJhFBDt5cSSKRt0lP5ULATGtn2DjxRlAHQ= X-Received: by 2002:a05:600c:851a:b0:40e:8f3e:73dc with SMTP id gw26-20020a05600c851a00b0040e8f3e73dcmr460993wmb.105.1705748523419; Sat, 20 Jan 2024 03:02:03 -0800 (PST) In-Reply-To: <22ec8c54-fca0-b797-9c03-f2cc461dea6a@mutix.org> Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=damien.mattei@gmail.com; helo=mail-wm1-x332.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" 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:22274 Archived-At: --000000000000d08c89060f5e8694 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable hello Christina, i just add a #; support in Scheme+ : https://github.com/damien-mattei/Scheme-PLUS-for-Guile Scheme+ is an extension syntax to Scheme. It goes in the opposite direction of Wisp or Rhombus (based on Racket) by keeping the same number of parenthesis, but they are just differents : ( ), { }, [ ] and it allow the use of infix expressions. It is my idea, i think Scheme musk keep a strong identity with parenthesis. Parenthesis have advantage on indentation (and inconvenient i admit). For example if you comment a single line of indented code (python for example) that was used to define a loop you have to reindent all the body code in the loop. If you want to move a block of indented code you then have to re-indent it specifically for the new place too. Anyway scheme and scheme+ ,C ,C++ code are still indented for readness even if parentheses would be enough to validate the syntax. Regards, Damien On Fri, Jan 19, 2024 at 10:47=E2=80=AFPM Christina O'Donnell wrote: > Hi Ricardo, > > > #; works in Guile. > > Ah, that's my bad. > > - Christina > > --000000000000d08c89060f5e8694 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
hel= lo Christina,
<= br>
i just add = a #; support in Scheme+=C2=A0 : https://github.com/damien-mattei/Scheme-PLUS-for-Gu= ile
Scheme+= is an extension syntax to Scheme. It goes in the opposite direction of Wis= p or Rhombus (based on Racket) by keeping the same number of parenthesis, b= ut they are just differents : ( ), { }, [ ] and it allow the use of infix e= xpressions. It is my idea, i think Scheme musk keep a strong identity with = parenthesis.
Pa= renthesis have advantage on indentation (and inconvenient i admit). For exa= mple if you comment a single line of indented code (python for example) tha= t was used to define a loop you have to reindent all the body code in the l= oop. If you want to move a block of indented code you then have to re-inden= t it specifically for the new place too.
Anyway scheme and scheme+ ,C ,C++ code are still = indented for readness even if parentheses would be enough to validate the s= yntax.

Regards,

Damien

On Fri, Jan 19, 20= 24 at 10:47=E2=80=AFPM Christina O'Donnell <cdo@mutix.org> wrote:
Hi Ricardo,

> #; works in Guile.

Ah, that's my bad.

- Christina

--000000000000d08c89060f5e8694--