Re: Static site generator

2023-01-13 Thread Massimiliano Gubinelli
generate the index page and the atom feed. Cannot be simpler! Contributions, PR and ideas for extensions are welcome. Best regards, Massimiliano Gubinelli > On 13 Jan 2023, at 18:40, James Crake-Merani wrote: > > > On 13/01/2023 17:53, Jack Hill wrote: >> On Fri, 13 Jan 2023,

Re: Looking For Advice On Updating Code From Guile 1.8.8

2021-02-10 Thread Massimiliano Gubinelli
Dear Andrew, in my experience in transitioning code from 1.8 to 2/3 (which have essentially the same phasing model as far as I understand) you have to keep in mind two things: 1) In Guile 1.8 macros are expanded only when needed (so for example could do nontrivial computations at runtime), wh

Re: rfc: next guile 1.8.x release

2021-01-31 Thread Massimiliano Gubinelli
> On 30. Jan 2021, at 13:31, Ricardo Wurmus wrote: > > > Dr. Arne Babenhauserheide mailto:arne_...@web.de>> writes: > >> 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

Re: rfc: next guile 1.8.x release

2021-01-12 Thread Massimiliano Gubinelli
Hi, I was not aware that Guile 1.8 was still "officially" maintained. What is the current status/policy about it? I'm not sure is appropriate to ask but it would be nice if MinGW (both 32 and 64 bit) could be supported and to have it parallel installable with Guile 2 (and Guile 3). Best reg

Re: GNU Guile 3.0.5 released

2021-01-07 Thread Massimiliano Gubinelli
Dear all, Great news! Looking forward to work with this new release and dive a bit more into the internals of the compiler. Can somebody give an update on the status of Guile 3 on Windows and Mac with M1 processors? Are these platforms supported or there are problems (e.g. with the JIT?). What

Re: Unbound variable warning/exception

2020-12-19 Thread Massimiliano Gubinelli
ttps://github.com/Gnucash/gnucash/pull/831> > On Sat, 19 Dec 2020, 6:08 pm Massimiliano Gubinelli, <mailto:m.gubine...@gmail.com>> wrote: > Hi all, > > nice piece of code! > > About these "possible unbounded variable" warnings, I have for GNU TeXmacs > the

Re: Unbound variable warning/exception

2020-12-19 Thread Massimiliano Gubinelli
Hi all, nice piece of code! About these "possible unbounded variable" warnings, I have for GNU TeXmacs the opposite need: how can I turn them off? :) I was also curious to ask: which are currently the major applications of GNU Guile (as extension language)? For example, in TeXmacs we have ~110

Re: confused about make-module and eval

2020-03-24 Thread Massimiliano Gubinelli
; I expect this to work, but it does not. Any anyone elaborate? >> What is the minimum module that can make this work? (make-fresh-use-module)? > > On Tue, Mar 24, 2020 at 01:35:51AM +0100, Massimiliano Gubinelli wrote: >> I think a fresh module do not have any binding. So 

Re: confused about make-module and eval

2020-03-23 Thread Massimiliano Gubinelli
I think a fresh module do not have any binding. So 'lambda is not defined. You would have to create bindings inside the module, maybe you could just import the-scm-module . In particular this can be a way to allow only certain functionality to be available to the program you eval. Best max >

Re: Error: ("primitive-load-path" "Unable to find file ~S in load path" ("ice-9/boot-9") #f)Abort

2020-03-20 Thread Massimiliano Gubinelli
Oops, I'm sorry. I just realise your message was sent to guile-user and not to texmacs-user. My answer is not appropriate. Please disregard it and sorry for the noise. Max > On 20. Mar 2020, at 09:50, Massimiliano Gubinelli > wrote: > > Dear Nicholas, > you would

Re: Error: ("primitive-load-path" "Unable to find file ~S in load path" ("ice-9/boot-9") #f)Abort

2020-03-20 Thread Massimiliano Gubinelli
Dear Nicholas, you would have to give me more context: which system, which version of Guile, which github repository (there are many), which branch. You could also try to pull again my repository (mgubi/texmacs) and use the branch guile2, I've done some adjustements yesterday. On my Mac it wo

Re: question about values

2020-03-18 Thread Massimiliano Gubinelli
> On 18. Mar 2020, at 16:08, to...@tuxteam.de wrote: > > On Wed, Mar 18, 2020 at 03:48:03PM +0100, Massimiliano Gubinelli wrote: >> >>> On 18. Mar 2020, at 15:40, Massimiliano Gubinelli >>> wrote: >>> >>> Good point with dynamic-wind. Does it

Re: question about values

2020-03-18 Thread Massimiliano Gubinelli
> On 18. Mar 2020, at 15:40, Massimiliano Gubinelli > wrote: > > Good point with dynamic-wind. Does it pass along also multiple values or has > the same problem? > Does not work... mgubi@Ulrike guile3-usr % bin/guile GNU Guile 3.0.1 Copyright (C) 1995-2020 Free Softwa

Re: question about values

2020-03-18 Thread Massimiliano Gubinelli
a finalizer are always run. > > On Wed, Mar 18, 2020 at 9:11 AM Massimiliano Gubinelli <mailto:m.gubine...@gmail.com>> wrote: > > > On 18. Mar 2020, at 13:39, Matt Wette > <mailto:matt.we...@gmail.com>> wrote: > > > > > > How about c

Re: question about values

2020-03-18 Thread Massimiliano Gubinelli
> On 18. Mar 2020, at 13:39, Matt Wette wrote: > > > How about calling (my-macro/values bar) where my-macro/values expands to > > (call-with-values (lambda () (bar)) > (lambda args (finalization-code) (apply values args)) > > Matt > > Yeah! I like this better. But still wraps and unwrap

Re: question about values

2020-03-18 Thread Massimiliano Gubinelli
will be a macro, so used also in many other context where bar returns only a single value) Is there no better way to have multiple values interact in a composable way with macros??? Max > On 18. Mar 2020, at 10:55, Massimiliano Gubinelli > wrote: > > Thanks Taylan, > >&

Re: question about values

2020-03-18 Thread Massimiliano Gubinelli
Thanks Taylan, > On 18. Mar 2020, at 07:12, Taylan Kammer wrote: > > On 18.03.2020 00:50, Massimiliano Gubinelli wrote: >> (let ((a (values "a" "b" "c"))) a) > > The result of (values x y z) is not a kind of object that contains three >

question about values

2020-03-17 Thread Massimiliano Gubinelli
Hi all, I do not understand what happens here: mgubi@Ulrike guile3-usr % guile guile> (version) "1.8.8" guile> (call-with-values (lambda () (let ((a (values "a" "b" "c"))) a)) (lambda body body)) ("a" "b" "c") mgubi@Ulrike guile3-usr % bin/guile GNU Guile 3.0.1 Copyright (C) 1995-2020 Free So

Re: TeXmacs on Guile 2.2.4

2019-05-27 Thread Massimiliano Gubinelli
> On 27. May 2019, at 01:49, Mike Gran wrote: > > On Sun, May 26, 2019 at 11:17:48PM +0200, Massimiliano Gubinelli wrote: >> Hi all, >> >> I???m porting GNU TeXmacs (www.texmacs.org) to Guile 2.2.4 (and >> hopefully to Guile 3.0). The current status is the.

TeXmacs on Guile 2.2.4

2019-05-26 Thread Massimiliano Gubinelli
Hi all, I’m porting GNU TeXmacs (www.texmacs.org) to Guile 2.2.4 (and hopefully to Guile 3.0). The current status is the following. TeXmacs runs on Guile 2.2.4 with autocompilation turned off: the applications opens and can read and render some files. More work is necessary to switch on compil