Re: [ANN] Guile Hoot 0.6.0 released!

2025-02-09 Thread Aleix Conchillo Flaqué
Awesome! This is now available in Guile Homebrew (https://github.com/aconchillo/homebrew-guile). On Wed, Jan 22, 2025 at 3:02 PM Thompson, David wrote: > > Hey Guilers! > > On behalf of the Spritely Institute, I'm happy to announce that Guile > Hoot 0.6.0 has been released!

Re: [ANN] Guile Hoot 0.6.0 released!

2025-01-30 Thread Daniel Skinner
Congratulations! Just getting a new system setup after a hiatus and saw guix pull a 0.6 and got excited. On Wed, Jan 22, 2025, 5:03 PM Thompson, David wrote: > Hey Guilers! > > On behalf of the Spritely Institute, I'm happy to announce that Guile > Hoot 0.6.0 has been rel

Re: [ANN] Guile Hoot 0.6.0 released!

2025-01-23 Thread Dr. Arne Babenhauserheide
Hi David, "Thompson, David" writes: >> 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 I mean the target: calling macros that define macros which call macros :-) > possible. It didn'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

Re: [ANN] Guile Hoot 0.6.0 released!

2025-01-23 Thread Dr. Arne Babenhauserheide
Hello Hooters, "Thompson, David" writes: > Read the release notes here: > > https://spritely.institute/news/guile-hoot-0-6-0-released.html That’s awesome! Congratulations! I’ve seen expander notes in there. Does that mean that Hoot now supports syntax-case? (yes, I’m

Re: [ANN] Guile Hoot 0.6.0 released!

2025-01-23 Thread Alex Sassmannshausen
That's amazing. Congrats to you all, and well done for reaching the fundraising goal. Here's to hitting stretch! Alex Je 2025-januaro-22 23:02:18 UTC, "Thompson, David" skribis: >Hey Guilers! > >On behalf of the Spritely Institute, I'm happy to announ

Re: [ANN] Guile Hoot 0.6.0 released!

2025-01-22 Thread Nala Ginrut
Neat! Congratulations! On Thu, Jan 23, 2025, 08:02 Thompson, David wrote: > 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 c

[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:

Re: Where is the list of Guile maintainers?

2024-12-26 Thread Ludovic Courtès
Hello, Mikael Djurfeldt skribis: > 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. &

Re: Where is the list of Guile maintainers?

2024-12-20 Thread Mikael Djurfeldt
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

RE: Where is the list of Guile maintainers?

2024-12-20 Thread Maxime Devos via General Guile related discussions
>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 change

Re: Where is the list of Guile maintainers?

2024-12-20 Thread Nate Rosenbloom
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

Where is the list of Guile maintainers?

2024-12-20 Thread Maxime Devos via General Guile related discussions
(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

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-15 Thread Eli Zaretskii
> From: Nala Ginrut > Date: Sun, 15 Dec 2024 20:09:25 +0900 > Cc: guile-user@gnu.org, maximede...@telenet.be, t...@refpersys.org, > j...@gcc.gnu.org, dmalc...@redhat.com, bas...@starynkevitch.net > > Is the IR keeping the design of LIMPLE described in the slide? Yes.

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-15 Thread Nala Ginrut
Thanks for all your explanation! Is the IR keeping the design of LIMPLE described in the slide? Maybe Guile AOT can be inspired from it. Best regards. On Sun, Dec 15, 2024, 20:02 Eli Zaretskii wrote: > > From: Nala Ginrut > > Date: Sun, 15 Dec 2024 19:49:59 +0900 > > Cc:

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-15 Thread Eli Zaretskii
> From: Nala Ginrut > Date: Sun, 15 Dec 2024 19:49:59 +0900 > Cc: guile-user@gnu.org, maximede...@telenet.be, t...@refpersys.org, > j...@gcc.gnu.org, dmalc...@redhat.com, bas...@starynkevitch.net > > Was it merged to upstream or abandoned? It was merged to upstream Emac

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-15 Thread tomas
On Sun, Dec 15, 2024 at 07:49:59PM +0900, Nala Ginrut wrote: > Was it merged to upstream or abandoned? > Best regards. > > On Sun, Dec 15, 2024, 19:41 Eli Zaretskii wrote: > > > > From: Nala Ginrut > > > Date: Sun, 15 Dec 2024 17:07:24 +0900 > > > Cc:

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-15 Thread Nala Ginrut
Was it merged to upstream or abandoned? Best regards. On Sun, Dec 15, 2024, 19:41 Eli Zaretskii wrote: > > From: Nala Ginrut > > Date: Sun, 15 Dec 2024 17:07:24 +0900 > > Cc: guile-user@gnu.org, maximede...@telenet.be, t...@refpersys.org, > > j...@gcc.gnu.org,

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-15 Thread Eli Zaretskii
> From: Nala Ginrut > Date: Sun, 15 Dec 2024 17:07:24 +0900 > Cc: guile-user@gnu.org, maximede...@telenet.be, t...@refpersys.org, > j...@gcc.gnu.org, dmalc...@redhat.com, bas...@starynkevitch.net > > I’m referring to the mentioned link > https://akrl.sdf.org/gcce

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-15 Thread Nala Ginrut
@eli I’m referring to the mentioned link https://akrl.sdf.org/gccemacs.html Though it’s named gccemacs, may not be recognized by gcc or emacs community. Actually I never heard of it before. On Reiwa 6 Dec 15, Sun at 16:39 Eli Zaretskii wrote: > > From: Nala Ginrut > > Date: Sun, 15 Dec 2024

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-14 Thread Eli Zaretskii
> From: Nala Ginrut > Date: Sun, 15 Dec 2024 11:08:25 +0900 > Cc: Maxime Devos , t...@refpersys.org, > j...@gcc.gnu.org, > "dmalc...@redhat.com" , bas...@starynkevitch.net > > > FWIW libgccjit builds position independent code, and can be used to > build dynamic libraries (which is what I believ

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-14 Thread Nala Ginrut
gen. That's why I think libgccjit is good choice for Guile AOT. The whole process and codegen can be consistent with common gcc cases and GNU conventions. Best regards. On Sun, Dec 15, 2024, 10:59 Nala Ginrut wrote: > Hi folks! Please reply AOT topic in this thread. > > > > In

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-14 Thread Nala Ginrut
Hi folks! Please reply AOT topic in this thread. > Indeed, it turns out that everyone using libgccjit is using it for ahead-of-time compilation, rather than jit-compilation. Sorry about picking a bad name :) Thanks for the work! At least in Guile community, now that we already have JIT w

Re: Running Compiled Guile Objects

2024-12-14 Thread David Malcolm
On Sun, 2024-12-15 at 00:43 +0100, Maxime Devos wrote: > > > Those willing to contribute a proper ahead-of-time compiler to > > > GNU > > > guile could use the GNU CC libgccjit library which is part of the > > > GCC > > > compiler. > > > htt

RE: Running Compiled Guile Objects

2024-12-14 Thread Maxime Devos via General Guile related discussions
>> Those willing to contribute a proper ahead-of-time compiler to GNU >> guile could use the GNU CC libgccjit library which is part of the GCC >> compiler. >> https://gcc.gnu.org/onlinedocs/jit/ > >...and https://gcc.gnu.org/wiki/JIT > >Indeed, it turns out th

Re: Running Compiled Guile Objects

2024-12-14 Thread David Malcolm
On Sat, 2024-12-14 at 18:11 +0100, Basile Starynkevitch wrote: > On Sat, 2024-12-14 at 09:15 +0900, Nala Ginrut wrote: > > Hi Hakan! > > The current Guile is not AOT yet. Although the object file is ELF, > > it's > > just bytecode wrapped ELF header. So you can'

Re: Running Compiled Guile Objects

2024-12-14 Thread Matt Wette
On 12/13/24 12:34 PM, Hakan Candar via General Guile related discussions wrote: Dear Guile Users, I am unable to run guile objects directly from the command line. I inspected the manual thoroughly, however I did not see any mention of my desired action. Is it possible to execute guile

Re: Running Compiled Guile Objects

2024-12-14 Thread Dr. Arne Babenhauserheide
Nala Ginrut writes: > On Sat, Dec 14, 2024, 07:35 Hakan Candar via General Guile related > discussions wrote: >> I tried the following commands with no luck: >> guile3.0 example.scm.go >> guile3.0 --language=bytecode example.scm.go >> > The current Guile is not

Re: Running Compiled Guile Objects

2024-12-14 Thread Nala Ginrut
I know this mechanism before and I completely agree with what you said. But I'm not sure if it's still the same before verify. Maybe there's order issue in my test sequence. Or I will compile Guile again. BTW, gmail app added it, out of my control. Best regards. On Sun, Dec

RE: Running Compiled Guile Objects

2024-12-14 Thread Maxime Devos via General Guile related discussions
.scm->.go mapping go, you’d see that the code for the auto-compilation cache is separated from the pre-compiled .go (and .cache/guile/2.0/ccache has a different layout), and since it is only updated at installation / package upgrades by copying over (pre-)compiled files, by definition it isn’t

AOT compiler (was: Running Compiled Guile Objects)

2024-12-14 Thread Nala Ginrut
ork for JIT and finally use libgccjit for codegen. 😁 Best regards. -- Forwarded message - From: Basile Starynkevitch Date: Sun, Dec 15, 2024, 02:11 Subject: Re: Running Compiled Guile Objects To: Nala Ginrut , Hakan Candar < hakancan...@protonmail.com> Cc: guile-user@gnu.org

Re: Running Compiled Guile Objects

2024-12-14 Thread Basile Starynkevitch
On Sat, 2024-12-14 at 09:15 +0900, Nala Ginrut wrote: > Hi Hakan! > The current Guile is not AOT yet. Although the object file is ELF, > it's > just bytecode wrapped ELF header. So you can't run it as a regular > executable file. > Those willing to contribute a prop

Re: Running Compiled Guile Objects

2024-12-14 Thread Nala Ginrut
un, Dec 15, 2024, 01:50 Maxime Devos wrote: > >> Guile doesn’t care about whether it is a cache or not, as long as it > has the .go, the timestamps are ok, and (IIRC) corresponding .scm exists. > > >I wonder if you have tested the given example. Guile doesn't load .g

RE: Running Compiled Guile Objects

2024-12-14 Thread Maxime Devos via General Guile related discussions
>> Guile doesn’t care about whether it is a cache or not, as long as it has the >> .go, the timestamps are ok, and (IIRC) corresponding .scm exists. >I wonder if you have tested the given example. Guile doesn't load .go as the >dependency, but .scm. I didn’t test it, be

Re: Running Compiled Guile Objects

2024-12-14 Thread Nala Ginrut
> Guile doesn’t care about whether it is a cache or not, as long as it has the .go, the timestamps are ok, and (IIRC) corresponding .scm exis. I wonder if you have tested the given example. Guile doesn't load .go as the dependency, but .scm. I think I have to confirm that you don&#

Re: Running Compiled Guile Objects

2024-12-14 Thread Nala Ginrut
> You can indeed modify the loading paths from within Guile (I previously mentioned this myself). But this doesn’t help with loading the first .go (so it’s not an easier way, it’s not a way) No, my suggestion to modiy load path on the fly is not the way to help load first .go, but a regular

Re: Running Compiled Guile Objects

2024-12-14 Thread Nala Ginrut
installed in the .scm and .go directories > (and don’t make sense to be installed there). > > And in the situation where all used modules are precompiled and already in > the load paths (e.g. modules of Guile itself, or installed with package > manager), then no caching happens at all. &

RE: Running Compiled Guile Objects

2024-12-14 Thread Maxime Devos via General Guile related discussions
d .go directories (and don’t make sense to be installed there). And in the situation where all used modules are precompiled and already in the load paths (e.g. modules of Guile itself, or installed with package manager), then no caching happens at all. ➢ - if you have two module, a.scm and b.s

Re: Running Compiled Guile Objects

2024-12-14 Thread Nala Ginrut
odule, a.scm and b.scm, a imported b's function to use. - the .scm are in ./mod directory. - compile them and put into ./obj/mod directory. - guile -C obj -L . - (load-compiled "obj/mod/a.scm.go") - the deps have to be loaded from the scm path specified by -L. IIRC there is no way t

RE: Running Compiled Guile Objects

2024-12-14 Thread Maxime Devos via General Guile related discussions
➢ It's unnecessary to manually load .go files. You can pre-compile .scm to .go and install to the compiled-load-path. And put .scm to load-path, if your path is correct, and if the .scm is no newer than .go, Guile will automatically load .go directly without auto-compilation. Neither

Re: Running Compiled Guile Objects

2024-12-14 Thread Nala Ginrut
It's unnecessary to manually load .go files. You can pre-compile .scm to .go and install to the compiled-load-path. And put .scm to load-path, if your path is correct, and if the .scm is no newer than .go, Guile will automatically load .go directly without auto-compilation. BTW, I saw some

RE: Running Compiled Guile Objects

2024-12-14 Thread Maxime Devos via General Guile related discussions
Compiling the .scm to .go ahead of time (with guild) and loading the .go directly makes a lot of sense: • It avoids issues with locating the .go (no need to set .go path when invoking guile, although if it does use additional dependencies, depending on where they are located the script may

Re: Running Compiled Guile Objects

2024-12-13 Thread Nala Ginrut
If you just want to run the .go file, this is not a good way to go, since it's binary format inside ELF can be changed in different Guile version. And Guile compiler will handle these issues for you. So best practice is to always run from a script and let Guile do the rest for you. But i

Re: Running Compiled Guile Objects

2024-12-13 Thread Nala Ginrut
generated and loaded automatically, so one don't have to load it explicitly. To run a Guile source code, here's the document: https://www.gnu.org/software/guile/manual/html_node/Running-Guile-Scripts.html Basically, you run it as script, Guile will compile it to .go and load it. Best r

Re: Running Compiled Guile Objects

2024-12-13 Thread Keith Wright
Nala Ginrut writes: > The current Guile is not AOT yet. Google says: Attack On Titan. > Although the object file is ELF, it's just bytecode wrapped ELF > header. So you can't run it as a regular executable file. I don't think that was the question...Hakan wants to c

Re: Running Compiled Guile Objects

2024-12-13 Thread Nala Ginrut
Hi Hakan! The current Guile is not AOT yet. Although the object file is ELF, it's just bytecode wrapped ELF header. So you can't run it as a regular executable file. Best regards. On Sat, Dec 14, 2024, 07:35 Hakan Candar via General Guile related discussions wrote: > Dear Guile Us

Running Compiled Guile Objects

2024-12-13 Thread Hakan Candar via General Guile related discussions
Dear Guile Users, I am unable to run guile objects directly from the command line. I inspected the manual thoroughly, however I did not see any mention of my desired action. Is it possible to execute guile objects directly, or are they reserved for internal caching mechanism only? I tried the

Re: guile-lzlib fix for native build with gcc-14

2024-12-07 Thread Mathieu Othacehe
Hello Janneke, > This is a bit of a deja-vu, I'm using the attached patch for a native > build of guile-lzlib with gcc-14 on "core-packages-team". Pushed, thanks! Mathieu

guile-lzlib fix for native build with gcc-14

2024-12-07 Thread Janneke Nieuwenhuizen
Hi Mathieu, This is a bit of a deja-vu, I'm using the attached patch for a native build of guile-lzlib with gcc-14 on "core-packages-team". Greetings, Janneke >From 8b0db8997007d427ce9e77cb8191e698d1c47f02 Mon Sep 17 00:00:00 2001 From: "jann...@gnu.org" Date: Sa

Re: Guile barebone backend fundamentals

2024-11-21 Thread Mikael Djurfeldt
Not entirely sure what you are asking for, but have you looked at chapter 9 of the reference manual "Guile Implementation"? Best regards, Mikael On Thu, Nov 21, 2024 at 6:28 PM Marius via General Guile related discussions wrote: > Good evening, > > > On the summer holi

Guile barebone backend fundamentals

2024-11-21 Thread Marius via General Guile related discussions
Good evening, On the summer holidays I've read part of the Guile Reference Manual (mostly API) while I was learning how to use Guix (because it uses Guile). I really liked a lot of lispy concepts that were totally new to me. I was wondering if there is any material that discuse

Re: [ANN] guile-mqtt-0.2.0 released

2024-11-17 Thread Mikael Djurfeldt
Nice :) Thank you for your work! Den sön 17 nov. 2024 11:39Aleix Conchillo Flaqué skrev: > Hi! > > guile-mqtt 0.2.1 now available in macOS via Guile Homebrew > (https://github.com/aconchillo/homebrew-guile): > > $ brew tap aconchillo/guile (only needed once) > $ br

Re: [ANN] guile-mqtt-0.2.0 released

2024-11-17 Thread Aleix Conchillo Flaqué
Hi! guile-mqtt 0.2.1 now available in macOS via Guile Homebrew (https://github.com/aconchillo/homebrew-guile): $ brew tap aconchillo/guile (only needed once) $ brew install guile-mqtt On Tue, Nov 12, 2024 at 1:17 AM Mikael Djurfeldt wrote: > > Guile MQTT provides bindings f

Re: guile-lzlib fix for the 64bit Hurd / gcc-14

2024-11-15 Thread Mathieu Othacehe
Hello Janneke, > * configure.ac: When cross-compiling declare LZ_decompress_open before > using it in conftest.c. Pushed, thanks! Mathieu

guile-lzlib fix for the 64bit Hurd / gcc-14

2024-11-15 Thread janneke
Hi Mathieu, I'm using the attached patch to build guile-lzlib for the 64bit Hurd. When configure tries to detect the shared library name, the Hurd's gcc-14 says --8<---cut here---start->8--- x86_64-pc-gnu-gcc conftest.c -o conftest -llz -Wl

[ANN] guile-mqtt-0.2.0 released

2024-11-11 Thread Mikael Djurfeldt
Guile MQTT provides bindings for the libmosquitto MQTT client library. The bindings are written in [GOOPS](https://www.gnu.org/software/guile/manual/html_node/GOOPS.html) and rely on lower-level bindings created by NYACC directly and automatically from mosquitto.h. Changes compared to v0.1.0

Re: [ANN] guile-mqtt-0.1.1 released

2024-11-10 Thread Mikael Djurfeldt
* a tarball: https://github.com/mdjurfeldt/guile-mqtt/releases/download/v0.1.1/guile-mqtt-0.1.1.tar.gz * the git repository: https://github.com/mdjurfeldt/guile-mqtt <https://github.com/mdjurfeldt/guile-mqqt> On Sun, Nov 10, 2024 at 9:43 PM Mikael Djurfeldt wrote: > Guile MQTT

[ANN] guile-mqtt-0.1.1 released

2024-11-10 Thread Mikael Djurfeldt
Guile MQTT provides bindings for the libmosquitto MQTT client library. The bindings are written in GOOPS (https://www.gnu.org/software/guile/manual/html_node/GOOPS.html) and rely on lower-level bindings created by NYACC directly and automatically from mosquitto.h. This release adds support for

Re: Mqtt support in guile?

2024-11-09 Thread Mikael Djurfeldt
/mdjurfeldt/guile-mqtt Hope that this hasn't already created a lot of trouble. Best regards, Mikael On Sat, Nov 9, 2024 at 6:56 PM Alan Wedel wrote: > Thanks a lot, I will definitely check it out! > > > On November 9, 2024 9:50:41 AM CST, Mikael Djurfeldt > wrote: > >&

Re: [ANN] guile-mqtt-0.1.0 released

2024-11-09 Thread Mikael Djurfeldt
Sorry for the trouble this may have already caused, but the repository is of course: https://github.com/mdjurfeldt/guile-mqtt On Sat, Nov 9, 2024 at 4:49 PM Mikael Djurfeldt wrote: > Guile MQTT provides bindings for the libmosquitto MQTT client > library. The bindings are written in

Re: Mqtt support in guile?

2024-11-09 Thread Mikael Djurfeldt
Hi Alan, In another message, I just released guile-mqqt, as you might have seen: https://github.com/mdjurfeldt/guile-mqqt Best regards, Mikael On Thu, Oct 31, 2024 at 3:25 AM Alan Wedel wrote: > I have been working on a controller that uses a microcontroller to read > some senso

[ANN] guile-mqtt-0.1.0 released

2024-11-09 Thread Mikael Djurfeldt
Guile MQTT provides bindings for the libmosquitto MQTT client library. The bindings are written in GOOPS (https://www.gnu.org/software/guile/manual/html_node/GOOPS.html) and rely on lower-level bindings created by NYACC directly and automatically from mosquitto.h. The bindings align with GOOPS

Re: Mqtt support in guile?

2024-11-01 Thread Matt Wette
> I got this wrong.  Sorry!   This is it.  What I gave previously was > the old fh syntax. > > (msg (make-cdata struct-mosquitto_message* message)) > > > > On 11/1/24 6:32 AM, Matt Wette wrote: >>

Re: Mqtt support in guile?

2024-11-01 Thread Mikael Djurfeldt
rong. Sorry! This is it. What I gave previously was >> > the old fh syntax. >> > >> > (msg (make-cdata struct-mosquitto_message* message)) >> > >> > >> > >> > On 11/1/24 6:32 AM, Matt Wette wrote: >> >> assuming message

Re: Mqtt support in guile?

2024-11-01 Thread Mikael Djurfeldt
syntax. > > > > (msg (make-cdata struct-mosquitto_message* message)) > > > > > > > > On 11/1/24 6:32 AM, Matt Wette wrote: > >> assuming message is a Guile pointer: > >> > >> (define (receive-message mosq obj message) > >>

Re: Mqtt support in guile?

2024-11-01 Thread Matt Wette
)) On 11/1/24 6:32 AM, Matt Wette wrote: assuming message is a Guile pointer: (define (receive-message mosq obj message)   (let ((msg (make-struct-mosquitto_message* message))   (size (cdata-ref msg '* 'payloadsize)) (payload (cdata-ref msg '* 'payload))   (poi

Re: Mqtt support in guile?

2024-11-01 Thread Matt Wette
I got this wrong.  Sorry!   This is it.  What I gave previously was the old fh syntax. (msg (make-cdata struct-mosquitto_message* message)) On 11/1/24 6:32 AM, Matt Wette wrote: assuming message is a Guile pointer: (define (receive-message mosq obj message)   (let ((msg (make-struct

Re: Mqtt support in guile?

2024-11-01 Thread Matt Wette
assuming message is a Guile pointer: (define (receive-message mosq obj message)   (let ((msg (make-struct-mosquitto_message* message))   (size (cdata-ref msg '* 'payloadsize)) (payload (cdata-ref msg '* 'payload))   (pointer->string payload size))) On 1

Re: Mqtt support in guile?

2024-10-31 Thread Mikael Djurfeldt
; Regards, > > > > Ricardo > > > > Am 31.10.2024 03:24 schrieb Alan Wedel: > >> I have been working on a controller that uses a microcontroller to > >> read some sensors and publish their data to a mqtt broker. I would > >> like to have a guile progr

Re: Mqtt support in guile?

2024-10-31 Thread Matt Wette
03:24 schrieb Alan Wedel: I have been working on a controller that uses a microcontroller to read some sensors and publish their data to a mqtt broker. I would like to have a guile program subscribe to the mqtt broker and log the sensor readings to a file. Is there anyone using guile with mqtt like

Re: Mqtt support in guile?

2024-10-31 Thread Ricardo G. Herdt
on a controller that uses a microcontroller to read some sensors and publish their data to a mqtt broker. I would like to have a guile program subscribe to the mqtt broker and log the sensor readings to a file. Is there anyone using guile with mqtt like this? If so, how are you doing it?

Re: Mqtt support in guile?

2024-10-31 Thread Nala Ginrut
If there's no any, I hope someone can do it. Best regards. On Thu, Oct 31, 2024, 11:25 Alan Wedel wrote: > I have been working on a controller that uses a microcontroller to read > some sensors and publish their data to a mqtt broker. I would like to have > a guile program su

Mqtt support in guile?

2024-10-30 Thread Alan Wedel
I have been working on a controller that uses a microcontroller to read some sensors and publish their data to a mqtt broker. I would like to have a guile program subscribe to the mqtt broker and log the sensor readings to a file. Is there anyone using guile with mqtt like this? If so, how are

Guile support for VSCode

2024-10-02 Thread Tommi Höynälänmaa
More information of VSCode Guile support can be found  at https://www.iki.fi/tohoyn/guile-vscode/. - Tommi Höynälänmaa -- Kotisivu / Homepage: http://www.iki.fi/tohoyn/ Sähköposti / E-Mail: tommi.hoynalan...@iki.fi GPG-sormenjälki / GPG fingerprint: 55F4 2477 7155 3528 5CB2 2B7A BB86 1FDE

Guile support for VSCode

2024-10-02 Thread Tommi Höynälänmaa
Editing support and syntax highlighting for Guile code in VSCode editor is provided in VSIX package https://www.iki.fi/tohoyn/guile-vscode-1.0.0.vsix. The package source code can be found at https://github.com/tohoyn/guile-vscode. - Tommi Höynälänmaa -- Kotisivu / Homepage: http

[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 releas

Guile 3.0.10 Cross Compile

2024-09-04 Thread Emad Alblueshi
Hello Everyone, I'm trying to cross compile guile 3.0.10 on Fedora 40, Probably I need some guidance in order to achieve this. In addition, the following required dependencies are successfully cross compiled via mingw64-* commands: libatomic_ops-7.8.2 gc-8.2.4 libunistring-1.2 I'm usi

[ANN] Guile-QR-Code 0.1.0 released

2024-08-18 Thread Artyom V. Poptsov
Hello Guilers, I'm pleased to announce Guile-QR-Code 0.1.0, a Quick-Response (QR) Code[1] generator for GNU Guile: https://github.com/artyom-poptsov/guile-qr-code/releases/tag/v0.1.0 Guile-QR-Code allows creating QR codes from text and binary data in the form of ASCII-art as well as PNG i

Re: Guile-cairo tutorial

2024-08-15 Thread Gerrit Draisma
Hallo Arun, You are most welcome to use the tutorial. And I would appreciate your comments. Gerrit Op 13-08-2024 om 13:13 schreef Arun Isaac: Hi Gerrit, I made a translation to guile/scheme. https://gdraisma.home.xs4all.nl/cairo/ Would that be of interest still? Yes, definitely! I&#x

Re: Guile-cairo tutorial

2024-08-13 Thread Arun Isaac
Hi Gerrit, > I made a translation to guile/scheme. > https://gdraisma.home.xs4all.nl/cairo/ > > Would that be of interest still? Yes, definitely! I've always wanted to try out guile-cairo, but was put off by having to read the C tutorial. Having a Guile version with wo

Guile-cairo tutorial

2024-08-13 Thread Gerrit Draisma
Hallo, I am new to guile and I needed some graphics library. Installed guile-cairo, and read the original tutorial for C programmers https://www.cairographics.org/tutorial/ by Nis Martensen, derived from Michael Urman's python tutorial. I made a translation to guile/scheme.

[ANN] Guile-DSV 0.7.2 released

2024-08-04 Thread Artyom V. Poptsov
Hello Guilers, I'm pleased to announce Guile-DSV 0.7.2: https://github.com/artyom-poptsov/guile-dsv/releases/tag/v0.7.2 This release includes two important bugfixes: First of all, now parsers can check if a table have consistent column number between rows and throw an informative error

[ANN] Guile-Web-Driver-NG 1.0.0 released

2024-08-03 Thread Artyom V. Poptsov
Hello Guilers, I'm pleased to announce Guile-Web-Driver-NG 1.0.0, a Selenium WebDriver[1] library for GNU Guile: https://github.com/artyom-poptsov/guile-web-driver-ng/releases/tag/v1.0.0 It is a fork of Guile-Web-Driver[2] which was made by Michal Herko. * List of user-visible changes

Re: Announcing Guile Blocks 0.1

2024-08-02 Thread Ricardo Wurmus
Hi Richard, > Over the past few months I've been working on a Guile package I call > Guile Blocks, an Org Mode inspired implementation of source blocks in > Guile Scheme! (My creativity is boundless.) This looks nice! It reminds me a bit of the code snippets in the Guix Workflow

Announcing Guile Blocks 0.1

2024-08-01 Thread Richard Sent
Hi Guilers! Over the past few months I've been working on a Guile package I call Guile Blocks, an Org Mode inspired implementation of source blocks in Guile Scheme! (My creativity is boundless.) Here's the repository: https://git.sr.ht/~freakingpenguin/guile-blocks Guile Blocks

Re: Find an element in a functional set (guile-pfds)

2024-07-08 Thread Zelphir Kaltstahl
On 07.07.24 13:30, Zelphir Kaltstahl wrote: On 07.07.24 13:01, Maxime Devos wrote: >Maybe bbtree-fold can be used, but that would not "early exit" as soon as it has found an item, that satisfies some specified predicate. You can use escape continuations to do an early exit: ;; On success, r

Re: Srfi-159/166 - monadic formatting for guile

2024-07-07 Thread Luis Felipe
Hi, El 7/07/24 a las 13:23, Linus Björnstam escribió: I had an implementation of 158 that was available in guix. However, bitbucket discontinued hg support and now the code is gone. It was trivial to port of the SRFI iirc. At that time, https://www.softwareheritage.org/ was archiving public

Re: Srfi-159/166 - monadic formatting for guile

2024-07-07 Thread Linus Björnstam
ote: >> Hi, >> >> Has there been any movement on this? It would be great to have this SRFI in >> Guile proper :) >> >> Thanks, >> Juli > > Hello Juli, > > personally, I have not seen any news regarding that. However, I also did not > quite unde

Re: Find an element in a functional set (guile-pfds)

2024-07-07 Thread Zelphir Kaltstahl
On 07.07.24 13:01, Maxime Devos wrote: >Maybe bbtree-fold can be used, but that would not "early exit" as soon as it has found an item, that satisfies some specified predicate. You can use escape continuations to do an early exit: ;; On success, return stuff-to-return. Otherwise, return the

RE: Find an element in a functional set (guile-pfds)

2024-07-07 Thread Maxime Devos via General Guile related discussions
>Maybe bbtree-fold can be used, but that would not "early exit" as soon as it has found an item, that satisfies some specified predicate. You can use escape continuations to do an early exit: ;; On success, return stuff-to-return. Otherwise, return the symbol ‘no-match’. (let/ec escape (bbtr

Find an element in a functional set (guile-pfds)

2024-07-07 Thread Zelphir Kaltstahl
Hello Guile Users! I have questions regarding sets, functional sets from guile-pfds (https://github.com/ijp/pfds), to be precise: Is there a way to "find" an element in the set? I know that the sets are backed by balanced binary trees in guile-pfds and that those bbtrees hav

Re: Srfi-159/166 - monadic formatting for guile

2024-07-06 Thread Hans-Werner Roitzsch
On 06.07.24 02:00, Juliana Sims wrote: Hi, Has there been any movement on this? It would be great to have this SRFI in Guile proper :) Thanks, Juli Hello Juli, personally, I have not seen any news regarding that. However, I also did not quite understand what monadic formatting is or what

Re: Srfi-159/166 - monadic formatting for guile

2024-07-05 Thread Juliana Sims
Hi, Has there been any movement on this? It would be great to have this SRFI in Guile proper :) Thanks, Juli

Re: GNU Guile 3.0.10 released

2024-06-30 Thread Maxim Cournoyer
Hi Andy and other Guile maintainers, Andy Wingo writes: > We are pleased to announce GNU Guile release 3.0.10, the latest in the > 3.0 stable release series. > > Guile 3.0.10 is a bug-fix release which also adds optimizations, support > for a new WebAssembly back-end, new custom

Release of Scheme+ for Guile version 9.1

2024-06-28 Thread Damien Mattei
Hello, i released Scheme+ for Guile version 9.1: https://github.com/damien-mattei/Scheme-PLUS-for-Guile It is a big refactoring of code,now completely implemented with modules and still use syntax transformers. It add very few new features but it is a complete refactoring of the code

Re: GNU Guile 3.0.10 released

2024-06-25 Thread Nala Ginrut
Congrats! Thanks to all! On Wed, Jun 26, 2024, 03:18 Zelphir Kaltstahl wrote: > Thanks to all contributors for your work! > > Exciting to see Guile improving! > > On 23.06.24 23:56, Andy Wingo wrote: > > We are pleased to announce GNU Guile release 3.0.10, the latest

Re: GNU Guile 3.0.10 released

2024-06-25 Thread Zelphir Kaltstahl
Thanks to all contributors for your work! Exciting to see Guile improving! On 23.06.24 23:56, Andy Wingo wrote: We are pleased to announce GNU Guile release 3.0.10, the latest in the 3.0 stable release series. Guile 3.0.10 is a bug-fix release which also adds optimizations, support for a new

GNU Guile 3.0.10 released

2024-06-23 Thread Andy Wingo
We are pleased to announce GNU Guile release 3.0.10, the latest in the 3.0 stable release series. Guile 3.0.10 is a bug-fix release which also adds optimizations, support for a new WebAssembly back-end, new custom port facilities, a new optional front-end syntax, and more. See the NEWS extract

Simply Scheme's "simply.scm" for Guile 3

2024-06-14 Thread Janneke Nieuwenhuizen
loads/simply/simply.scm> does not play nicely with Guile 3. Notably using the overloaded `+' in combination with `butfirst' does not work as is. Using the attached "simply.scm" (also available as <https://lilypond.org/janneke/simply-scheme/simply.scm>) now this --8&

RE: using guile like a awk filter in a C program.

2024-06-10 Thread Maxime Devos via General Guile related discussions
>it looks ugly. Currently the user just define the 'filter' part and then I >include this string in a larger code. Ant how should I design this if I want >to include modules, custom functions,...  ? I propose replacing the interface for filter part by (lambda (record) [more code here]) and eval

  1   2   3   4   5   6   7   8   9   10   >