Re: Moving Fibers to Codeberg

2025-06-27 Thread Thompson, David
On Fri, Jun 27, 2025 at 3:32 PM Greg Troxel wrote: > > Nala Ginrut writes: > > > Hi Ludo! > > If you are looking for a new CI/CD solution, maybe you could take look at > > Byggsteg which is implemented with Guile and Artanis. > > > > https://codeberg.org/jjba23/byggsteg > > As someone pondering a

Re: Web IDL parser for Guile (was: Re: [ANN] Hoot 0.6.1 released!)

2025-06-06 Thread Thompson, David
Hi Ricardo, On Fri, Jun 6, 2025 at 3:36 PM Ricardo G. Herdt wrote: > > Hi, > > Motivated by this discussion I took the chance to have some fun writing > parsers and > wrote one for Web IDL files in Guile: > > https://codeberg.org/rgherdt/webidl-parser Wow, this is awesome!!! > Actually there ar

Re: [ANN] Hoot 0.6.1 released!

2025-05-19 Thread Thompson, David
Hey Daniel, On Mon, May 12, 2025 at 1:48 PM Daniel Skinner wrote: > > I wrote a very haphazard idl parser during the last lisp game jam. I dont > recommend using it for a number of reasons (for one, I don't have experience > in designing scheme libraries for reuse) but it was enough to identify

Re: [ANN] Hoot 0.6.1 released!

2025-05-12 Thread Thompson, David
Hi Nala, On Tue, May 6, 2025 at 8:36 PM Nala Ginrut wrote: > > Congrats! > I've read the article about Hoot work with DOM. Will this be an official > library or framework? We don't currently have any plans to release a UI framework, but it would be nice to have libraries that provide essential

[ANN] Hoot 0.6.1 released!

2025-05-06 Thread Thompson, David
Hey Guilers, On behalf of the Spritely Institute, I'm happy to announce that Hoot 0.6.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. This release contains the accumulated bug fixes a

Re: Hashing a procedure object reliably

2025-04-11 Thread Thompson, David
Hi Olivier, On Fri, Apr 11, 2025 at 9:50 AM Olivier Dion wrote: > > Like mentioned in the comment (look for the `(procedure? value)' > clause), this does _not_ yield the same hash for a procedure if the > module where this procedure came from is compiled. And it's not > possible to pass the proc

[ANN] Spritely Goblins 0.15.1 released!

2025-03-26 Thread Thompson, David
Hey Guilers! On behalf of the Spritely Institute, I'm happy to announce that Goblins 0.15.1 has been released! Goblins is a distributed object programming environment that provides an intuitive security model, automatic local transactions for locally synchronous operations, and an easy to use and

Re: How to include global HTML attributes in posts in Haunt Static Site Generator

2025-03-21 Thread Thompson, David
On Fri, Mar 21, 2025 at 10:05 AM Pon Arun Kumar R wrote: > > Thank you Tomas and Dave for sharing your inputs! > > I tried the following steps > 1. Downloaded haunt-0.3.0.tar.gz > 2. Extracted the source code tar -xvzf haunt-0.3.0.tar.gz > 3. tried ./configure > 4. Installed guile-3.0-dev using ap

Re: How to include global HTML attributes in posts in Haunt Static Site Generator

2025-03-21 Thread Thompson, David
On Thu, Mar 20, 2025 at 5:50 PM Tomas Volf <~@wolfsden.cz> wrote: > > Pon Arun Kumar R writes: > > > Questions: > > 1. Which module in haunt needs to be modified? is it the module where the > > metadata key value pairs are passed on to render the html? > > I do not think there is anything in haunt

Re: [ANN] Guile Blocks 0.2 - Now with Hoot!

2025-03-15 Thread Thompson, David
Hi Richard, On Fri, Mar 14, 2025 at 7:56 PM Richard Sent wrote: > > Hi all! > > I'm happy to announce that Guile Blocks 0.2.0 has released. Guile Blocks > is an Org Mode inspired implementation of source blocks in Guile Scheme. > > I have a webpage published with Haunt that demonstrates some of t

Re: [ANN] Guile Hoot 0.6.0 released!

2025-01-23 Thread Thompson, David
Hey Arne, On Thu, Jan 23, 2025 at 11:35 AM Dr. Arne Babenhauserheide wrote: > > I’ve seen expander notes in there. Does that mean that Hoot now supports > syntax-case? Are you referring to support on the host or the target? Hoot has supported syntax-case on the host since 0.1 and we use it a lot

[ANN] Guile Hoot 0.6.0 released!

2025-01-22 Thread Thompson, David
Hey Guilers! On behalf of the Spritely Institute, I'm happy to announce that Guile Hoot 0.6.0 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. Read the release notes here: https://sprit

Support the Spritely Institute!

2024-12-03 Thread Thompson, David
Hey Guilers, As some of you may already know, the Spritely Institute is building new foundations for the internet; technology that is safer, decentralized, distributed, and community-centric. But we can't continue on without *you*! Today, Spritely has launched its first ever supporter drive and we

Re: Setting variables in declarative modules

2024-11-01 Thread Thompson, David
Hi Tommi, On Thu, Oct 31, 2024 at 10:30 PM Tommi Höynälänmaa wrote: > > Suppose that I have the following code in a Guile module: > --- > (define fw-proc #f) > > (define (my-proc x) > (display (fw-proc x))) > > (define (fw-proc x) > (cons x x)) > --- > > Can I declare the module as declar

[ANN] Spritely Goblins 0.14.0 released!

2024-09-19 Thread Thompson, David
Hey Guilers! On behalf of the Spritely Institute, I'm happy to announce that Goblins 0.14.0 has been released! Goblins is a distributed object programming environment that provides an intuitive security model, automatic local transactions for locally synchronous operations, and an easy to use and

Re: [critical bug] The set! doesn't work in indirect reference

2024-09-18 Thread Thompson, David
On Wed, Sep 18, 2024 at 10:38 AM Nala Ginrut wrote: > > The result is: > ;;; (before #f) > ;;; (after #f) > > The expected result should be: > ;; (before #f) > ;; (after 123) I don't think this is a bug. Both modules are declarative (the default). 'global' from module (aaa) is presumably being in

[ANN] Guile Hoot 0.5.0 released!

2024-09-06 Thread Thompson, David
Hey Guilers! On behalf of the Spritely Institute, I'm happy to announce that Guile Hoot 0.5.0 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: * Sche

Re: [ANN] Cirkoban: A new puzzle game from the Spritely Institute

2024-06-03 Thread Thompson, David
Hello again! On Tue, May 28, 2024 at 9:51 AM Thompson, David wrote: > > Hey Guilers, > > I'm happy to announce the Spritely Institute's entry into the Spring > Lisp Game Jam 2024: Cirkoban! > > https://davexunit.itch.io/cirkoban > > Cirkoban is our take on

Re: guile hoot and ArrayBuffer

2024-06-01 Thread Thompson, David
Hi Daniel, On Sat, Jun 1, 2024 at 4:15 PM Daniel Skinner wrote: > > I'm wondering if it's possible (or on the roadmap, or if the question is > even sane) to have the various bytevector functions operate upon passed in > ArrayBuffer. Not currently possible, unfortunately. Wasm GC has some growing

[ANN] Cirkoban: A new puzzle game from the Spritely Institute

2024-05-28 Thread Thompson, David
Hey Guilers, I'm happy to announce the Spritely Institute's entry into the Spring Lisp Game Jam 2024: Cirkoban! https://davexunit.itch.io/cirkoban Cirkoban is our take on a Sokoban-like game that blends block pushing with the Wireworld cellular automaton. The game was made as a demonstration of

Make a game with Hoot for the Lisp Game Jam!

2024-05-15 Thread Thompson, David
Hey Guilers, The latest edition of the Lisp Game Jam [0] starts this Friday, May 17th! The Spritely Institute wants to encourage the Guile community to try making HTML5 games using Hoot, a Scheme to WebAssembly compiler. The jam lasts 10 days, spanning two weekends, and it's always a lot of fun!

Re: syntax? in scheme/Guile

2024-05-13 Thread Thompson, David
Hi Damien, On Mon, May 13, 2024 at 4:43 AM Damien Mattei wrote: > > any idea for a predicate for syntax object in Guile/scheme like exist in > Racket 'syntax?' ? This predicate is in the (system syntax) module in Guile. > - what is a wrapped syntax object? Syntax objects are part of the syntax

Re: [ANN] Guile Hoot 0.4.1 released!

2024-04-30 Thread Thompson, David
Hi Vivien, On Tue, Apr 30, 2024 at 12:06 PM Vivien Kraus 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 (gui

[ANN] Guile Hoot 0.4.1 released!

2024-04-30 Thread Thompson, David
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

[ANN] Spritely Goblins 0.13.0 released!

2024-04-23 Thread Thompson, David
Hey Guilers! On behalf of the Spritely Institute, I'm happy to announce that Goblins 0.13.0 has been released! Goblins is a distributed object programming environment that provides an intuitive security model, automatic local transactions for locally synchronous operations, and an easy to use and

Re: [ANN] Guile Hoot 0.4.0 released!

2024-04-09 Thread Thompson, David
On Tue, Apr 9, 2024, 6:37 PM Nala Ginrut wrote: > Congrats! > I'm considering to integrate Hoot in Artanis, so that folks may write both > web front/backend with Scheme. > Whoa, awesome! That would be so cool. Share updates if/when you have them. :) - Dave

[ANN] Guile Hoot 0.4.0 released!

2024-04-09 Thread Thompson, David
Hey Guilers! On behalf of the Spritely Institute, I'm happy to announce that Guile Hoot v0.4.0 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: * Hoot

[ANN] Haunt 0.3.0 released

2024-02-19 Thread Thompson, David
Hey Guilers, I'm happy to announce that Haunt 0.3.0 has finally been released! Haunt is a static site generator that uses the Guile Scheme as its configuration language. It aims to be simple, functional, and extensible. Notable changes include the new 'haunt publish' command, new "flat page" and

Re: unusual let binding (of lp) - in function element->xml from sxml simple

2024-02-03 Thread Thompson, David
Hi Andreas, On Sat, Feb 3, 2024 at 4:49 PM Andreas Reuleaux wrote: > sxml->xml making use of element->xml above. > Now with regards to the binding / usage of lp above: it is > bound / used several times: > > > (let lp ((attrs attrs)) ... > let lp be a function that ... does what? > >

Guile Hoot v0.3.0 released!

2024-01-30 Thread Thompson, David
Hey Guilers! On behalf of the Spritely Institute, I'm happy to announce that Guile Hoot v0.3.0 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: * Part

[ANN] Spritely Goblins 0.12.0 released!

2024-01-22 Thread Thompson, David
Hey Guilers, On behalf of the Spritely Institute, we are happy to share that Spritely Goblins 0.12.0 has been released! Goblins is Spritely's distributed object programming environment with implementations for both Guile and Racket. Goblins provides an intuitive security model, automatic local t

Re: symbol is nested in #{ ...... }#

2024-01-04 Thread Thompson, David
On Thu, Jan 4, 2024 at 6:36 AM Damien Mattei wrote: > > thank you very much Tomas, > it solved my problem: > (symbol->keyword (list->symbol > me too i was digging the manual for 2 hours :-) > Damien > note: seems a bit weird anyway that guile react differently in this case > than Kawa and Rac

Re: Scheme in Scheme on Wasm in the browser

2023-12-15 Thread Thompson, David
On Fri, Dec 15, 2023, 5:31 PM Skyler Ferris wrote: > Is there an RSS or Atom feed for Spritely news? I don't see one on the > web page. > We need to put a feed icon on the site to make this discoverable, but here's our atom feed: https://spritely.institute/feed.xml >

Scheme in Scheme on Wasm in the browser

2023-12-15 Thread Thompson, David
Hey Guilers, It's new blog post day over at Spritely! In this post, we build a small "metacircular evaluator", SICP style, and run it in the browser with Guile Hoot. This interpreter, while very simple (lacking top-level variable binding, error handling, and more!), is a stepping stone on the path

Re: Guile Hoot v0.2.0 released!

2023-12-11 Thread Thompson, David
On Mon, Dec 11, 2023 at 12:03 PM Daniel Skinner wrote: > > > I don't think I quite understand what's going on. Are you passing over > > WebAssembly.Instance objects as the event data to the AudioWorklet? > > Not the instance, but rather WebAssembly.Module via compileStreaming as the > instance i

Re: Guile Hoot v0.2.0 released!

2023-12-11 Thread Thompson, David
Hi Daniel, On Mon, Dec 11, 2023 at 12:53 AM Daniel Skinner wrote: > > I hit a snag trying to use in an AudioWorklet so was resolving that instead > of making something more interesting. I worked it out which required a change > to the reflect.js instatiate_streaming to allow referencing already

Guile Hoot v0.2.0 released!

2023-11-30 Thread Thompson, David
Hey Guilers! On behalf of the Spritely Institute, I'm happy to announce that Guile Hoot v0.2.0 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: * Near

Re: Is it possible to write program only in Guile?

2023-10-18 Thread Thompson, David
I'm assuming that for whatever you're doing, traditional OS distribution isn't what you want. It's possible to bundle Guile + all necessary shared libraries + all necessary Guile modules from the standard library + a wrapper script to launch your application. Up to you to figure out how you build

Re: Breaking hygiene with syntax-rules?

2023-08-14 Thread Thompson, David
Hi Walter and Arne, On Sat, Aug 12, 2023 at 2:09 AM Dr. Arne Babenhauserheide wrote: > > > Walter Lewis writes: > > >> By the way, I'm rather confused as to why you deem this caching > >> useful. A priori, I would expect a simple bytevector->pointer call > >> would be just as fast as a to-pointe

Re: Evaluation with function whitelist

2023-07-15 Thread Thompson, David
Hey Ryan, Mike, Arne, On Sat, Jul 15, 2023 at 6:48 AM Dr. Arne Babenhauserheide wrote: > > Mike Gran writes: > > >>good choice. Basically, I want the user to be able to open a repl shell, > >>but by default it should have *no* bindings except the ones I whitelisted. > > Define a module in a file

Re: Recommended project structure

2023-06-09 Thread Thompson, David
Hi! On Thu, Jun 8, 2023 at 6:44 PM wolf wrote: > > Greetings, > > I am starting a small, personal project and I want to write it in GNU Guile, > since I really like it so far. However, since one of the major goals is for > this to be a learning experience and doing it "the right way", I wanted t

[ANN] Chickadee 0.10.0 released

2023-05-24 Thread Thompson, David
Hey Guilers, Happy to announce that Chickadee 0.10.0 has been released! Chickadee is a game development library for Guile. Not a ton of new stuff this time around, but notably Chickadee has been relicensed from GPLv3 to Apache 2.0. For more details and download links, check out the full release n

[ANN] Guile-OpenGL 0.2.0 released

2023-05-13 Thread Thompson, David
Hey Guilers, I have recently become the new maintainer of Guile-OpenGL and I'm happy to announce that version 0.2.0 has been released! 0.1.0 was released all the way back in 2014(!!) and the build system requires multiple hacks to build with Guile 3. This release is primarily to fix those issues

[ANN] Spritely Goblins 0.11.0 released!

2023-05-08 Thread Thompson, David
Hey Guilers, The Spritely team is excited to announce Goblins 0.11.0 for Guile! (And Racket, too, but you're reading guile-user!) Highlights from this release: * A new time-traveling distributed debugger * Substantially improved documentation and docstrings * Several more actor-lib modules porte

Introducing: A distributed debugger for guile-goblins with time travel

2023-04-12 Thread Thompson, David
Hey Guilers, Over at the Spritely Institute we've been working on the problem of debugging distributed programs and we're excited to share our first progress update! The tl;dr is that we have landed an initial set of REPL commands that can be used to debug multiple event loops in a single Guile pr

[ANN] guile-syntax-highlight 0.2.0 has been released

2022-12-11 Thread Thompson, David
Hello Guilers, I'm happy to announce that Guile-syntax-highlight 0.2.0 has been released! This is a pretty slow moving project but the last (and only) release was in 2018 so this release is long overdue. Guile-syntax-highlight is a general-purpose syntax highlighting library for Guile. It can par

Re: [EXT] relocatable guile on windows

2022-12-07 Thread Thompson, David
Hi Mike, On Sat, Dec 3, 2022 at 9:49 PM Mike Gran wrote: > > Hello Guile, > > The Lisp Game Jam was a few weeks ago, and in prep, I took a stab an > making Guile work better on Windows, using MinGW MSys64 UCRT64 for > compilation. Little did I imagine that it would take a couple months > to make

[ANN] guile-websocket 0.1 released

2022-11-12 Thread Thompson, David
Hello Guilers, I'm slightly embarrassed but also pleased to announce the release of guile-websocket 0.1! It's an implementation of both the client and server sides of the WebSocket protocol as specified in RFC 6455. I wrote this code back in 2015 because I actually had time to hack back then and

[ANN] Chickadee 0.9.0 has been released

2022-10-25 Thread Thompson, David
Hello Guilers, Chickadee 0.9.0 has been released! Chickadee is a game development toolkit for Guile. Release notes and download links can be found here: https://dthompson.us/chickadee-090-released.html This release comes just in time for the 2022 Lisp Game Jam, which begins on Friday, 10/28! Con

[ANN] Guile-SDL2 0.8.0 released

2022-10-23 Thread Thompson, David
Hi Guilers, Guile-SDL2 0.8.0 has been released! Guile-SDL2 provides FFI bindings to the SDL2 library. Release notes and download links can be found here: https://dthompson.us/guile-sdl2-080-released.html In related news, I am co-hosting the 2022 Lisp Game Jam which starts on Friday 10/28. It wou

Re: [EXT] What do you use to make HTTP requests?

2022-08-10 Thread Thompson, David
Hi James, For whatever it's worth, I prefer Guile's built-in web modules, especially now that they can handle https. - Dave On Wed, Aug 10, 2022 at 4:41 AM James Crake-Merani wrote: > Hi, > > I'm just curious as to which library people prefer. I know Guile comes > with its web libraries that l

Re: [EXT] Re: guile program distributed as single executable?

2022-06-07 Thread Thompson, David
It doesn't actually generate standalone binaries. It is very hacky but it can produce redistributable tarballs for a specific use-case (games using chickadee) by including shared libraries and other bits from the host system. Standalone executables will not really be possible until Guile's compile

Re: [EXT] Re: [EXT] Use Chickadee to render animation to file?

2022-06-01 Thread Thompson, David
Hi Arne, For simply recording gameplay, I recommend using OBS. You can easily capture the game window *and* sound with it and have a lot of control over the video encoding process. It's how I made this video: https://www.youtube.com/watch?v=N8t2tdZ3hRI Hope that helps, - Dave On Wed, Jun 1,

Re: [EXT] Re: Chickadee 0.8.0 released

2022-05-31 Thread Thompson, David
ure I could update the version check in the configure step, but > wanted to know if anyone has gotten guile-opengl (and thereby chickadee) > under Guile 3? > > Thanks for any insight! > > - Bill > > > > On Sun, Oct 10, 2021 at 10:19 PM Tim Meehan wrote: > > >

Re: [EXT] Use Chickadee to render animation to file?

2022-05-27 Thread Thompson, David
Hi Jack, This is an interesting use case! It's certainly possible, but would require some work. It would probably look something like this: Render the scene to a framebuffer texture, copy the pixel data from the GPU, and pipe it to a video encoder. Chickadee's texture API doesn't yet provide any p

Re: [EXT] GOOPS class printing

2022-02-23 Thread Thompson, David
Hi Mike, On Wed, Feb 23, 2022 at 4:44 PM Mike Gran wrote: > > Hello all- > > If I define a GOOPS class like so... > >(use-modules (oop goops)) >(define-class ()) > > > When it is printed, it has a long hex string in it > > $2 = #< 7fa3d9a5bc80> > > Is there a way to change how a

Re: [EXT] Re: Haunt 0.2.6 released

2022-02-07 Thread Thompson, David
this same incompatibility and when they update they could probably be enabled. - Dave On Mon, Feb 7, 2022 at 9:03 AM pelzflorian (Florian Pelz) wrote: > > Hi David and thank you for the new Haunt release. > > On Wed, Jan 26, 2022 at 08:26:19AM -0500, Thompson, David wrote: > >

Haunt 0.2.6 released

2022-01-26 Thread Thompson, David
Hello everyone, Haunt version 0.2.6 has been released. This release restores compatibility with Guile < 3.0 that was accidentally broken in 0.2.5. Additionally, Haunt now uses the inotify API to watch for file changes on Linux when running `haunt serve --watch`, replacing a slower and more naive

Re: [EXT] Option to create statically linked binaries

2021-12-29 Thread Thompson, David
Hi Sai, On Wed, Dec 29, 2021 at 1:14 PM Sai Karthik wrote: > > Hello everyone! I'm new to guile. I am exploring the language since a > couple of days. It would be nice to have option to produce such binaries > for programs built using guile (like with golang & some more langs). That is not possi

Re: [EXT] Can guile be implementation independent?

2021-12-17 Thread Thompson, David
Hi Jacob, On Thu, Dec 16, 2021 at 8:43 PM Jacob Hrbek wrote: > > I am used to working with common lisp where i can write code that is > "implementation independent" meaning that following a specific coding > style makes it compatible across multiple interpretators/compilers > (sbcl, LispWorks, et

Chickadee 0.8.0 released

2021-10-07 Thread Thompson, David
Hello guilers, I'm happy to announce that Chickadee 0.8.0 has been released! Chickadee is a game development toolkit for Guile. Chickadee aims to provide all the features that parenthetically inclined game developers need to make 2D and 3D games in Scheme. Full release notes and download links c

Guile-SDL2 0.7.0 released

2021-10-07 Thread Thompson, David
Hello guilers, I'm happy to announce that Guile-SDL2 0.7.0 has been released! Guile-SDL2 provides Guile Scheme bindings for the SDL2 C shared library. The bindings are written in pure Scheme using Guile's foreign function interface. Full release notes and download links can be found here: https

Re: [EXT] Re: [EXT] Re: Haunt 0.2.5 released

2021-04-29 Thread Thompson, David
On Thu, Apr 29, 2021 at 4:22 PM pelzflorian (Florian Pelz) wrote: > > On Thu, Apr 29, 2021 at 12:32:16PM -0400, Thompson, David wrote: > > Oops, it looks like I forgot the --detach-sign flag. Sorry about that. > > I just uploaded a new signature. Does it work for you? >

Re: [EXT] Re: Haunt 0.2.5 released

2021-04-29 Thread Thompson, David
On Thu, Apr 29, 2021 at 12:20 PM pelzflorian (Florian Pelz) wrote: > > On Thu, Apr 15, 2021 at 01:18:23PM -0400, Thompson, David wrote: > > Homepage: https://dthompson.us/projects/haunt.html > > Download: https://files.dthompson.us/haunt/haunt-0.2.5.tar.gz &g

Re: [EXT] Re: Chickadee 0.7.0 released

2021-04-22 Thread Thompson, David
Hi Aleix, On Thu, Apr 22, 2021 at 5:32 PM Aleix Conchillo Flaqué wrote: > > Awesome! This is now available in Guile homebrew and keeps working > great on macOS. > > https://github.com/aconchillo/homebrew-guile Awesome! Glad to hear it. Thanks for doing this. I will definitely give homebrew-guile

Haunt 0.2.5 released

2021-04-15 Thread Thompson, David
Hi all, Don't have much time to write, but I'm a bad maintainer and it's been over 2 years since the last Haunt release and that's not good so Haunt 0.2.5 is out! Haunt is an extensible static site generator written in Guile, for Guilers, because the world definitely needed another static site ge

Re: [EXT] Re: guile-sdl2 0.6.0 released

2021-04-13 Thread Thompson, David
On Tue, Apr 13, 2021 at 2:09 PM Aleix Conchillo Flaqué wrote: > > This is great. Thank you David! > > It seems the download link is not working, I'm getting a 404. Oops. Someone who shall not be named forgot to run the final command of their release process. ;) Try again, should be working! Tha

Chickadee 0.7.0 released

2021-04-13 Thread Thompson, David
Hi again everyone, I've just released Chickadee 0.7.0! Chickadee is a general purpose game toolkit for Guile. Major changes: * Improved tile map rendering. Maps now render faster and support tile flipping and animations as specified by the Tiled map file format. * Improved 9-patch rendering. In p

guile-sdl2 0.6.0 released

2021-04-13 Thread Thompson, David
Hi everyone, I have just released guile-sdl2 0.6.0! guile-sdl2 is a Guile wrapper for the SDL2 game programming library. This release includes many new bindings: SDL_ComposeCustomBlendMode SDL_GetPerformanceCounter SDL_GetPerformanceFrequency SDL_GetWindowMaximumSize SDL_GetWindowMinimumSize SDL

Re: [EXT] Guile AWS

2021-04-12 Thread Thompson, David
On Mon, Apr 12, 2021 at 11:48 AM Ricardo Wurmus wrote: > > Hi Guilers, > > this is not quite a release announcement, but the code turns out to be > usable enough that I thought I’d share what I’ve got at this point. > > Guile AWS is a library that lets you talk to Amazon Web Services such as > S3,

Re: MOP issues with

2021-01-29 Thread Thompson, David
Sigh... I screwed up the example code. Here's a fixed version: (use-modules (oop goops) (srfi srfi-111)) (define-class ()) (define (boxed-slot? slot) (get-keyword #:box? (slot-definition-options slot))) (define-method (compute-getter-method (class ) slot

MOP issues with

2021-01-29 Thread Thompson, David
I've been playing around with GOOPS and the metaobject protocol lately. It has been fun, but I've hit a snag with redefinable classes. Here's a contrived example program that demonstrates my problem: (use-modules (oop goops) (srfi srfi-111)) (define-class ()) (defin

Re: [EXT] Re: guile-user Digest, Vol 216, Issue 15

2020-11-24 Thread Thompson, David
Hello Tim, On Mon, Nov 23, 2020 at 8:56 PM Tim Meehan wrote: > > Ok - I'm very new to Guile, and had run across "Sly" (game framework) by > dthomson? (My assumption, based on checking out a couple of links: > https://github.com/guildhall/guile-sly, http://www.draketo.de/proj/py2guile/ > at bottom

Re: [EXT] Re: Question about data structures

2020-11-23 Thread Thompson, David
On Sun, Nov 22, 2020 at 10:43 PM Taylan Kammer wrote: > > Python lists, JDK's ArrayList, and .NET ArrayList, among probably many > other "list" or "array" data structures in popular languages nowadays > use a relatively straightforward data structure that is backed by an > actual array which can h

Chickadee 0.6.0 released

2020-11-19 Thread Thompson, David
Hey everyone, I just released Chickadee 0.6.0. Chickadee is a game programming library for Guile. It handles window management, keyboard/mouse/controller input, hardware-accelerated rendering, audio, scripting, and more. Most notably it now supports OpenGL 2 (rejoice, old thinkpad users!), can r

Re: [EXT] Web development

2020-09-04 Thread Thompson, David
On Fri, Sep 4, 2020 at 11:44 AM Zelphir Kaltstahl wrote: > > Hello Guile Users! > > Today I wanted to try developing a website in Guile again. I took a look > at GNU Artanis, but unfortunately it seems to be not compatible with > Guile 3 or at least not yet released for Guile 3. At least version 0

chickadee 0.5.0 released

2020-04-08 Thread Thompson, David
Hi everyone, I just released chickadee 0.5.0. Chickadee is a general-purpose game programming library for Guile. Release notes, download links, and more project information can be found in the full release announcement: https://dthompson.us/chickadee-050-released.html The covid-19 lockdown here

guile-sdl2 0.5.0 released

2020-04-07 Thread Thompson, David
Hi everyone, I am happy to announce the release of guile-sdl2 0.5.0! There are a handful of new bindings and some improvements to the build system. Full release notes and download links can be found here: https://dthompson.us/guile-sdl2-050-released.html Later, - Dave

Re: YAML parser?

2020-02-24 Thread Thompson, David
On Fri, Feb 21, 2020 at 11:13 PM Aleix Conchillo Flaqué wrote: > > Hi, > > does anyone know if there's any YAML parser for Guile? Haven't been able to > find any. None that I know of. I made an attempt to write one years ago, but the YAML specification is so complex that it didn't feel worth the

Re: [ANN] guile-web-driver

2019-12-13 Thread Thompson, David
Hi Michal, On Fri, Dec 13, 2019 at 9:13 AM Michal Herko wrote: > > I am pleased to announce the first relase of guile-web-driver. > > guile-web-driver is a client implementation of WebDriver aka Selenium2 > protocol. > This protocol allows programatic control of a web browser session. > > The imp

Re: Interactive Debugging

2019-10-18 Thread Thompson, David
On Fri, Oct 18, 2019 at 8:40 AM Matt Wette wrote: > > On 10/17/19 9:39 PM, Christopher Howard wrote: > > Hi, it seems like with the flexibility of Guile, I should be able to do > > something like this: > > ```(define (foo) (let ((a 1)(b 2)(c 3))(jump-into- > > debugging-repl))

Re: installing Sly on older version of Mac OS X

2019-07-15 Thread Thompson, David
Hello Roger, On Mon, Jul 15, 2019 at 9:11 AM Roger A. PURVES wrote: > > to the experts on Guile: > > I am trying to get Sly working under Mac OS X Snow Leopard, and am > fairly ignorant of the command line. I did get Guile running. That is, > I can type "Guile" at the bash shell prompt and Gnu Gu

[ANN] Chickadee 0.4.0 released

2019-06-04 Thread Thompson, David
I'm happy to announce that Chickadee 0.4.0 has been released! Chickadee is a game development toolkit for Guile that is built on top of SDL2 and OpenGL. Chickadee aims to provide all the features that parenthetically inclined game developers need to make 2D (and eventually 3D) games in Scheme. C

[ANN] Guile-SDL2 0.4.0 released

2019-06-02 Thread Thompson, David
I'm happy to announce that Guile-SDL2 0.4.0 has been released! Guile-SDL2 provides bindings for the SDL2 game programming library. The bindings are written in pure Scheme using Guile's foreign function interface. This release features several new bindings: * SDL_BlitScaled * SDL_BlitSurface * SDL

Re: GNU Guix 1.0.0 released

2019-05-02 Thread Thompson, David
Congrats everyone! What an accomplishment! - Dave

Re: Permissive html parser for guile

2019-01-23 Thread Thompson, David
On Wed, Jan 23, 2019 at 11:41 AM swedebugia wrote: > > I just found this LGPL3 parser by Neil Van Dyke (see attachment) > > Do we have something similar in guile? Check out (htmlprag) included in guile-lib. https://www.nongnu.org/guile-lib/ - Dave

Re: parse-result

2019-01-16 Thread Thompson, David
On Wed, Jan 16, 2019 at 11:39 AM Catonano wrote: > > Il giorno mer 16 gen 2019 alle ore 09:21 Catonano ha > scritto: > > > Hello, > > > > I'm reading the parsers tuorial in Zelpir's examples repository > > > > I don't understand where the procedure "parse-result" is defined > > > > The first occu

Re: guile-json 2.0.0 released

2018-12-13 Thread Thompson, David
On Thu, Dec 13, 2018 at 12:09 PM John Cowan wrote: > > Interesting. That's the approach (SXML attribute lists) that I had thought of > earlier and abandoned because (a) you cannot search it with assoc and (b) you > have to be careful to test in the order "empty JSON array, JSON object, > non-em

Re: 3 different json projects

2018-12-13 Thread Thompson, David
On Thu, Dec 13, 2018 at 9:53 AM Catonano wrote: > > This is not strictly about guile-json, it's somewhat tangential > > In the thread announcing guile-json 2.0, I learned that David Thompson uses > his own json processing thing > > There is also guile-sjson by Christopher Allan Webber > > And then

Re: guile-json 2.0.0 released

2018-12-13 Thread Thompson, David
On Thu, Dec 13, 2018 at 11:35 AM John Cowan wrote: > > > > On Thu, Dec 13, 2018 at 9:31 AM Thompson, David > wrote: > >> * They have no read syntax >> * They use a procedural, mutable API >> * They are slower than alists when the number of keys is small, whic

Re: guile-json 2.0.0 released

2018-12-13 Thread Thompson, David
On Thu, Dec 13, 2018 at 12:56 AM Aleix Conchillo Flaqué wrote: > > Hi, > > I'm pleased to announce a new guile-json release 2.0.0. This is a > breaking change release. It is not possible anymore to specify a JSON > object using alists. Instead alist->hash-table needs to be explicitly > used (examp

Re: Guile equivalent to JS promises?

2018-12-10 Thread Thompson, David
Hello! On Sun, Dec 9, 2018 at 5:52 AM wrote: > > Hi > > I'm trying to understand JS promises. > > Are promises relevant in Guile? > > According to https://www.promisejs.org/ they seem to be a tool to > read/write JSON in a nonblocking way. > > Is this related to threading where the JS dev want mu

Re: guile-sdl2: What do you use instead of rectangles

2018-11-09 Thread Thompson, David
Hey sirgazil! On Fri, Nov 9, 2018 at 10:10 AM sirgazil wrote: > > Hi, > > I'm reading a book about game development with SDL, and they use source > and destination rectangles for many things (using sprite sheets, tile > maps, etc.). It seems that there is no equivalent module to "SDL_rect.h" > in

Guile-SDL2 0.3.1 released

2018-10-16 Thread Thompson, David
Hello Guilers, I'm happy to announce that Guile-SDL2 0.3.1 has been released! This is a simple maintenance release that adds support for the upcoming Guile 3.0 featuring JIT compilation. However, one new SDL2 binding has snuck in. Thanks to Eero Leno for wrapping the SDL_SetRenderDrawColor func

[ANN] Chickadee 0.3.0 released

2018-10-03 Thread Thompson, David
Hello Guilers, I'm happy to announce that Chickadee 0.3.0 has been released! It has been more than a year and a half since the last release so I figured it was about time! Chickadee is a game development toolkit for Guile that is built on top of SDL2 and OpenGL. Chickadee aims to provide all th

Re: [ANN] guile-msgpack: MessagePack for GNU Guile (+ help needed)

2018-09-19 Thread Thompson, David
On Wed, Sep 19, 2018 at 8:34 AM HiPhish wrote: > > ## What is MessagePack ## > > MessagePack is a specification for how to turn data into byte and vice-versa. > Think of it like JSON, except instead of human readability it stresses speed > and size efficiency. The format is binary and well suited

Re: trying Chickadee

2018-09-05 Thread Thompson, David
On Wed, Sep 5, 2018 at 4:42 PM, Arne Babenhauserheide wrote: > > Thompson, David writes: > >> Correct, the game loop doesn't stop because you're not moving >> anything. Chickadee's game loop renders frames as often as possible. >> If 100% of one CPU core

Re: trying Chickadee

2018-09-05 Thread Thompson, David
On Wed, Sep 5, 2018 at 3:08 PM, Zelphir Kaltstahl wrote: > Adding (add-hook! quit-hook abort-game) worked flawlessly, thanks. > > Can I do anything to help Chickadee to recognize my monitor refresh rate? I'm not really sure what's going on there, not even sure if that's really your problem. It's

Re: trying Chickadee

2018-09-04 Thread Thompson, David
Hello Zelphir, First, thanks for trying Chickadee! On Tue, Sep 4, 2018 at 2:34 PM, Zelphir Kaltstahl wrote: > On my system Chickadee seems to build fine with the usual configure, > make, make install. However I want to mention something, which might > indicate a problem. > > When I run the examp

Re: How to get started in guile & programming generally

2018-08-31 Thread Thompson, David
Hi Jan, On Fri, Aug 31, 2018 at 7:32 AM, Jan Nieuwenhuizen wrote: > Pierre Neidhardt writes: > >> And by the way, chickadee is an awesome piece of software: it is such a >> refreshing video game programming experience. > > I've been looking at chickadee and wondering if how to use that for a > le

  1   2   >