Re: GNU Guile 3.0.3 released

2020-06-22 Thread Dr. Arne Babenhauserheide
Ludovic Courtès writes: > Changes in 3.0.3 (since 3.0.2) > > * New interfaces and functionality > > ** New baseline compiler > > Guile's CPS-based compiler generates good code, but it takes time and > memory to do so. For users that prioritize speed of compilation over > speed of generated code,

Re: GNU Guile 3.0.3 released

2020-06-23 Thread Dr. Arne Babenhauserheide
Ludovic Courtès writes: > Hi, > > (Stripping Cc: list.) ah, sorry! > "Dr. Arne Babenhauserheide" skribis: > >> Are there already results about the difference in build-time from the >> git-repo? > > Andy wrote a nice post that includes performa

Re: GNU Guile 3.0.3 released

2020-06-23 Thread Dr. Arne Babenhauserheide
Ludovic Courtès writes: > For Guix package modules, here are the figures I got: > https://lists.gnu.org/archive/html/guix-devel/2020-06/msg00038.html >> That post is why I ask. Would it be possible to get rid of the binaries >> in the tarballs with this change? Maybe by first compiling in O1

Re: Starting a GNU Guile awesome list

2020-07-14 Thread Dr. Arne Babenhauserheide
Zelphir Kaltstahl writes: > https://notabug.org/ZelphirKaltstahl/awesome-guile > > If you know more things, which should be added to the list, please tell > me or create a PR or open an issue or … you get it. Would enter-three-witches apply? Write executable game-stories like theater plays, as

Re: Starting a GNU Guile awesome list

2020-07-14 Thread Dr. Arne Babenhauserheide
Zelphir Kaltstahl writes: >>> (Perhaps I should not ask this question … the amount of markdown typing … >>> my fingers hurt.) >> ??? The only thing where org-mode saves typing over markdown-mode is ToC >> generation. But there are lots ToC helpers for Markdown! (describe-package >> 'markd

Re: Starting a GNU Guile awesome list

2020-07-14 Thread Dr. Arne Babenhauserheide
Zelphir Kaltstahl writes: > One can write whole scientific books in org-mode Or roleplaying books, which actually have higher requirements :-) (I did both) >>> * Do you think license information should be written next to each item in >>> the list? >> First at foremost, the list _itself_ has t

Re: Starting a GNU Guile awesome list

2020-07-15 Thread Dr. Arne Babenhauserheide
Hi Zelphir, Zelphir Kaltstahl writes: > On 14.07.20 16:14, Dr. Arne Babenhauserheide wrote: >> Zelphir Kaltstahl writes: >>> https://notabug.org/ZelphirKaltstahl/awesome-guile >>> >>> If you know more things, which should be added to the list, please tell &g

Re: Starting a GNU Guile awesome list

2020-07-15 Thread Dr. Arne Babenhauserheide
Hi Zelphir, Zelphir Kaltstahl writes: > I just read multiple articles about GFDL and CC0 and still don't know > what the better choice is for the list. > > In particular I do not find information about whether CC0 is copyleft or > not (1), which perhaps means, that it is not and I do not understa

Re: A licence for an ‘awesome list’ (was: Starting a GNU Guile awesome list)

2020-07-16 Thread Dr. Arne Babenhauserheide
Dmitry Alexandrov writes: > Quoth (emphasis mine): > | A work released under CC0 is dedicated to the public domain to the fullest > extent permitted by law. If that is not possible for any reason, CC0 also > provides a *lax, permissive* lice

Re: A licence for an ‘awesome list’ (was: Starting a GNU Guile awesome list)

2020-07-16 Thread Dr. Arne Babenhauserheide
Dr. Arne Babenhauserheide writes: > Dmitry Alexandrov writes: > >> Quoth <https://www.gnu.org/licenses/license-list.html#CC0> (emphasis mine): >> | A work released under CC0 is dedicated to the public domain to the fullest >> extent permitted by law. If that

Re: Starting a GNU Guile awesome list

2020-07-16 Thread Dr. Arne Babenhauserheide
Dmitry Alexandrov writes: > "Dr. Arne Babenhauserheide" wrote: >>>> In the case you will stick with Org, there at least should be a runnable >>>> build recipe (i. e. a Makefile). >> >> I’d like to cut this discussion short: >> >&g

Re: A licence for an ‘awesome list’ (was: Starting a GNU Guile awesome list)

2020-07-16 Thread Dr. Arne Babenhauserheide
John Cowan writes: > I don't see any. A list of links is unlikely to be included in the source > code of a software work. As soon as you put it into the help section of for example a Guile Studio, displayed with a help-command and referenced back to some degree (so that it's not just side-by-

Re: Handling object communication in GOOPS

2020-07-19 Thread Dr. Arne Babenhauserheide
Jan Wielkiewicz writes: > I'm implementing something like this right now. I'm adding a > object to every object needing to do messaging. > Once a message is received, the object will run message > handler provided by the parent object. > > I'm surprised Guile isn't providing anything like this

Re: No Guile on Windows? (was: My Guile Hacker Handbook)

2020-07-24 Thread Dr. Arne Babenhauserheide
Eli Zaretskii writes: > > Sadly, Guile seems to care only about one OS: GNU/Linux, and more or > less disregard the rest. Features are added that clearly cannot > easily work on other OSes, let alone non-Posix ones, and with each > such new feature producing a working MinGW port becomes harder

Re: No Guile on Windows?

2020-07-24 Thread Dr. Arne Babenhauserheide
Stefan Israelsson Tampe writes: > I use guile all the time at my windows 10 machine at work (WSL) to handle > xml files. Used apt to get it. It’s great that that’s possible. If it requires people to first activate WSL (so they cannot just start an application they get from me but have to config

guile-lib: new (string posix) module, filename resolution procedures - proposal for inclusion

2020-08-25 Thread Dr. Arne Babenhauserheide
/wrap.scm \ diff --git a/src/string/posix.scm b/src/string/posix.scm new file mode 100644 index 000..5370657 --- /dev/null +++ b/src/string/posix.scm @@ -0,0 +1,79 @@ +;;; (string posix) -- posix string operations + +;; Copyright (C) 2020 Dr. Arne Babenhauserheide and Leo

Re: How do you record output of both STDERR and STDIN to a string?

2020-09-10 Thread Dr. Arne Babenhauserheide
Roel Janssen writes: > On Thu, 2020-09-10 at 04:14 +0300, Bonface M. K. wrote: >> Hi all. Is there a way to "record" the output from both *stderr* and >> *stdout* from a guile process if you wrap it around a "system" call >> to a >> string? Here's something that works. It's not /exactly/ what I

Re: Guile web server example serving static files

2020-09-18 Thread Dr. Arne Babenhauserheide
Hi Zelphir, I see that you’re getting the full file as bytevector Zelphir Kaltstahl writes: > https://notabug.org/ZelphirKaltstahl/guile-examples/src/65ba7cead2983f1ceb8aa2d4eedfe37734e5ca56/web-development/example-03-serve-static-assets I see that you’re getting the full file as bytevector in

Re: Status for guile-on-the-web?

2020-10-23 Thread Dr. Arne Babenhauserheide
Hi divoplade, Thank you for bringing this up again! divoplade writes: > There's a quote I love from the manual [1]: > > "Finally, so much of the world’s computation is performed in web > browsers that it makes sense to ask ourselves what the Guile-on-the- > web-client story is. With the advent

Re: Namespace confusion/pollution in languages implemented via Guile's compile-tower

2020-11-07 Thread Dr. Arne Babenhauserheide
holger.pet...@posteo.de writes: > It seems that in the REPL, Guile injects the `guile-user' module > directly whereas when called with `-s` and a script guile uses the > module provided with `#:make-default-environment'. That seems strange > because overall I would expect REPL environments and no

Re: Question about data structures

2020-11-23 Thread Dr. Arne Babenhauserheide
Zelphir Kaltstahl writes: > How do you approach this problem? Is it a problem at all? I would use a deque: a double ended queue. Cheap push and pop at end and beginning. https://srfi.schemers.org/srfi-134/srfi-134.html I created a guile-implementation for that: https://github.com/scheme-reque

Re: Namespace confusion/pollution in languages implemented via Guile's compile-tower

2020-11-26 Thread Dr. Arne Babenhauserheide
Holger Peters writes: > Hi, > >> This is as intended. > > Do you have a rationale for this intention? I have been thinking > about this for weeks now, and I still cannot come up with a scenario > when I would like this behaviour. That is if I'd load a lua-on-guile > REPL, I wouldn't like to ha

Re: Guile-zstd 0.1.1 released

2020-12-27 Thread Dr. Arne Babenhauserheide
Hi Ludo, that’s pretty cool! Thank you! Looking at the readme I get the feeling that two little helpers could be useful: (call-with-zstd-output-file "compressed.zstd" (lambda (port) (define data ;; Read the input file in memory. (call-with-input-file

Re: Chickadee 0.6.0 released

2020-12-27 Thread Dr. Arne Babenhauserheide
Hi Dave, Thompson, David writes: > Most notably it now supports OpenGL 2 (rejoice, old thinkpad users!), > can render TrueType/OpenType fonts, and has preliminary support for 2D > vector graphics. > > See the link below for full release details and download links: > https://dthompson.us/chic

Re: Using Guile for soft-realtime

2021-01-25 Thread Dr. Arne Babenhauserheide
olivier.dion--- via General Guile related discussions writes: > On Sun, 27 Dec 2020, Joshua Branson via General Guile related discussions > wrote: >> Hey Olivier! >> >> I've heard that guile is generally faster than python, but there are >> some other schemes that are faster, notably chez sch

Re: rfc: next guile 1.8.x release

2021-01-29 Thread Dr. Arne Babenhauserheide
Ludovic Courtès writes: > Thien-Thi Nguyen skribis: >> I would like to work (on the weekends, so as not to intefere w/ >> ) on preparation and release of Guile 1.8.9, targeted >> for the ides of April (more or less). >> >> Guile 1.8.x users: What changes do you want to see in 1.8.9? I am not a

Re: rfc: next guile 1.8.x release

2021-01-30 Thread Dr. Arne Babenhauserheide
Ricardo Wurmus writes: >> Ludovic Courtès writes: >>> Thien-Thi Nguyen skribis: >> The message we’re sending is that we don’t leave anyone out in the cold >> who committed to using Guile. > > The mailing lists are evidence enough that users of Guile 1.8 can get > help in migrating to version 2

Re: Help making a GNU Guix package for pure GNU Guile library

2021-01-30 Thread Dr. Arne Babenhauserheide
John Cowan writes: > This is the outcome of many years struggling with autotools, and several > more struggling with CMake. (Chicken compiles Scheme to C and is written in > Scheme, so it has to bootstrap itself, something CMake doesn’t or didn’t > like.) [Supposedly CMake has fixed this problem

Re: build system for pure Guile library (was Re: Help making a GNU Guix package for pure GNU Guile library)

2021-01-31 Thread Dr. Arne Babenhauserheide
Zelphir Kaltstahl writes: > This may be short sighted or uninformed, but generally I don't know, why > I would build anything, except for running it. If I am not confused Here are three reasons for building of a pure-guile ication: - avoid the initial start time due to auto-compilation - set sp

Re: Guix records

2021-02-09 Thread Dr. Arne Babenhauserheide
Taylan Kammer writes: > The most feature-rich record system supported by Guile is probably the > R6RS record system, which is available through the modules: > > (rnrs records syntactic (6)) > (rnrs records procedural (6)) > (rnrs records inspection (6)) > Here's a super brief example usage

Re: Guix records

2021-02-10 Thread Dr. Arne Babenhauserheide
Taylan Kammer writes: >>>(import (rnrs records syntactic (6))) >>>(define-record-type (cat make-cat cat?) (fields name age color)) >> I did not know about that shorthand — thank you! >> I always did this: >> (import (srfi srfi-9)) >> (define-record-type >>(make-cat name age color) >

Re: Guile Hacker Handbook - Character sets

2021-02-18 Thread Dr. Arne Babenhauserheide
Hi Jérémy, Thank you for your book! How you’re describing char-sets using a clear use-case looks really good! A few comments: # Try and run the test here you write “the test fails”, which is slightly unprecise. The precise wording would be “the test will fail to run”. # Write the minimal … I

Re: Guile Hacker Handbook - Character sets

2021-02-19 Thread Dr. Arne Babenhauserheide
Jérémy Korwin-Zmijowski writes: > Le jeudi 18 février 2021 à 22:56 +0100, Zelphir Kaltstahl a écrit : >> I am looking forward to seeing a new chapter of your handbook, >> especially, if there is more stuff that explains macros and how to >> get >> something useful done with macros. : ) > > Thank

Re: Guile Potluck 2021

2021-02-21 Thread Dr. Arne Babenhauserheide
Alex Sassmannshausen writes: > I would love to participate by cheating a little and submitting a new > release of Guile Hall, which is overdue and should happen between 1 and > 6 March. \o/ thank you! Best wishes, Arne -- Unpolitisch sein heißt politisch sein ohne es zu merken signature.as

Re: Guile Potluck 2021

2021-02-27 Thread Dr. Arne Babenhauserheide
I’d like to contribute a basic implementation of the Web of Trust in Freenet that provides spam-detection without centralized control: https://hg.sr.ht/~arnebab/wispwot/browse/wispwot/wispwot.scm Currently this takes 70s to calculate aggregated trust scores on 300k trust edges. I hope to get thi

Re: Guile Potluck 2021

2021-02-27 Thread Dr. Arne Babenhauserheide
Hi Linus, Linus Björnstam writes: > I had a look and there is quite a lot you can do. Just out of > curiosity: how much is GC time? You are generating a lot of > intermediate data. Instead of vector-append! maybe use something like > the new vectorlist srfi? If you show me a flame graph and give

Re: Guile Potluck 2021

2021-02-27 Thread Dr. Arne Babenhauserheide
PS: Still it is important to get this code fast, because it is the fallback for all situations where I cannot cheat and only calculate a subset of the trust, and it is required at startup. Dr. Arne Babenhauserheide writes: > Hi Linus, > > Linus Björnstam writes: >> I

Re: Guile Potluck 2021

2021-03-01 Thread Dr. Arne Babenhauserheide
Hi Guilers, There’s one more thing for the Potluck: I started doing some code-catas in Guile wisp: https://www.draketo.de/software/wisp-code-katas Liebe Grüße, Arne -- Unpolitisch sein heißt politisch sein ohne es zu merken signature.asc Description: PGP signature

Re: Guile Potluck 2021

2021-03-01 Thread Dr. Arne Babenhauserheide
ort-trust-value 0.00 7.82 0.00 remove 0.00 0.02 0.00 anon #x7a24b0 --- Sample count: 3820 Total time: 62.773351245 seconds (2.013414284 seconds in GC) (I see here that the GC time during actual trust calculation is much lower than I had expected) I hope they help! (you’ll

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

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

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

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

  1   2   >