Guile-SDL Demos 6.0 available

2022-03-11 Thread Thien-Thi Nguyen
release notes: Tested w/ Guile-SDL 0.6.1 (and Guile 2.2.7). README excerpt: This is a collection of small programs released under GNU GPL v3 that use Guile-SDL. NEWS for 6.0 (2022-03-12): - minimal Guile-SDL required: Guile-SDL 0.6.1 This is mainly for the benefit of new demo pro

Re: Question about an error with ports

2022-03-11 Thread Chris Vine
On Sat, 12 Mar 2022 00:10:36 + Chris Vine wrote: > On Fri, 11 Mar 2022 20:49:53 +0100 > Maxime Devos wrote: > > Chris Vine schreef op vr 11-03-2022 om 18:13 [+]: > > > code has changed.  I have yet to re-equip my tests to test the write and > > > display procedures, > > > > Those aren't

Re: Question about an error with ports

2022-03-11 Thread Chris Vine
On Fri, 11 Mar 2022 20:49:53 +0100 Maxime Devos wrote: > Chris Vine schreef op vr 11-03-2022 om 18:13 [+]: > > code has changed.  I have yet to re-equip my tests to test the write and > > display procedures, > > Those aren't rewritten in Scheme (yet?). I believe not. Unfortunately this kind

guile-gi: Using Gtk.show_uri and application:get-active-window

2022-03-11 Thread Luis Felipe
Hi, I want to display the help of an application on Yelp when users click on "MenuButton → Help" or when they press F1. I already have the relevant actions connected to a procedure that looks like this: (define (on-help action app) #| Show application manual in Yelp. |# (let [(window (get-ac

Re: [ANN] Guile-SMC 0.4.0 released

2022-03-11 Thread Dr. Arne Babenhauserheide
"Artyom V. Poptsov" writes: > A transition table can be verified and checked for dead-ends and > infinite loops. Also Guile-SMC FSMs gather statistics when they run. … > ** Add =guile-standalone= compilation target >This compilation target produces GNU Guile FSM code in a single file that >

inconsistent slib instructions - choice of install dir

2022-03-11 Thread Greg Troxel
The guile manual: https://www.gnu.org/software/guile/docs/docs-2.2/guile-ref/SLIB-installation.html https://www.gnu.org/software/guile/manual/html_node/SLIB-installation.html says ln -s /usr/local/lib/slib /usr/local/share/guile/2.2/slib ln -s /usr/local/lib/slib /usr/local/share/guile

Re: guile 2.0 and slib build procedure: cache bug?

2022-03-11 Thread Greg Troxel
Mikael Djurfeldt writes: > Hi Greg! > > The procedure module-export-all! was introduced in 2.0.1. > > It appears that the guile.init (which is distributed with slib, not guile) > which you are using requires guile 2.0.1. Thanks for replying. Sorry, I wasn't precise and meant the 2.0 branch, an

Re: Question about an error with ports

2022-03-11 Thread Maxime Devos
Chris Vine schreef op vr 11-03-2022 om 18:13 [+]: > Interestingly the read procedure remains unsafe in guile-2.2.6, but > seems to be safe in guile-3.0.8 even though I cannot see what in the This is probably due to the rewrite of the 'read' procedure in Scheme (see module/ice-9/read.scm (canno

Re: Question about an error with ports

2022-03-11 Thread Maxime Devos
Chris Vine schreef op vr 11-03-2022 om 18:13 [+]: > code has changed.  I have yet to re-equip my tests to test the write and > display procedures, Those aren't rewritten in Scheme (yet?). Greetings, Maxime. signature.asc Description: This is a digitally signed message part

Re: [ANN] Guile-SMC 0.4.0 released

2022-03-11 Thread Aleix Conchillo Flaqué
Awesome, thank you! Is the latest guile-ini release compatible with this version? Aleix On Fri, Mar 11, 2022 at 11:15 AM Artyom V. Poptsov wrote: > Hello, > > I'm pleased to announce Guile State Machine Compiler (Guile-SMC), version > 0.4.0: > https://github.com/artyom-poptsov/guile-smc/relea

[ANN] Guile-SMC 0.4.0 released

2022-03-11 Thread Artyom V. Poptsov
Hello, I'm pleased to announce Guile State Machine Compiler (Guile-SMC), version 0.4.0: https://github.com/artyom-poptsov/guile-smc/releases/tag/v0.4.0 * What is Guile-SMC? Guile-SMC is a state machine compiler that allows to describe finite state machines (FSMs) in Scheme in terms of transit

Re: guile 2.0 and slib build procedure: cache bug?

2022-03-11 Thread Mikael Djurfeldt
Hi Greg! The procedure module-export-all! was introduced in 2.0.1. It appears that the guile.init (which is distributed with slib, not guile) which you are using requires guile 2.0.1. Best regards, Mikael On Fri, Mar 11, 2022 at 2:56 AM Greg Troxel wrote: > > Yes, I know guile 2.0 is old. Ho

Re: Question about an error with ports

2022-03-11 Thread Chris Vine
On Fri, 11 Mar 2022 17:26:50 + Chris Vine wrote: > Notable procedures which it appears remain as non-suspendable are > get-bytevector-all, get-string-n, read, write and display, but to be > sure about the first two of those I would also need to read the source > again. A few years ago I had s

Re: Question about an error with ports

2022-03-11 Thread Olivier Dion via General Guile related discussions
On Fri, 11 Mar 2022, Chris Vine wrote: > On Fri, 11 Mar 2022 09:58:59 -0500 > Olivier Dion wrote: >> I'm not sure this is related to the functions themself but instead the >> underlying filedescriptor opened iwth ON_NONBLOCK? > > The problem I am referring to is different: it is that delimited >

Re: Question about an error with ports

2022-03-11 Thread Chris Vine
On Fri, 11 Mar 2022 09:58:59 -0500 Olivier Dion wrote: > On Fri, 11 Mar 2022, Chris Vine wrote: [snip] > > Avoid using get-bytevector-n!, get-bytevector-some and > > get-bytevector-all if you are going to use something like fibers or > > some other asynchronous i/o, as those procedures are not su

Re: Question about an error with ports

2022-03-11 Thread Olivier Dion via General Guile related discussions
On Fri, 11 Mar 2022, Maxime Devos wrote: > Olivier Dion via General Guile related discussions schreef op do 10-03- > 2022 om 18:46 [-0500]: >> I haven't check the implementation details, but I think it's just a >> question of buffering.  `get-bytevector-n` will block just like >> `get-bytevector-s

Re: Question about an error with ports

2022-03-11 Thread Olivier Dion via General Guile related discussions
On Fri, 11 Mar 2022, Chris Vine wrote: > On Thu, 10 Mar 2022 18:46:34 -0500 > Olivier Dion via General Guile related discussions > wrote: >> On Thu, 10 Mar 2022, Zelphir Kaltstahl wrote: >> >> > Just one question: Why is get-bytevector-some better than >> > get-bytevector-n and specifying a num

Re: Question about an error with ports

2022-03-11 Thread Maxime Devos
Olivier Dion via General Guile related discussions schreef op do 10-03- 2022 om 18:46 [-0500]: > I haven't check the implementation details, but I think it's just a > question of buffering.  `get-bytevector-n` will block just like > `get-bytevector-some` when the port is empty.  The former will ret

Re: Question about an error with ports

2022-03-11 Thread Chris Vine
On Thu, 10 Mar 2022 18:46:34 -0500 Olivier Dion via General Guile related discussions wrote: > On Thu, 10 Mar 2022, Zelphir Kaltstahl wrote: > > > Just one question: Why is get-bytevector-some better than > > get-bytevector-n and specifying a number of bytes? > > I haven't check the implementat