Re: [ANN] Hoot 0.6.1 released!

2025-05-06 Thread Dr. Arne Babenhauserheide
"Thompson, David" writes: > This release contains the accumulated bug fixes and other improvements > since the 0.6.0 release back in January. Read the full release notes > here: > > https://spritely.institute/news/hoot-0-6-1-released.html > > If you use Guix then it's easy to try out Hoot: > >

Re: mumi issue tracker interface for Guile

2025-04-06 Thread Dr. Arne Babenhauserheide
shell mumi -- mumi search submitter:arne is:open 72208 [PATCH] doc: tour: note the top-level modules ice-9, scheme, and srfi opened 9 months ago by Dr. Arne Babenhauserheide, last updated 5 months ago … ^ works now. > 1. Applying a patch series locally $ mumi current 72208 72208 [PATCH] doc: to

Re: mumi issue tracker interface for Guile

2025-04-04 Thread Dr. Arne Babenhauserheide
Arun Isaac writes: > But, perhaps your question is more about the mumi CLI? The mumi CLI is > documented in the Guix manual at > https://guix.gnu.org/manual/devel/en/html_node/Debbugs-User-Interfaces.html#index-mumi-command_002dline-interface > But first, this patch adding mumi CLI configuration

Re: mumi issue tracker interface for Guile

2025-04-04 Thread Dr. Arne Babenhauserheide
Hi Arun, Arun Isaac writes: > Recently, the mumi instance run by the Guix project also started > indexing Guile issues. Please try out mumi for guile at > https://issues.guix.gnu.org/guile . I hope the Guile project can benefit This looks neat — thank you! In general for mumi I tried to use it,

Re: Help with an Autotools/Guile project skeleton

2025-03-22 Thread Dr. Arne Babenhauserheide
Hello Nikolaos, Nikolaos Chatzikonstantinou writes: > I have the following project skeleton using Autotools and Guile: > . That’s a nice idea! > I would appreciate any insights on this. If I can get this issue > fixed, and a

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

2025-03-14 Thread Dr. Arne Babenhauserheide
Richard Sent writes: > 1. Guile Hoot support! Code snippets can be compiled via Hoot to > WebAssembly and written to a .wasm file. You can even combine it with a > JavaScript shim block to load the .wasm file. That looks pretty awesome! I wish I had that for org-mode ☺ Got me thinking: would th

Re: guile package manager

2025-03-09 Thread Dr. Arne Babenhauserheide
p...@evangelos.dev writes: > Im new to guile and exploring the language at moment by writing a beginners > guide that targets javascript folks. That sounds great! Welcome to Guile! Maybe my py2guile (for Python) and starter can provide inspiration: - https://www.draketo.de/py2guile - https://w

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 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 just waiting for a chance

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 AOT yet. Although the object file

Re: global vars and #:declarative? (was [critical bug] The set! doesn't work in indirect reference)

2024-09-18 Thread Dr. Arne Babenhauserheide
Nala Ginrut writes: > I realized the #:declarative? can only be applied in the downstream modules > of the module holding global vars. This easy to hit complexity was the topic of my thread "Making code compatible with different versions of Guile — #:declarative?" How declarative currently work

Re: Make a game with Hoot for the Lisp Game Jam!

2024-05-15 Thread Dr. Arne Babenhauserheide
"Thompson, David" writes: > We've put together a ready-to-use game template project [1] so it's > easy to jump right in and start making games! > > Read our blog post for all the details: > > https://spritely.institute/news/make-a-game-with-hoot-for-the-lisp-game-jam.html > > I hope some of you j

Re: define-typed: checking values on proc entry and exit

2024-05-14 Thread Dr. Arne Babenhauserheide
"Dr. Arne Babenhauserheide" writes: > Zelphir Kaltstahl writes: >> https://codeberg.org/ZelphirKaltstahl/guile-examples/src/commit/0e231c289596cb4c445efb30168105914a8539a5/macros/contracts > And the *-versions are ominous: optional and keyword arguments may be > the n

Re: define-typed: checking values on proc entry and exit

2024-05-14 Thread Dr. Arne Babenhauserheide
Olivier Dion writes: > On Fri, 10 May 2024, "Dr. Arne Babenhauserheide" wrote: > > This is entirely off topic, sorry, but how do you do the following in Emacs: > >> ┌ >> │ ... >> └ > > I usualy use: > > --8<---cut

Re: define-typed: checking values on proc entry and exit

2024-05-14 Thread Dr. Arne Babenhauserheide
Zelphir Kaltstahl writes: > On 10.05.24 15:47, Dr. Arne Babenhauserheide wrote: > You might also be interested in my repository for function contracts > using CK macros: > > https://codeberg.org/ZelphirKaltstahl/guile-examples/src/commit/0e231c289596cb4c445efb30168105914a8539a5/m

Re: define-typed: checking values on proc entry and exit

2024-05-14 Thread Dr. Arne Babenhauserheide
Vivien Kraus writes: > Hello! > > This is an interesting approach, thank you. > > Le vendredi 10 mai 2024 à 09:47 +0200, Dr. Arne Babenhauserheide a > écrit : >> │   ;; get the result >> │   (let ((res (helper))) >> │ ;; typecheck the r

define-typed: checking values on proc entry and exit

2024-05-10 Thread Dr. Arne Babenhauserheide
Hi, in #guile on IRC¹, old talked about Typed Racket so I thought whether that could be done with define-syntax-rule. So I created define-typed. This is also on my website², but I wanted to share and discuss it here. I follow the format by [sph-sc], a Scheme to C compiler. It declares types after

Re: How to gradually write a procedure using Guile?

2024-05-03 Thread Dr. Arne Babenhauserheide
Hi Thomas, I usually work by redefining the whole procedure and running it. Typically I start with the minimal procedure (define (hello) #f) Then — for nicely testable procedures — I add a doctest and get it to run: (define (hello) "Say hello." #((tests ('answers (test-equal "

Re: Some issues with guile

2024-04-27 Thread Dr. Arne Babenhauserheide
Nikolaos Chatzikonstantinou writes: > I don't mean to just complain. There needs to be some documentation > consistency and once established it needs to be championed, and that's > what I'm trying to accomplish... Would you like to start with sending some small and easy to review patches? As lon

Re: Some issues with guile

2024-04-27 Thread Dr. Arne Babenhauserheide
Nikolaos Chatzikonstantinou writes: > Of course there can be more features, such as unit tests in > documentation, but I don't consider them essential. I don't know what I was missing these badly when I started, so I wrote support for them myself: Usage: https://hg.sr.ht/~arnebab/wisp/browse/ex

Re: Changes to Guile not effecting built binary

2024-03-21 Thread Dr. Arne Babenhauserheide
Ryan Raymond writes: > For example, I modified "parse-http-method" and completely removed all error > throwing capabilities but I am still getting an error thrown from > within that function. > (bad-request "Invalid method: ~a" (substring str start end)) > > I am assuming that the modules are n

Re: Guile Hoot v0.3.0 released!

2024-01-30 Thread Dr. Arne Babenhauserheide
Daniel Skinner skribis: > congratulations on the release! > Thompson, David wrote: … >> https://fosdem.org/2024/schedule/event/fosdem-2024-2339-scheme-in-the-browser-with-guile-hoot-and-webassembly/ … >> https://fosdem.org/2024/schedule/event/fosdem-2024-2331-spritely-guile-guix-a-unified-visi

Re: GNU Shepherd 0.10.3 released

2024-01-07 Thread Dr. Arne Babenhauserheide
Ludovic Courtès writes: > We are pleased to announce the GNU Shepherd version 0.10.3, a bug-fix > release of the new 0.10.x series, representing 51 commits over 6 > months. Congratulations! > ** Fix portability issues to GNU/Hurd > > Previous versions in the 0.10.x and 0.9.x series did not

Re: Screaming-Fist: a JIT framework for Guile

2023-12-03 Thread Dr. Arne Babenhauserheide
Nala Ginrut writes: > Hi Folks! > I'd like to introduce our new project named screaming-fist which is a JIT > framework based on libgccjit. > (import (screaming-fist jit)) > > (jit-define (square x) > (:anno: (int) -> int) > (* x x)) > (square 5) That looks interesting! Do you already have

Re: Guile Hoot v0.1.0 RELEASED!

2023-10-16 Thread Dr. Arne Babenhauserheide
Christine Lemmer-Webber writes: > GOOD NEWS! Spritely's Scheme -> WASM compiler's first release is OUT! > That's right... Scheme in your browser!!! > > https://spritely.institute/news/guile-hoot-v010-released.html Thank you! That’s awesome! > Docs here: https://spritely.institute/files/docs

Re: Ideas for making Guile easier to approach

2023-10-05 Thread Dr. Arne Babenhauserheide
Maxime Devos writes: > [[PGP Signed Part:No public key for 49E3EE22191725EE created at > 2022-02-09T22:07:58+0100 using EDDSA]] > Christine Lemmer-Webber schreef op wo 09-02-2022 om 10:18 [-0500]: >> I'd like to actually see Guile integrate Wisp as a core language and >> think about what it wou

Re: Brainstorming Wisp and Guile for financial bookkeeping

2023-10-04 Thread Dr. Arne Babenhauserheide
Christine Lemmer-Webber writes: > 2020-03-30 * "Starting balance" > Assets:Retirement:IRA1321.84 USD > Equity:OpeningBalance I wondered whether we could make this executable as it is, but for that we’d have to create one procedure for every date. Since accounts have to be

Re: Breaking hygiene with syntax-rules?

2023-08-11 Thread Dr. Arne Babenhauserheide
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-pointer call. Do you somehow create >> lots of pointers to the contents of the same bytevector so that we

Re: Breaking hygiene with syntax-rules?

2023-08-11 Thread Dr. Arne Babenhauserheide
Jean Abou Samra writes: > the macro. So I would expect this to create different identifiers for > different values of the-pair, just like it creates different identifiers > when instead of (car the-pair) I use fetch (also passed from outside). > > You're right, that's confusing. > > I don't h

Re: [ANN] Guile-SMC 0.6.2 released

2023-08-11 Thread Dr. Arne Babenhauserheide
Hello Artyom, "Artyom V. Poptsov" writes: > Hello Dr. Arne Babenhauserheide! > >> Very cool! > > Thanks. > >> Can Guile-SMC be used as a linter for plantuml? > > Yes, to some extent. The thing is that Guile-SMC currently supports > only a small

Re: [ANN] Guile-SMC 0.6.2 released

2023-08-11 Thread Dr. Arne Babenhauserheide
"Artyom V. Poptsov" writes: > I'm pleased to announce Guile State Machine Compiler (Guile-SMC), version > 0.6.2: > https://github.com/artyom-poptsov/guile-smc/releases/tag/v0.6.2 Very cool! > This release fixes some new-found bugs, namely in the state-machine > profiler. Also now it's possi

Re: Breaking hygiene with syntax-rules?

2023-08-11 Thread Dr. Arne Babenhauserheide
Jean Abou Samra writes: > This is a known limitation in Guile. Please read > https://www.gnu.org/software/guile/manual/html_node/Hygiene-and-the-Top_002dLevel.html I would not expect that effect from the description, because in (define-syntax unhygienic (syntax-rules () ((_ the-pair fetc

Re: Breaking hygiene with syntax-rules?

2023-08-10 Thread Dr. Arne Babenhauserheide
Walter Lewis via General Guile related discussions writes: > (define-syntax unhygienic > (syntax-rules () > ((_ the-pair fetch) > (begin >(define the-head (car the-pair)) >(define (fetch) the-head) > > (unhygienic '(1) fetch1) > (unhygienic '(2) fetch2) > > (fetch1

Re: GNU Shepherd 0.10.2 released

2023-07-17 Thread Dr. Arne Babenhauserheide
Ludovic Courtès writes: > We are pleased to announce the GNU Shepherd version 0.10.2, a bug-fix > release of the new 0.10.x series, representing 28 commits over 7 weeks. > > The 0.10.x series is a major overhaul towards 1.0, addressing shortcomings > and providing new features that help comprehe

Re: Evaluation with function whitelist

2023-07-16 Thread Dr. Arne Babenhauserheide
Mike Gran writes: > So I went ahead and checked in a working version of > my constrained REPL plus a constrained environment in the > (sandy sandy) module found here: > https://github.com/spk121/guile-web-sandbox/tree/master/module/sandy "Containerized web repl" — that sounds awesome! If you wa

Re: Evaluation with function whitelist

2023-07-15 Thread Dr. Arne Babenhauserheide
Ryan Raymond writes: > Thank you, all. I think it's safe to consider this matter concluded! Great to hear that — good luck! Best wishes, Arne -- Unpolitisch sein heißt politisch sein, ohne es zu merken. draketo.de signature.asc Description: PGP signature

Re: Evaluation with function whitelist

2023-07-15 Thread Dr. Arne Babenhauserheide
Hi Mike, 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 with the "#:pure" option so that it starts off > empty. … > Using the real repl is proba

Re: Python slices in Scheme

2023-06-24 Thread Dr. Arne Babenhauserheide
Damien Mattei writes: > really easy and powerful, but i dislike decorator, i prefer scheme's macro > but i think too it has no sense to write big macros, in my opinion they > should be short and avoid them when possible. Do you know my Zen for Scheme? In that I tried to capture what I learned a

Re: Python slices in Scheme

2023-06-18 Thread Dr. Arne Babenhauserheide
Damien Mattei writes: > yes it needs SRFI 105 Curly infix to allow full notation. > It defines the optional $bracket-apply$ procedure or macro (here a macro) > as described in SRFI 105. The code is in attachment (not in my github > because there is a lot of work again to have the same powerful a

Re: Python slices in Scheme

2023-06-18 Thread Dr. Arne Babenhauserheide
Hi Damien, > {#(1 2 3 4 5 6 7)[2 / 5]} > #(3 4 5) that looks pretty interesting. Is it compatible to curly infix / SRFI-105? Best wishes, Arne -- Unpolitisch sein heißt politisch sein, ohne es zu merken. draketo.de signature.asc Description: PGP signature

Re: [ANN] Guile-PNG 0.4.0 released

2023-05-01 Thread Dr. Arne Babenhauserheide
"Artyom V. Poptsov" writes: > I'm pleased to announce Guile-PNG 0.4.0, Portable Network Graphics > (PNG)[1] library for GNU Guile, implemented in pure scheme: > https://github.com/artyom-poptsov/guile-png/releases/tag/v0.4.0 Very cool! Thank you! A thought: One Guile can be compiled to wasm

Re: GPT-4 knows Guile! :)

2023-03-19 Thread Dr. Arne Babenhauserheide
Nala Ginrut writes: > GPT is interesting, to whom may also interested in, I've tried to use GPT to > generate friend error message for compiler. > > https://nalaginrut.com/archives/2023/03/12/use%20chatgpt%20for%20compiler%20error%20regeneration I asked ChatGPT whether it would rather break a

Re: GPT-4 knows Guile! :)

2023-03-19 Thread Dr. Arne Babenhauserheide
writes: > which has tried to be free (in both senses). For images, there is > Stable Diffusion (disclaimer:I don't know much about them). For > raw data, there's Common Crawl [3], which is Stable Diffusion's Stable diffusion has one of the most evil licenses I’ve read till now: using its images

Re: Does declaration order matter in guile?

2023-02-14 Thread Dr. Arne Babenhauserheide
wolf writes: >> 1. You bind 'foo' to the syntax transformer. >> >> 2. During the compilation of (foo y), the compiler calls the syntax >> transformer to >>affect the generation of code, so it will do the right thing. > > Interesting, I think I understand the difference. So in some ways thi

Re: Does declaration order matter in guile?

2023-02-13 Thread Dr. Arne Babenhauserheide
Sascha Ziemann writes: > Am So., 12. Feb. 2023 um 20:52 Uhr schrieb Taylan Kammer > : >> >> On 12.02.2023 19:46, wolf wrote: >> >> > 1. When does order matter? What is going on here? >> >> The order matters in this case because the SRFI-9 implementation in Guile >> defines >> syntax (macros) ra

Re: Spritely Goblins v0.10 released for both Guile and Racket!

2023-01-30 Thread Dr. Arne Babenhauserheide
Christine Lemmer-Webber writes: > Hey everyone! I'm excited to announce a *huge* release of Goblins! > The whole engineering team (Jessica Tallon, David Thompson, and of > course myself) have been plugging away hard on this release and now > we're thrilled to announce Goblins 0.10 for both Guil

Re: Static site generator

2023-01-13 Thread Dr. Arne Babenhauserheide
Sascha Ziemann writes: > All you need is quasiquote, unquote and a function which formats SXML as XML. > > (html > `("" I use something like this with Guile: https://hg.sr.ht/~arnebab/guile-freenet/browse/fetchpull-standalone.scm?rev=tip#L604 (define (website-content port) (define title "F

Re: Fibers 1.2.0 released

2022-12-23 Thread Dr. Arne Babenhauserheide
Aleix Conchillo Flaqué writes: > - Support streaming responses in Fibers' web server to allow for bigger > responses. That’s very cool — thank you! Best wishes, Arne -- Unpolitisch sein heißt politisch sein, ohne es zu merken. draketo.de signature.asc Description: PGP signature

Re: [ANN] Guile-PNG 0.3.0 released

2022-12-18 Thread Dr. Arne Babenhauserheide
"Artyom V. Poptsov" writes: > I'm pleased to announce Guile-PNG 0.3.0, Portable Network Graphics > (PNG)[1] library for GNU Guile, implemented in pure scheme: > https://github.com/artyom-poptsov/guile-png/releases/tag/v0.3.0 > > This version adds ability to draw polygons and filled rectangles,

Re: relocatable guile on windows

2022-12-04 Thread Dr. Arne Babenhauserheide
"Dr. Arne Babenhauserheide" writes: > Mike Gran writes: >> There is a README-win.txt file that explains how you might use it to >> distribute a game jam game on Windows. >> >> https://github.com/spk121/guile/blob/reloc-package/README-win.txt > > Th

Re: relocatable guile on windows

2022-12-04 Thread Dr. Arne Babenhauserheide
Mike Gran writes: > There is a README-win.txt file that explains how you might use it to > distribute a game jam game on Windows. > > https://github.com/spk121/guile/blob/reloc-package/README-win.txt This may be just a hack, but it is absolutely awesome! It finally solves the problem of getti

Re: Looking for a computation benchmark in Guile

2022-11-10 Thread Dr. Arne Babenhauserheide
Olivier Dion via General Guile related discussions writes: > 1. No I/O > 2. No delimited computation (no rewind of the stack) > 3. No foreign call > 4. Can be multi-thread (would be great actually) > 5. Reproducible (pure computation are great candidate) > > Also, maybe there's already stan

Re: speed difference between Guile and Racket (and Python)

2022-11-07 Thread Dr. Arne Babenhauserheide
Damien Mattei writes: > when comparing the (almost) same code running on Guile and Racket i find > big speed difference: Schemes differ a lot in speed of different tasks, but Racket is one of the fastest ones. Factor 2 difference sounds plausible. For a comparison, see the r7rs benchmarks: http

Re: Fibers web server: use multiple server sockets

2022-11-02 Thread Dr. Arne Babenhauserheide
writes: > As far as I understand Vivien, interfaces come and go during the > server's lifetime. I.e. it's not just a "boot" thing. This seems > like a valid use case. On some servers you might actually pull out an interface during runtime to hotswap a new one — for example because it signaled tha

Re: Web development without connections to external repl (in geiser)

2022-10-16 Thread Dr. Arne Babenhauserheide
Dmitry Polyakov writes: >> Using fibers, I thought I could run the web server in seperate thread >> that dont block current one where, for example, I could rebind the >> handler (via ice-9 atomics or something). But it's not, after eval >> (run-server handler), repl get stuck. May be I misunders

Re: The Spritely Institute publishes A Scheme Primer (the long-requested "Guile tutorial"?)

2022-07-07 Thread Dr. Arne Babenhauserheide
Luis Felipe writes: > [[PGP Signed Part:No public key for 39E0C7637A39C6A9 created at > 2022-07-07T15:21:16+0200 using RSA]] > On Thursday, July 7th, 2022 at 06:04, Dr. Arne Babenhauserheide > wrote: > >> A also think, since this is an org-file, it would be a natural fit

Re: The Spritely Institute publishes A Scheme Primer (the long-requested "Guile tutorial"?)

2022-07-06 Thread Dr. Arne Babenhauserheide
Christine Lemmer-Webber writes: > Hello all! > > I'm thrilled to announce that The Spritely Institute has published A > Scheme Primer: > > > https://spritely.institute/news/the-spritely-institute-publishes-a-scheme-primer.html > https://spritely.institute/static/papers/scheme-primer.html >

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

2022-06-28 Thread Dr. Arne Babenhauserheide
Maxime Devos writes: > Blake Shaw schreef op wo 29-06-2022 om 01:34 [+0700]: >> Which brings up another thing I've been considering working on thats >> been discussed in the Guix community: the need for click-to-edit >> wiki, written in Guile. [...] > > I don't think ‘written in Guile’ has been

Re: 64-bit Guile on Windows

2022-06-28 Thread Dr. Arne Babenhauserheide
Maxime Devos writes: > [[PGP Signed Part:No public key for 49E3EE22191725EE created at > 2022-06-28T18:14:22+0200 using EDDSA]] > Thomas Thiriez via General Guile related discussions schreef op di 28- > 06-2022 om 16:41 [+0200]: >> Jean Abou Samra writes: >> >> > Le 27/06/2022 à 15:56, Thomas

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 co

Re: Curiosity: Microkernel implemented in Guile ?

2022-06-25 Thread Dr. Arne Babenhauserheide
Jean Abou Samra writes: > (Also replying to Nala.) On the one hand, you have Guile without > compiled > bytecode, which is slow to run, and more importantly painful to use > because there are no error locations and often no function names in > error messages. On the other hand, Guile with bytecod

Re: Curiosity: Microkernel implemented in Guile ?

2022-06-24 Thread Dr. Arne Babenhauserheide
Ognen Duzlevski writes: > I considered embedding a scheme interpreter into a kernel for fun (!) > but even then (non-commercial interest), I only thought of kernels that > are actually used by others ;) There actually are people using the Hurd. Not many, but some. And with Guix, the hurd is jus

Re: Curiosity: Microkernel implemented in Guile ?

2022-06-24 Thread Dr. Arne Babenhauserheide
Jean Abou Samra writes: >> Le 24 juin 2022 à 03:13, Nala Ginrut a écrit : >> >> Agreed, Guile's design was widened. > Let’s be honest: it wasn’t widened, but shifted. I don’t think today’s Guile > is a good fit for an extension language. Why? Which change caused it to not be good as extens

Re: Curiosity: Microkernel implemented in Guile ?

2022-06-23 Thread Dr. Arne Babenhauserheide
Nala Ginrut writes: > Agreed, Guile's design was widened. But I think we are talking about > different "low-level", for Hurd, Guile can be used to write OS > components, say, filesystem. However, except for GNU Mach, most OS > components are implemented in userland, and Guile is good for that, >

Re: Curiosity: Microkernel implemented in Guile ?

2022-06-23 Thread Dr. Arne Babenhauserheide
"Ricardo G. Herdt" writes: > Never tried it myself, but in case you are interested in exploring > Scheme for this kind of development, check Loko Scheme, which runs on > bare-metal and is developed to be a "platform for application and > operating system development": > > https://scheme.fail/ >

Re: Curiosity: Microkernel implemented in Guile ?

2022-06-23 Thread Dr. Arne Babenhauserheide
Nala Ginrut writes: > Many folks shared great Scheme for lower-level. I think I have to clarify > that I agree that Scheme is good for low-level, depends on implementation. > But we are talking about Guile, and Guile was not designed for that > purpose, it's dedicated to extend C program, so the

Re: Curiosity: Microkernel implemented in Guile ?

2022-06-23 Thread Dr. Arne Babenhauserheide
Ognen Duzlevski writes: > Matias Jose Seco Baccanelli writes: >> Isn't a cool mix the functional approach of Guile and the modular one >> of Microkernel ? (and loads of more features i suppose!) > > What I think would be easier to do is embed Scheme inside an OS kernel With the Hurd you re

Re: Curiosity: Microkernel implemented in Guile ?

2022-06-23 Thread Dr. Arne Babenhauserheide
Moin Matias, Matias Jose Seco Baccanelli writes: > Isn't a cool mix the functional approach of Guile and the modular one > of Microkernel ? (and loads of more features i suppose!) > > Feels like a nice recipe for User Empowerment ! The most practical way forwards for that might be Guile bindings

Re: Fibers 1.1.1 released

2022-06-04 Thread Dr. Arne Babenhauserheide
Aleix Conchillo Flaqué writes: > On behalf of the Fibers team, I am excited to announce Fibers 1.1.1. > > Fibers is a lightweight concurrency facility for Guile that supports > non-blocking input and output, millions of concurrent threads, and Concurrent > ML-inspired communication primitives.

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

2022-05-31 Thread Dr. Arne Babenhauserheide
Hi Jack, Jack Hill writes: > Thanks for the positive response and, of course for Chickadee (and > Haunt, etc.)! I might give it a go, but no promises as it could very > well be too much for me to bite off at this time. If you get to do this, I’d love to hear about it! I’m working with my daugh

Re: [ANN] Guile-INI 0.4.0 released

2022-03-13 Thread Dr. Arne Babenhauserheide
"Artyom V. Poptsov" writes: > https://github.com/artyom-poptsov/guile-ini/releases/tag/v0.4.0 > > * Version 0.3.0 (2022-03-13) > ** Update to use the new Guile-SMC 0.4.0 API > ** Add =guix.scm= to the repository >The file contains GNU Guix package recipe. > 2: https://github.com/artyom-pop

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 >

Re: Guile optimizations slowing down the program?

2022-03-09 Thread Dr. Arne Babenhauserheide
Jean Abou Samra writes: >>> There is also a felicitous feedback effect in that because the >>> baseline compiler is much smaller than the CPS compiler, it takes less >>> time to macro-expand — >>> https://wingolog.org/archives/2020/06/03/a-baseline-compiler-for-guile > > As far as I understand,

Re: Guile optimizations slowing down the program?

2022-03-09 Thread Dr. Arne Babenhauserheide
Maxime Devos writes: > Jean Abou Samra schreef op wo 09-03-2022 om 00:31 [+0100]: >> In summary, the less Guile optimizes, the faster LilyPond runs. Is that >> something expected? > > I don't think so, but I don't have a clue how this happens ... Do I understand it correctly that Lilypond has lo

Re: Fibers 1.1.0 released

2022-02-01 Thread Dr. Arne Babenhauserheide
Aleix Conchillo Flaqué writes: > On behalf of the Fibers team, I am very excited to announce Fibers 1.1.0. … > https://github.com/wingo/fibers/wiki/Manual That’s awesome! Thank you! > - Added benchmarks. Do you know the skynet benchmark? https://github.com/atemerev/skynet/tree/master/guile-

Re: GuileScript 0.0.0 released

2022-01-18 Thread Dr. Arne Babenhauserheide
Aleix Conchillo Flaqué writes: > I'm excited to announce GuileScript 0.0.0. GuileScript aims to be a Guile > to JavaScript compiler. It currently doesn't do much but there are some > working examples like fibonacci, binary search and reversing a vector. … > https://github.com/aconchillo/guilescr

Re: Scheme+

2021-12-20 Thread Dr. Arne Babenhauserheide
Damien Mattei writes: > I finished today the first version of Scheme+. > Scheme+ is an extension of the syntax of the Scheme language. > Scheme+ makes it easy the assignment of Scheme objects in infix (works also > in prefix) notation with a few new operators ← (or <-), [ ],⥆ (or <+) . > > htt

Re: Can guile be implementation independent?

2021-12-18 Thread Dr. Arne Babenhauserheide
Tim Van den Langenbergh writes: > On 17/12/2021 17:26, Dr. Arne Babenhauserheide wrote: >> The short of this: Call guile with --r7rs and the main incompatibility >> is missing reading of circular data structures with datum labels. > > Well, Guile is also missing digit-v

Re: Can guile be implementation independent?

2021-12-17 Thread Dr. Arne Babenhauserheide
>>> On Fri, Dec 17, 2021, 09:43 Jacob Hrbek wrote: >>>Is there a way to do the same on GNU Guile? Like writing a code >>>that can >>>be interpreted by implementations that are following the IEEE >>>1178-2008 >>>or R7RS standard? >> On 12/17/21 03:53, Nala Ginrut wrote: >>> Hi J

Re: [ANN] Guile-DSV 0.5.0 released

2021-12-12 Thread Dr. Arne Babenhauserheide
poptsov.art...@gmail.com (Artyom V. Poptsov) writes: > Also there are important API changes in 'dsv' options: '--table-borders' > parameter names are changed to be more concise. And now there's > '--with-header' option that instructs 'dsv' to use the first row of > input data as the table header

Re: [ANN] Guile-DSV 0.4.1 released

2021-12-11 Thread Dr. Arne Babenhauserheide
poptsov.art...@gmail.com (Artyom V. Poptsov) writes: > I'm pleased to announce Guile-DSV 0.4.1: > https://github.com/artyom-poptsov/guile-dsv/releases/tag/v0.4.1 Wow, congrats! > The main changes in this release are related to the 'dsv' tool: now it > allows to print the DSV data as fancy tab

Re: Thanks all!

2021-10-24 Thread Dr. Arne Babenhauserheide
paul writes: > I have just made a release of my app [1] which integrates a Guile > runtime -- since i received invaluable pointers from this mailing > list, i thought folks might be curious as to what i was building. … > 1. Spotiqueue on Github, https://github.com/toothbrush/Spotiqueue Very co

Re: Summer of Code Recap

2021-10-10 Thread Dr. Arne Babenhauserheide
Christine Lemmer-Webber writes: > I have pushed one more merge with master to the compile-to-js-merge > branch. I've taken the bold move of pushing this to origin... I think > it's a good idea to try to get this in, so it's worth it not just > sitting in my own personal repo. wow — thank you!

Re: Chickadee 0.8.0 released

2021-10-08 Thread Dr. Arne Babenhauserheide
"Thompson, David" writes: > I'm happy to announce that Chickadee 0.8.0 has been released! Hell yeah! Thank you! And thank you for the link to https://itch.io/jam/autumn-lisp-game-jam-2021 Something fun I collected for a chickadee-based game: https://opengameart.org/content/art-for-drachi Mo

Re: Demanding Interoperability to Strengthen the Free (Libre) Web: Introducing DISFLUID

2021-07-31 Thread Dr. Arne Babenhauserheide
Vivien Kraus via General Guile related discussions writes: > It is not tied to a particular framework, the specification is based on > HTTP. Guile has by default almost everything we need, > https://www.gnu.org/software/guile/manual/guile.html#Web > > The missing parts are a couple of HTTP head

Re: re-writing algorithms in Guile

2021-06-28 Thread Dr. Arne Babenhauserheide
Tim Meehan writes: > Say for instance, I have found an algorithm for scalar function > minimization on a website, written in C. It is posted with a license for > use. What do you mean by „license for use“? Does it restrict what you want to do? Best wishes, Arne -- Unpolitisch sein heißt polit

Re: re-writing algorithms in Guile

2021-06-28 Thread Dr. Arne Babenhauserheide
> Your program in Guile Scheme which realizes an algorithm is not a > derivative work of the program you read, which program is written in > C. Even in the case that your program realizes the same algorithm as > the C program does. The above official article of the US Copyright > Office clearly

Re: [ANN] Guile-SMC 0.2.0

2021-06-06 Thread Dr. Arne Babenhauserheide
Artyom V. Poptsov writes: > Oh, I forgot to attach the NEWS part. So here it goes, the "List of > User-Visible Changes": very cool! Thank you! Best wishes, Arne -- Unpolitisch sein heißt politisch sein ohne es zu merken signature.asc Description: PGP signature

Re: define anywhere

2021-06-06 Thread Dr. Arne Babenhauserheide
Linus Björnstam writes: > Andy did a marvellous thing … > So TL/DR: guiles way is the correct way. Thank you for the clarification! Best wishes, Arne -- Unpolitisch sein heißt politisch sein ohne es zu merken signature.asc Description: PGP signature

Re: define anywhere

2021-06-06 Thread Dr. Arne Babenhauserheide
Linus Björnstam writes: > becomes ONE letrec under gulie3, whereas my library turns it into > (letrec ((a 2) (b 3)) > (display "hej") > (letrec ((c 3)) > (+ a b c))) > > That should be an easy fix, again if there is any interest. I’m not sure which approach I prefer. Your approach is mo

Re: define anywhere

2021-06-05 Thread Dr. Arne Babenhauserheide
Taylan Kammer writes: > On 05.06.2021 00:27, Damien Mattei wrote: >> hello, >> i'm was considering that i want to be able to define a variable anywhere in >> code, the way Python do. Few scheme can do that (Bigloo i know) >> ( the list here is not exact: >> https://www.reddit.com/r/scheme/commen

Re: Summer of Code Recap

2021-05-11 Thread Dr. Arne Babenhauserheide
Christopher Lemmer Webber writes: > Anyway, is there support from the maintainers from getting this merged > if I can get things working again? I'd really like to see this effort > not go to waste... I'd even like to write a few demos using it. I’m no maintainer, but I would love having the js

Re: Announcement: goof-loop 0.1

2021-05-11 Thread Dr. Arne Babenhauserheide
Linus Björnstam writes: > I am rather pleased to announce the first beta release of goof-loop, an > extensible, powerful and fast looping facility for (guile) scheme. It is > based on (chibi loop), but adds quite a bit of nice things - most notably > subloops and a higher order loop protocol

Re: How to use guile in a development process

2021-04-29 Thread Dr. Arne Babenhauserheide
Hi Anthony, I typically add doctests to the file (self-written) and bind F9 to running the file with --test. Here’s an example: https://hg.sr.ht/~arnebab/dryads-wake/browse/dryads-wake.w?rev=31cced555f13#L16 ;; for emacs (progn (defun test-this-file () (interactive) (save-current-buffer) (asyn

Re: Python-on-guile

2021-04-25 Thread Dr. Arne Babenhauserheide
Stefan Israelsson Tampe writes: > (define-syntax-rule (letec f) > (let/ec x (f x > > Actually lead to similar speeds as python3. Please keep in mind that this is math. There are parts of Python that are heavily optimized, for example reading strings from disk. Guile will likely have a har

Re: Python on guile v1.2.3.7

2021-04-17 Thread Dr. Arne Babenhauserheide
Stefan Israelsson Tampe writes: > I have continued to debug python for guile 3.1 and I am now getting much > less warnings and also I can run test cases and it looks good. Tip, To run > unit tests one can do from the module directory in the dist > > python language/python/module/unittest/tests/t

Re: Python on guile v1.2.3.7

2021-04-11 Thread Dr. Arne Babenhauserheide
Maxim Cournoyer writes: > Hi Stefan, >> This release includes >> * pythons new match statement >> * dataclasses >> * Faster python regexps through caching and improved datastructures >> * Numerous bug fixes found while executing the python unit tests. That’s really cool! Thank you! Best wishes

Re: Syntax-Case macro that selects the N-th element from a list

2021-04-05 Thread Dr. Arne Babenhauserheide
Hi Linus, thank you for your tipps! Linus Björnstam writes: > Can you use the procedural part of syntax-rules? You have the power of > using scheme at expansion time, which means you could do list-ref all > you want. > > That "syntax-rules" is of course syntax-case. > > The only thing is tha

Syntax-Case macro that selects the N-th element from a list

2021-04-05 Thread Dr. Arne Babenhauserheide
Hi, In dryads-wake I need selection of the element in a list in a macro from user-input. Currently I have multiple macros, and the correct one (which strips the non-selected choices) is selected in a simple cond: (define-syntax-rule (Choose resp . choices) "Ask questions, apply consequences"

Re: rfc: next guile 1.8.x release

2021-03-08 Thread Dr. Arne Babenhauserheide
Andy Wingo writes: > power to them; perhaps there is room for an unofficial Guile development > branch. Just that again -- and I really hate to be negative here -- I How about taking this at literal value and creating an ugg8-repository: Unofficial GNU Guile 1.8? That carries with it the conno

  1   2   >