Hello Vivien
On 17.12.24 17:33, Vivien Kraus wrote:
Dear Guile users,
syntax-case macros can have cool side effects at expansion time.
However, they are still draped in a veil of mystery to me.
Consider this code:
(define-syntax hello
(lambda (stx)
(syntax-case stx ()
(_
Hi Tommi,
> G-Golf version 0.8.0~rc9-1 has been released in Debian and Ubuntu. See
> * https://www.gnu.org/software/g-golf/
> * https://www.iki.fi/tohoyn/g-golf-debian/
> * https://tracker.debian.org/pkg/g-golf
Great, thanks,
David
pgpw7l8UWsFHd.pgp
Description: OpenPGP digital signature
On Fri, Dec 20, 2024 at 4:12 PM Maxime Devos via General Guile related
discussions wrote:
> >According to the manual Ludovic Courtès and Andy Wingo are the current
> maintainers. Although it hasn’t been updated in 5 years.
>
> https://www.gnu.org/software/guile/manual/html_node/A-Scheme-of-Many-M
Hello!
Le vendredi 20 décembre 2024 à 10:15 +0100, Maxime Devos a écrit :
> (define-syntax hello
> (lambda (stx)
> (syntax-case stx ()
> (_
> (begin
> (format (current-error-port) "Hello!\n")
> (datum->syntax #f "hello"))
>
> You can simplify this to:
>
>According to the manual Ludovic Courtès and Andy Wingo are the current
>maintainers. Although it hasn’t been updated in 5 years.
https://www.gnu.org/software/guile/manual/html_node/A-Scheme-of-Many-Maintainers.html
>
>But I guess that would be a good place to update if it’s changed.
I recall hea
According to the manual Ludovic Courtès and Andy Wingo are the current
maintainers. Although it hasn’t been updated in 5 years.
https://www.gnu.org/software/guile/manual/html_node/A-Scheme-of-Many-Maintainers.html
But I guess that would be a good place to update if it’s changed.
Nate Rosenbloom
(To: line is incorrect, current e-mail program doesn’t have an option to fix
the name.)
It’s surprisingly hard to find a list of current Guile maintainers – lots of
individual update messages of the kind “welcome new maintainer” and “bye-bye &
sadness & well-wished for old maintainer leaving”,
>
>
> So my guess is that syntax objects are expanded lazily. Is there
> something I can do to get #'world expanded before #'hello?
>
More accurately, it's Normal Order for macro and special form (actually
it's another fancy name of internal implemented macro), you may want to
take a look through
>syntax-case macros can have cool side effects at expansion time.
>However, they are still draped in a veil of mystery to me.
> Consider this code:
(define-syntax hello
(lambda (stx)
(syntax-case stx ()
(_
(begin
(format (current-error-port) "Hello!\n")
(datum