* [ANN] Guile Hoot 0.4.1 released!
@ 2024-04-30 15:40 Thompson, David
2024-04-30 16:06 ` Vivien Kraus
0 siblings, 1 reply; 3+ messages in thread
From: Thompson, David @ 2024-04-30 15:40 UTC (permalink / raw)
To: Guile User
Hey Guilers!
On behalf of the Spritely Institute, I'm happy to announce that Guile
Hoot 0.4.1 has been released! Hoot is a Scheme to WebAssembly
compiler backend for Guile, which means you can now run Scheme in the
browser for real, tail calls and all.
The highlights of this release are:
* Many bug fixes, some of which fix very serious miscompilations. The
result is that Hoot is starting to feel quite stable! Hoot is now
capable of running all 57 tests in the R7RS benchmark suite, though
one benchmark does not complete within the 5 minute timeout window.
* Initial support for Guile's define-module syntax. Currently limited
to #:pure modules as Hoot does not yet provide the (guile) module
which is implicitly imported by impure modules.
* A built-in development web server for convenience and to simplify
the tutorial in the manual.
Read the full release notes here:
https://spritely.institute/news/guile-hoot-v041-released.html
If you use Guix then it's easy to try out Hoot:
guix pull
guix shell guile-next guile-hoot
One more thing: did you know that the Spring Lisp Game Jam is coming
up? Starting on May 17th, Lispers of all sorts will gather to build
small games over the course of 10 days. Hoot is a *great* option for
making a jam game (and IMO the best Scheme option) because it is very
easy for anyone to try your game in their web browser. To make it
super easy to get started making 2D games with Hoot, we've put
together this template Git repository with everything you need:
https://gitlab.com/spritely/guile-hoot-game-jam-template
Register for the Lisp Game Jam here and join in on the fun!
https://itch.io/jam/spring-lisp-game-jam-2024
Happy hooting! 🦉
- Dave
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ANN] Guile Hoot 0.4.1 released!
2024-04-30 15:40 [ANN] Guile Hoot 0.4.1 released! Thompson, David
@ 2024-04-30 16:06 ` Vivien Kraus
2024-04-30 16:27 ` Thompson, David
0 siblings, 1 reply; 3+ messages in thread
From: Vivien Kraus @ 2024-04-30 16:06 UTC (permalink / raw)
To: Thompson, David, Guile User
Hello!
Le mardi 30 avril 2024 à 11:40 -0400, Thompson, David a écrit :
> * Initial support for Guile's define-module syntax. Currently limited
> to #:pure modules as Hoot does not yet provide the (guile) module
> which is implicitly imported by impure modules.
Could you briefly explain how we can make such a pure module, but which
exports something? I tried to add #:pure to a module of mine, and it
complains that I’m calling define…
Thank you for the release anyway.
Vivien
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ANN] Guile Hoot 0.4.1 released!
2024-04-30 16:06 ` Vivien Kraus
@ 2024-04-30 16:27 ` Thompson, David
0 siblings, 0 replies; 3+ messages in thread
From: Thompson, David @ 2024-04-30 16:27 UTC (permalink / raw)
To: Vivien Kraus; +Cc: Guile User
Hi Vivien,
On Tue, Apr 30, 2024 at 12:06 PM Vivien Kraus <vivien@planete-kraus.eu> wrote:
>
> Le mardi 30 avril 2024 à 11:40 -0400, Thompson, David a écrit :
> > * Initial support for Guile's define-module syntax. Currently limited
> > to #:pure modules as Hoot does not yet provide the (guile) module
> > which is implicitly imported by impure modules.
>
> Could you briefly explain how we can make such a pure module, but which
> exports something? I tried to add #:pure to a module of mine, and it
> complains that I’m calling define…
Here's a short example from the game jam template:
https://gitlab.com/spritely/guile-hoot-game-jam-template/-/blob/main/modules/dom/document.scm?ref_type=heads
I suspect the issue is that you are not importing (scheme base) which
provides the 'define' syntax and all the basic Scheme stuff. A pure
module assumes nothing.
> Thank you for the release anyway.
:)
Hope this helps!
- Dave
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-04-30 16:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-30 15:40 [ANN] Guile Hoot 0.4.1 released! Thompson, David
2024-04-30 16:06 ` Vivien Kraus
2024-04-30 16:27 ` Thompson, David
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).