From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Dr. Arne Babenhauserheide" Newsgroups: gmane.lisp.guile.user Subject: Re: Does declaration order matter in guile? Date: Tue, 14 Feb 2023 21:26:54 +0100 Message-ID: <87mt5gj78c.fsf@web.de> References: <3c8f41c0-2978-1ab8-b265-a8ab59030929@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15757"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.13; emacs 28.1 Cc: Taylan Kammer , guile-user@gnu.org To: wolf Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Feb 14 21:57:50 2023 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 1pS2N4-0003qq-Ii for guile-user@m.gmane-mx.org; Tue, 14 Feb 2023 21:57:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pS2MX-0008BM-LM; Tue, 14 Feb 2023 15:57:17 -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 1pS2MV-00089e-HY for guile-user@gnu.org; Tue, 14 Feb 2023 15:57:15 -0500 Original-Received: from mout.web.de ([212.227.17.12]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pS2MS-0001yi-V5 for guile-user@gnu.org; Tue, 14 Feb 2023 15:57:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1676408229; bh=iGzQFxmSou66GCmgDMAbNH8aYTRL+nCDZ6aoRizqCTU=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to; b=szAnKFuqh78koH4SOYpcxtHacZSxg3MIwB1kQFZ9D/VX7rSHQmO/jLK6Z+fVh6+/+ 80ciYsUWieqgm5js/4JKD+nfkXUrxM2MG/fICwVbEi0+2qDx0U1zIIJyoctkuFdhGy fqzBruo+9/Gk2J2ifEdZArqiYvEZeBvIwztkvOFcl9QFlGIUh5FaTo0wvj/A4fGZgK pwfvRB3DdGmnlSQQvOm0/9jQaHQM+gwVUSOdFE6CrMhVuiQ0L6IO5hqRSJcNOnTGI6 AdzcB5iS7x5FWw+AtBAxo5O3PsSpI3DOMigTdKZ8XJEpC9PZVyzCX546s/86vwspdQ B8rbG/LTPUU9g== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from fluss ([84.149.95.143]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1N4eCL-1oSTJK1nTb-011jKN; Tue, 14 Feb 2023 21:57:09 +0100 In-reply-to: X-Provags-ID: V03:K1:x60j+Qw9g4Dkg/mzFUCR9E8E9r5DWACq/4KcjKcUBD1aLdW5lqk AOQRx/TltXhh4o8cVLcXrrXemxLgTYyaM16dh6ChMtZsTekW2wxM3CAtCYxpVtHCuTgGI/k bevEf8Ak/d7osCA9EmFP0RLX2h2sikHThniyTdSiD1d+z2gc6h4oB3MS2Z+gk4eCaymzGuj r1iWGhiP7Ra/ZVHiayP5g== UI-OutboundReport: notjunk:1;M01:P0:ydp2uH6Z2zA=;P6o0OzrO1ER2WUizgpNqzU3ENoP NDiHvpRyL4igacJXgJFGG/Qvs7DZl1GRC6HWP5RygkjpUiptP8cfu7+aMWGDm3FBNkyb2Xdmn LNu9H9X3hTRZxdUDYypz29qpdQ1AZ7xdlm0oh3b+xVI6ZZg9VFHLhFcDky3dQBqn2lQCA0Rct rYTep9+bgb+l0NABhTTKR/pJZsm+4RCY0O6aFq3Sa0FfpBPA7UfSz8mWSV4deME9SRDblRXRd 5UYwN/Src5Tzu/yBu1u7NIfZmCg5qtAxuwTcCY6Spz9YlOlSGTn2IIoU5PqWRDt9AiXP5+fSR joy8yUJiY9oBgvoSJ9k3Vq0kXQ4vwN66j5JV+AeqNTUDYQ9f/ri2o8RIkfOVElVWyEkanlmkh cDX5VUgK+hXOJQrWnhM5MIeGLI+P/EpjsUFGuutn1ePlRHeaxHqee/gTHp5EyaxT2zAjhFuSs +Iutl6LQLMGOBDOVGCDhLSY4kZ/93k8EMr52wSjjw3iOqqdDeozVudXbK6XiuXifF3slgnyyF gmW2m11V4rwSiC0IsWcQhU94oPuXwqrLqarXeH09PTuY1HU/7ibRCZDXVcSpeTS+a1fBuPpej elFa30xpnAz4lvMNP0ZSuDWxQ+ayG1JPvwvsDL/ROUT2xxp4dZZ/WK+Y9ou6SBa/XZuMlmXC3 QhOB3SYnLDqyCdbadOUMzxJ86a3AeDFzP2YbWaM5PBOpa9zWsgbGH5JPWrF5dmh5e4wSmIN+M cQtMwKXMVUje+yea7eI1LC2B2gZyZMc2BBgDw2HssA4nnklKzrphiefo4q2Ziq1tpUavENI3 Received-SPF: pass client-ip=212.227.17.12; envelope-from=arne_bab@web.de; helo=mout.web.de 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.29 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-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:18909 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable wolf writes: >> 1. You bind 'foo' to the syntax transformer. >>=20 >> 2. During the compilation of (foo y), the compiler calls the syntax tran= sformer to >> affect the generation of code, so it will do the right thing. > > Interesting, I think I understand the difference. So in some ways this ca= n be > compared to the C pre-processor? Is there a way to view the resulting code > after all the transformations were applied? In the guile shell you can use ,expand (foo 1) to see what it expands to. Also see ,h compile > Meaning that if I want to use the many guile- libraries available under g= uix > and elsewhere, the most pragmatic approach would be to just not care abou= t R6RS > vs R7RS all that much, and just do what guile manual recommends. Correct? R7RS vs. R6RS isn=E2=80=99t that big of a difference in Guile, because it m= ostly supports both and you can mostly use either of them. R7RS is cleaner is some ways and managed to re-unite some of the Scheme implementations (that were split between R5RS and R6RS). So knowing R7RS means that you can make your code run in a much larger number of domains, and you can keep many of your skills even when moving from mostly server-side webdev (i.e. Chicken or Guile=C2=B9) to embedded (Chibi), or to shipping binaries(i.e. Gambit or bigloo), or even Java/JWM (kawa), or to others (see https://ecraven.github.io/r7rs-benchmarks/). Why Guile? https://www.draketo.de/software/guile-10x Why others? https://wingolog.org/archives/2013/01/07/an-opinionated-guide-t= o-scheme-implementations =C2=B9: partially moving into clientside via Guilescript or others: https://www.draketo.de/software/wisp#guilescript-2023-01-10 https://srfi-email.schemers.org/schemeweb/msg/11606995/ https://github.com/schemeweb/wiki/wiki/frontend Also Spritely started working on Guile on WebAssembly: https://spritely.institute/news/guile-on-web-assembly-project-underway.html Best wishes, Arne =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein, ohne es zu merken. draketo.de --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFi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