Re: Curiosity: Microkernel implemented in Guile ?

2022-06-26 Thread Ricardo Wurmus
"Dr. Arne Babenhauserheide" writes: > - The compilation-messages (I hate them; these also hurt when writing > interactive utilities for the command-line, and I have too many > half-working fixes in script files to still be comfortable; I think I > once had a fix in configuration, but I lo

Re: Curiosity: Microkernel implemented in Guile ?

2022-06-26 Thread Dr. Arne Babenhauserheide
Ricardo Wurmus writes: > "Dr. Arne Babenhauserheide" writes: > >> - The compilation-messages (I hate them; these also hurt when writing >> interactive utilities for the command-line, and I have too many >> half-working fixes in script files to still be comfortable; I think I >> once had a

Re: Curiosity: Microkernel implemented in Guile ?

2022-06-26 Thread Nala Ginrut
OK, let's face the issues, I encountered similar problems like what you described. 1. To avoid the irritating compiling message, I have to use parameters to rebind current-error-port. 2. Sometimes folks compile the Guile code and installed it in a wrong load path, so when you run it, it will auto

mmap for guile

2022-06-26 Thread Matt Wette
I have a candidate mmap implementation for guile (3.0.8) in github.com/mwette/guile-contrib/patch/3.0.8/mmap-api.patch It probably needs some review and update. Maybe windows mmap-file would be nice. I'm not sure I updated the configure correctly but --disable-mmap-api should remove.

guile-json 4.7.2 released

2022-06-26 Thread Aleix Conchillo Flaqué
Hi, I'm happy to announce guile-json 4.7.2. This is a minor bug fix release that reverts a breaking change introduced in 4.7.1 and fixes the original issue properly (optional nested records). * About guile-json is a JSON module for Guile. It supports parsing and building JSON documents according

Re: mmap for guile

2022-06-26 Thread Matt Wette
Appologies: link is https://github.com/mwette/guile-contrib/blob/main/patch/3.0.8/mmap-api.patch On 6/26/22 8:37 AM, Matt Wette wrote: I have a candidate mmap implementation for guile (3.0.8) in github.com/mwette/guile-contrib/patch/3.0.8/mmap-api.patch It probably needs some review and u

Re: mmap for guile

2022-06-26 Thread Olivier Dion via General Guile related discussions
On Sun, 26 Jun 2022, Matt Wette wrote: > flags >(logior MAP_ANON MAP_PRIVATE) Why MAP_ANON instead of MAP_ANONYMOUS. The latter is more clear and you don't have to care about compatibility like C does. Also, does MAP_FIXED or MAP_FIXED_NOREPLACE is passed to `flags' if `(not (

Re: mmap for guile

2022-06-26 Thread Maxime Devos
Matt Wette schreef op zo 26-06-2022 om 08:37 [-0700]: > scheme@(guile-user)> ,d mmap/search > - Scheme Procedure: mmap/search addr len [prot [flags [fd [offset >   See the unix man page for mmap.  Returns a bytevector.  Note that >   the region allocated will be searched by the garbage

Re: mmap for guile

2022-06-26 Thread Maxime Devos
Some old mmap things that might be useful: * https://lists.nongnu.org/archive/html/guile-devel/2013-04/msg00235.html * https://lists.gnu.org/archive/html/bug-guile/2017-11/msg00033.html * https://lists.gnu.org/archive/html/guile-user/2006-11/msg00013.html +SCM_DEFINE (scm_mmap_search, "mmap/searc

[feature request] merge sxml->html from (haunt html) into guile?

2022-06-26 Thread Blake Shaw
Hiya Guilers, Having just wrapped up the Scribble Jam project I mentioned in my Guix Days talk on the Guile Docs makeover, I'm getting back to the topic of the documentation. I figured this is a good excuse to finally move my hiney and finally do something I've been putting off for the simple reas