GNU Guile 3.0.10 released

2024-06-23 Thread Andy Wingo
the .sig file and the corresponding tarball. Then, run a command like this: gpg --verify guile-3.0.10.tar.gz.sig The signature should match the fingerprint of the following key: pub rsa4096 2017-08-09 [SC] 4FD4 D288 D445 934E 0A14 F9A5 A880 3732 E443 6885 uid Andy Wingo uid

GNU Guile 3.0.8 released

2022-02-12 Thread Andy Wingo
[A resend, as original mail accidentally had two From headers; apologies for any duplicates!] We are delighted to announce GNU Guile release 3.0.8, the latest in the 3.0 stable release series. The Guile 3.0.8 release mixes maintenance and optimizations that were landed since the previous 3.0.7 st

GNU Guile 3.0.8 released

2022-02-10 Thread Andy Wingo
We are delighted to announce GNU Guile release 3.0.8, the latest in the 3.0 stable release series. The Guile 3.0.8 release mixes maintenance and optimizations that were landed since the previous 3.0.7 stable release in May 2021. See the NEWS extract at the end of the mail for full details. Compa

heads-up: development branch is now "main"

2021-05-11 Thread Andy Wingo
Hi, Just a heads-up that the main Guile development branch is now named "main". If you have a recent git and a fairly conventional setup, it will be sufficient to switch your working copy by doing: git fetch origin git checkout main Then you can continue to "git pull" as usual. One note, t

GNU Guile 3.0.7 released

2021-05-10 Thread Andy Wingo
We are humbled to announce GNU Guile release 3.0.7, the latest in the 3.0 stable release series. This is a fix-up release. Compared to Guile 3.0.6, Guile 3.0.7 fixes a number of bugs, many of which were introduced in the 3.0 series. Compared to the previous stable series (2.2.x), Guile 3.0 adds

GNU Guile 3.0.6 released

2021-04-28 Thread Andy Wingo
We are pleased to announce GNU Guile release 3.0.6, the latest in the 3.0 stable release series. Compared to the previous release in the 3.0 series, Guile 3.0.6 improves source-location information for compiled code, removes the dependency on libltdl, fixes some important bugs, adds an optional bu

Re: [bootstrappable] Re: Can Guile be bootstrapped from source without psyntax-pp.scm?

2021-03-16 Thread Andy Wingo
On Mon 15 Mar 2021 20:50, Michael Schierl writes: > Am 15.03.2021 um 18:09 schrieb Ludovic Courtès: >> Woow, this is great news! I think it would be great towards importing >> it in Guile proper. >> >> To do that, I think we should first get Andy’s opinion on the approach. > > I don't think upst

Re: rfc: next guile 1.8.x release

2021-03-08 Thread Andy Wingo
Hi :) On Sun 10 Jan 2021 22:54, Thien-Thi Nguyen writes: > 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). Humm! I see you have started work here and are pushing to the main release

GNU Guile 3.0.5 released

2021-01-07 Thread Andy Wingo
We are delighted to announce GNU Guile release 3.0.5, the latest in the 3.0 stable release series. Compared to the previous release in the 3.0 series, Guile 3.0.5 can compile chained "if" expressions into the equivalent of what a C compiler does with "switch". It also adds some new warning passes

Re: GNU Guile 3.0.3 released

2020-06-24 Thread Andy Wingo
On Tue 23 Jun 2020 11:36, Chris Vine writes: > On Tue, 23 Jun 2020 10:05:51 +0200 > Ludovic Courtès wrote: >> Hi Chris, >> >> Chris Vine skribis: >> >> > On Sun, 21 Jun 2020 23:04:03 +0200 >> > Ludovic Courtès wrote: >> >> We are delighted to announce GNU Guile release 3.0.3, the third bug-f

GNU Guile 3.0.0 released

2020-01-16 Thread Andy Wingo
We are delighted to announce GNU Guile release 3.0.0, the first in the new 3.0 stable release series. Compared to the previous stable series (2.2.x), Guile 3.0 adds support for just-in-time native code generation, speeding up all Guile programs. See the NEWS extract at the end of the mail for full

Re: GNU Guile 2.9.9 Released [beta]

2020-01-15 Thread Andy Wingo
On Tue 14 Jan 2020 22:48, Stefan Israelsson Tampe writes: > Strange that I did not dee this error before in the 2.x series > ever. Isn't it so that for procedures define in a (let () ...) the > case you are mentioning happened before but I was on the impression > that no inlining was done for de

Re: GNU Guile 2.9.9 Released [beta]

2020-01-14 Thread Andy Wingo
On Tue 14 Jan 2020 21:13, Stefan Israelsson Tampe writes: > Okey, here is another case that fails with the patch that prevents identity > misses for toplevels e.g we need similar fixes for anonymous functions. > > (define-module (b) > #:export (q)) > > (define h (make-hash-table)) > (define (

Re: GNU Guile 2.9.9 Released [beta]

2020-01-13 Thread Andy Wingo
On Mon 13 Jan 2020 09:39, Andy Wingo writes: > Compared to the previous prerelease (2.9.7), Guile 2.9.8 fixes a number > of bugs. Obviously this was meant to be 2.9.9 versus 2.9.8 :) > Changes since alpha 2.9.8 (since 2.9.7): Here too :)

GNU Guile 2.9.9 Released [beta]

2020-01-13 Thread Andy Wingo
We are pleased to announce GNU Guile release 2.9.9. This is the ninfth and probably final pre-release of what will eventually become the 3.0 release series. Compared to the current stable series (2.2.x), the future Guile 3.0 adds support for just-in-time native code generation, speeding up all Gu

Re: GNU Guile 2.9.5 Released [beta]

2020-01-07 Thread Andy Wingo
On Tue 07 Jan 2020 00:14, Chris Vine writes: > I wonder if it would surprise the programmer to have the cond > conditionals evaluated in a different dynamic environment from the one > in which the cond consequential is evaluated where there is a > conditional which is true. I entirely agree it's

Re: GNU Guile 2.9.8 Released [beta]

2020-01-05 Thread Andy Wingo
On Fri 03 Jan 2020 06:34, Nala Ginrut writes: > When I was trying to compile Artanis, the configure threw an error: > > checking for Guile version >= 3.0... configure: error: Guile 3.0 required, > but 2.9.8 found > > > Here's what I put i

GNU Guile 2.9.8 Released [beta]

2020-01-02 Thread Andy Wingo
We are pleased to announce GNU Guile release 2.9.8. This is the eighth and possibly final pre-release of what will eventually become the 3.0 release series. Compared to the current stable series (2.2.x), the future Guile 3.0 adds support for just-in-time native code generation, speeding up all Gu

GNU Guile 2.9.6 Released [beta]

2019-12-06 Thread Andy Wingo
We are pleased to announce GNU Guile release 2.9.6. This is the sixth pre-release of what will eventually become the 3.0 release series. Compared to the current stable series (2.2.x), the future Guile 3.0 adds support for just-in-time native code generation, speeding up all Guile programs. See t

Maintainership changes: many thanks to Mark!

2019-09-11 Thread Andy Wingo
Hi all, After many years working on Guile and more than 5 years in a maintainer role, Mark Weaver has decided to step down. Taking over from him and remaining as Guile co-maintainers are Ludovic Courtès and Andy Wingo. On behalf of myself and Ludovic and no doubt all Guile users and developers

Re: c99 support

2018-06-29 Thread Andy Wingo
On Sat 23 Jun 2018 22:12, Andy Wingo writes: > Is there anyone who compiles Guile with a compiler that does not support > C99? If so, please give platform and compiler. > > I think my questions are limited to, in decreasing order of importance: > > * Is there any system t

c99 support

2018-06-23 Thread Andy Wingo
Hi, Is there anyone who compiles Guile with a compiler that does not support C99? If so, please give platform and compiler. I think my questions are limited to, in decreasing order of importance: * Is there any system that we target that doesn't have C99 stdint.h and stddef.h ? * Is th

Re: Introducing GNUPaste (and guile-wiredtiger future)

2017-12-18 Thread Andy Wingo
On Sun 17 Dec 2017 15:39, Amirouche Boubekki writes: > Basically, guile-wiredtiger is not compatible yet with fiber > in the general case, because fiber will spawn several threads > and several fibers in each thread (and I think that fibers > can be stolen by other threads but I am not sure). No

GNU Guile 2.2.3 released.

2017-12-01 Thread Andy Wingo
We are delighted to announce GNU Guile release 2.2.3, the third bug-fix release in the 2.2 stable release series. Besides the usual pile of bug fixes, this release has two notable improvements that we hope you will enjoy. The first is that the compiler is faster, especially on large Scheme files.

Re: [PATCH] Bump version to 2.2.2.

2017-11-13 Thread Andy Wingo
On Mon 13 Nov 2017 12:01, l...@gnu.org (Ludovic Courtès) writes: > Hello! > > Alex Vong skribis: > >> Tom Jakubowski writes: >> >>> Unsure if this is the right list; if it's the wrong one, then I'm sorry! >>> >> Thanks for your report, I think you are on the right list! > > I think Andy, who mad

Re: primitive eval with module => Unbound variable?

2017-05-22 Thread Andy Wingo
More concretely... you think in your examples that because you see (current-module) in the (foo) module that (current-module) will be (foo). That is a lexical assumption. It's usually what you want. But current-module isn't lexically scoped -- it's dynamically scoped. Its value comes from the c

Re: primitive eval with module => Unbound variable?

2017-05-22 Thread Andy Wingo
On Thu 18 May 2017 06:54, Jan Nieuwenhuizen writes: >> This is the right thing: >> >> (define-module (foo) #:export (baz)) >> (define eval-module (current-module)) >> (define bar 42) >> (define (baz) (eval 'bar eval-module)) > > Thanks!...this works. I'm very happy with this, it means th

Re: Stack traces

2017-05-19 Thread Andy Wingo
On Thu 18 May 2017 15:38, Christopher Allan Webber writes: > I frequently find that ,locals does not display much information... it > seems to be a toss-up whether the variables I need will be contained > in it, so I've reduced the amount I use the actual debugger system in > Guile a lot. A sha

Re: primitive eval with module => Unbound variable?

2017-05-17 Thread Andy Wingo
On Tue 16 May 2017 23:59, Jan Nieuwenhuizen writes: > This code works when not put in a module; make it a module and I get > > => ERROR: Unbound variable: bar I assume you mean that this doesn't work: (define-module (foo) #:export (baz)) (define bar 42) (define (baz) (primitive-eval '

Re: 2.2 git users should switch to stable-2.2 branch

2017-05-15 Thread Andy Wingo
On Thu 11 May 2017 21:54, Christopher Allan Webber writes: >> Incidentally if you use Guile commercially and would like to support my >> work on it, let me know. > > I don't know what the right answer is to it (maybe eventually there > would be a company making money off of Guix deployment that

2.2 git users should switch to stable-2.2 branch

2017-05-10 Thread Andy Wingo
Hello Guilefolk, As we did with Guile 1.8 and 2.0, I just pushed a stable-2.2 branch. This is the branch for Guile 2.2 development -- the branch that keeps a stable API and ABI during the 2.2.x series. It's the one you want to be using unless you are doing development of Guile itself. If you hav

Re: IMAP SSL Connection using Guile

2017-05-02 Thread Andy Wingo
On Sun 30 Apr 2017 18:42, Amirouche writes: > I am trying to connect to an imap server using SSL but it fails. The > program does > indeed connect to the remote server, but when I try to read on the > port it blocks > until the connection is closed by the remote host. > > Everything works fine us

GNU Guile 2.2.2 released

2017-04-21 Thread Andy Wingo
We sheepishly announce GNU Guile release 2.2.2, a quick bug-fix to the recent 2.2.1 release. This release restores our ability to compile with libgc 7.2, and restores the ability of syntax objects to be structurally compared with equal?. * * * Guile is an implement

GNU Guile 2.2.1 released

2017-04-19 Thread Andy Wingo
We are happy to announce GNU Guile release 2.2.1, the first bug-fix release in the new 2.2 stable release series. This release adds a "sandbox" facility that can run code from untrusted users. It also includes a compiler and runtime change that ensures that attempts to mutate literal constants wi

Re: Performance issue with guile-2.2

2017-04-14 Thread Andy Wingo
On Wed 12 Apr 2017 09:28, Vijay Pratap Chaurasia writes: > Thanks for input and putting the code as attachment. I am consistently > getting bad performance with guile.2.2 even through it is reasonably good > with guile2.1 compare to guile2.0 . I have built guile on RHEL5 platform > using gcc4

Re: guix is the guildhall that we always wanted!

2017-03-17 Thread Andy Wingo
On Fri 17 Mar 2017 14:54, Christopher Allan Webber writes: > Andy Wingo writes: > >> On Thu 16 Mar 2017 23:01, Mark H Weaver writes: >> >>> If [Guix] starts encouraging a decentralized approach, that would >>> result in strong pressure on us to freeze o

Re: guix is the guildhall that we always wanted!

2017-03-17 Thread Andy Wingo
On Fri 17 Mar 2017 12:30, l...@gnu.org (Ludovic Courtès) writes: >> So! My proposal for this new "guildhall" would be: >> >> 1. a web service >> >> 2. on which users registers projects >> >> 3. a project is a name + a git repository with a /package.scm file >> >> 4. the package.sc

Re: guix is the guildhall that we always wanted!

2017-03-17 Thread Andy Wingo
On Thu 16 Mar 2017 23:01, Mark H Weaver writes: > If [Guix] starts encouraging a decentralized approach, that would > result in strong pressure on us to freeze our API, which includes even > such details as which module each package is exported from. This > would drastically reduce the freedom G

Re: guix is the guildhall that we always wanted!

2017-03-17 Thread Andy Wingo
On Thu 16 Mar 2017 20:26, Amirouche Boubekki writes: >> So! My proposal for this new "guildhall" would be: >> >> 1. a web service >> > > What would be the cli interface associated with that web service? > Some thing like the following will do: > > $ guildhall register So I think we could

guix is the guildhall that we always wanted!

2017-03-16 Thread Andy Wingo
Hi all! I've always wondered about the right solution for getting Guile users to share code with each other. At one point I thought that we would have a Guile-specific packaging system like CPAN or NPM, but one with GNU stow-like characteristics. We had problems with C extensions though: how do

GNU Guile 2.2.0 released

2017-03-16 Thread Andy Wingo
We are delighted to announce GNU Guile release 2.2.0, the first of a new stable release series. More than 6 years in the making, Guile 2.2 includes a new optimizing compiler and high-performance register virtual machine. Compared to the old 2.0 series, real-world programs often show a speedup of

Re: Controlling optimizations in 2.2

2017-03-13 Thread Andy Wingo
On Mon 13 Mar 2017 15:10, l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo skribis: > >> Incidentally in 2.2 the options you need to turn off optimization are a >> little more complicated. We have "guild compile -O0" which will produce >> the right set of o

Re: Lilypond speed (was Re: How to make GNU Guile more successful)

2017-03-13 Thread Andy Wingo
On Mon 13 Mar 2017 00:20, Matt Wette writes: > If lilypond is performing a lot of eval or lambda generation would turning > off optimization help? > > (compile expr #:opts ‘(#:partial-eval? #f #:cse? #f)) I think Lilypond is currently not going through the compiler at all, so no partial

Re: String internals sketch

2017-03-10 Thread Andy Wingo
Hi :) On Fri 10 Mar 2017 16:31, David Kastrup writes: > a) Guile already uses two different internal representations: basically > UCS-8 and UCS-32. Adding more internal representations could be done > using a number of tables indexed by the internal representation type, > making string represen

GNU Guile 2.1.8 released (beta)

2017-03-10 Thread Andy Wingo
We are pleased to announce GNU Guile release 2.1.8. Guile 2.1.8 is the eighth pre-release in what will eventually become the 2.2 release series. We are optimistic that no further pre-releases will be required. We encourage you to test this pre-release and provide feedback to guile-de...@gnu.org.

Re: The status of JIT compiler of Guile

2017-03-10 Thread Andy Wingo
On Fri 10 Mar 2017 07:19, Nala Ginrut writes: > I have similar idea, TJIT could be an optional package and people may > choose to install it seperately. Sounds good to me. I understand we will be able to add the necessary hooks during the course of 2.2. Andy

Re: Guile foreign object interface

2017-03-10 Thread Andy Wingo
On Fri 10 Mar 2017 08:38, Eli Zaretskii writes: >> From: Andy Wingo >> Cc: l...@gnu.org (Ludovic Courtès), guile-user@gnu.org >> Date: Thu, 09 Mar 2017 20:56:09 +0100 >> >> > That's what I'm trying to tell you: there's no aggression. &g

Re: Guile foreign object interface

2017-03-09 Thread Andy Wingo
On Thu 09 Mar 2017 19:31, Eli Zaretskii writes: >> From: l...@gnu.org (Ludovic Courtès) >> Cc: guile-user@gnu.org >> Date: Thu, 09 Mar 2017 18:26:09 +0100 >> >> I’m all for personal style, but I’m against passive-aggressive or downright >> aggressive style. > > That's what I'm trying to tell you

Re: The status of JIT compiler of Guile

2017-03-09 Thread Andy Wingo
On Thu 09 Mar 2017 07:59, Nala Ginrut writes: > I've discussed with @Ludo, I think it's better to integrate it as a > plugin, and could be maintained separately. > It is possible to have some hooks in Guile VM to enable certain > optimizing, but I don't think we have it now, right? This sounds l

Re: debugging help: how to read/use a backtrace?

2017-03-07 Thread Andy Wingo
On Tue 07 Mar 2017 16:42, Jan Nieuwenhuizen writes: > Andy Wingo writes: > >> On Sat 21 Jan 2017 11:21, Jan Nieuwenhuizen writes: >> >>> I often find myself struggling to pinpoint an error location from >>> Guile's backtrace (see below) and I am starting

Re: Guile foreign object interface

2017-03-07 Thread Andy Wingo
Hi :) Thanks for taking the time to look at the issue! On Tue 07 Mar 2017 14:44, l...@gnu.org (Ludovic Courtès) writes: > I think Mark made two kinds of comments back then: > > 1. There were suggestions about the API itself, nothing deep: >

Re: REPL history

2017-03-07 Thread Andy Wingo
On Mon 06 Mar 2017 22:44, Vladimir Zhbanov writes: > What I tried so far is to manually save dynamic state in repl: > (define ds (current-dynamic-state)) > > and use it in GUI (with support of guile expression evaluation): > (with-dynamic-state ds (lambda () (write-history history-filename)))

Re: Playing with guile (vs python). Generate file for GDP suitable for gnuplot.

2017-03-06 Thread Andy Wingo
On Mon 06 Mar 2017 14:50, Thien-Thi Nguyen writes: > FWIW, we can also use SRFI 13 to save a few cycles: > > (use-modules (ice-9 rdelim) (srfi srfi-13)) > > (define (file->lines filename) >"Return a list of lines contained in a file." >(call-with-input-file >filename > (l

Re: REPL history

2017-03-06 Thread Andy Wingo
On Mon 06 Mar 2017 20:15, Vladimir Zhbanov writes: > OK, put things other ways. I have a GUI app which starts REPL in > another thread. Is there a way to call a thunk in that REPL from > the GUI app? Basically, I want it to exit gracefully by calling > (quit) in the REPL before GUI exits. What

Lilypond speed (was Re: How to make GNU Guile more successful)

2017-03-06 Thread Andy Wingo
On Sun 05 Mar 2017 15:01, Thomas Morley writes: > Here some timing values > > (1) > lilypond-2.19.52 using guile 1.8.7 > (I would have prefered to build lilypond with a guile-1.8.8 build from > the guile-repository. Though my try to build it from the > branch_release-1-8 failed. Instead attemptin

Re: Guile foreign object interface

2017-03-06 Thread Andy Wingo
Hi :) On Thu 02 Mar 2017 16:47, Mike Gran writes: > I wanted to make a quick post about the foreign object interface. > This is a bit of a placeholder because I haven't had time to > investigate the interface properly, yet. But I intend to poke at > it soon. > But for there record, there are som

Re: Guile foreign object interface

2017-03-06 Thread Andy Wingo
Hi :) On Thu 02 Mar 2017 16:47, Mike Gran writes: > I wanted to make a quick post about the foreign object interface. > This is a bit of a placeholder because I haven't had time to > investigate the interface properly, yet. But I intend to poke at > it soon. > But for there record, there are som

Re: The status of JIT compiler of Guile

2017-03-02 Thread Andy Wingo
Heya Nala :-) And hello Atsuro! I don't think I have had the chance of expressing to you how impressive your work is. Awesome stuff!!! What do you all think is the way forward for this work? Is it something that you see being integrated eventually into Guile git? Is it a project that should b

Guile 2.1.8 on 9 March / 2.2.0 on 16 March

2017-03-02 Thread Andy Wingo
Hi, An update on Guile 2.2 status. As I mentioned in a previous mail, I think the master branch is good to go. I spent some time over the last week going over bugs; I have looked at all bugs in our database (!), fixed a number of them (check https://debbugs.gnu.org/rrd/guile.html!), and I think

Re: GNU Guile 2.1.7 released (beta)

2017-03-01 Thread Andy Wingo
On Wed 01 Mar 2017 14:01, Thien-Thi Nguyen writes: > () Andy Wingo > () Thu, 23 Feb 2017 22:06:30 +0100 > >Yeah pk is nice > > Thumbs up for ‘pk’. Here's the pair of commands i use: > > ;;; pk-unpk.el --- Commands to instrument Scheme code Neat :) I guess

Re: Using '-1' in a method named '*'

2017-03-01 Thread Andy Wingo
On Tue 28 Feb 2017 15:24, Alejandro Sanchez writes: >> On 28 Feb 2017, at 10:19, Andy Wingo wrote: >> >> On Tue 28 Feb 2017 09:54, Andy Wingo writes: >> >>> In summary I think Guile's strength reduction is fine as it relies on >>> type infere

Re: GNU Guile 2.1.7 released (beta)

2017-02-28 Thread Andy Wingo
On Tue 28 Feb 2017 10:38, David Kastrup writes: > Andy Wingo writes: >> I understand that Lilypond uses the "local-eval" facility a lot for >> embedded Scheme. > > It doesn't use it at all. Ah, tx for the info (here and below). > Regular read and

Re: Using '-1' in a method named '*'

2017-02-28 Thread Andy Wingo
On Tue 28 Feb 2017 09:54, Andy Wingo writes: > In summary I think Guile's strength reduction is fine as it relies on > type inference to prove when it is safe. This is "just" a bug, albeit > an annoying one that we need to fix! Fixed in 2.0 and master. Thanks for the report :) Andy

Re: Using '-1' in a method named '*'

2017-02-28 Thread Andy Wingo
On Mon 27 Feb 2017 20:21, Andy Wingo writes: > Hi, > > On Mon 27 Feb 2017 11:06, Alejandro Sanchez writes: > >> (define v (make #:x 1)) >> >> (* -1 v) ; Does not work >> (* -2 v) ; Works fine > > I believe that Guile is doing strength reduction, tr

Re: GNU Guile 2.1.7 released (beta)

2017-02-28 Thread Andy Wingo
On Tue 28 Feb 2017 00:00, Thomas Morley writes: > The main problems/TODOs are listed here (same for guile-2.0.13 and 2.1.7): > https://ao2.it/tmp/lilypond-guile2/TODO > With no warranty for completeness. > > Let me pick some of them: > (1) > lilypond filename_名字.ly > returns > fatal error: failed

Re: Stack traces

2017-02-27 Thread Andy Wingo
On Sat 18 Feb 2017 20:59, Amirouche writes: > How do you access variables in the REPL? ,locals Andy

Re: GNU Guile 2.1.7 released (beta)

2017-02-27 Thread Andy Wingo
On Mon 27 Feb 2017 20:32, Mike Gran writes: > A C++ STL container holds a set of STL-allocated (non-GC allocated) > structs. > > Those STL-allocated structs are also used as the payloads of > SCM foreign objects. > > STL destruction can free those objects. That free > should not allow SCM foreig

Re: Guile benchmark

2017-02-27 Thread Andy Wingo
Hi, On Thu 26 Jan 2017 09:39, Rchar writes: > I wanted to compare Guile scheme to other scheme implementations and I found > this:https://ecraven.github.io/r7rs-benchmarks/benchmark.html > > Is Guile slow or fast, comparing to others? Besides what Mike said, there are two kinds of Schemes in t

Re: debugging help: how to read/use a backtrace?

2017-02-27 Thread Andy Wingo
On Sat 21 Jan 2017 11:21, Jan Nieuwenhuizen writes: > I often find myself struggling to pinpoint an error location from > Guile's backtrace (see below) and I am starting to wonder if there is > something that I'm missing. I believe this is comprehensively cleaned up and improved in 2.1.x. (Guile

Re: C-c in guile

2017-02-27 Thread Andy Wingo
On Sat 21 Jan 2017 12:55, Alex Vong writes: > However, when running the external program "yes" in guile, > > $ guile -c '(system* "yes")' > > We cannot terminate the process by pressing C-c, Indeed I can reproduce this! > but we can suspend it by pressing C-z. I believe the C-z is handled by

Re: guile can't find a chinese named file

2017-02-27 Thread Andy Wingo
Hi :) On Mon 27 Feb 2017 17:07, Eli Zaretskii writes: >> From: Andy Wingo >> Date: Sun, 26 Feb 2017 22:20:31 +0100 >> >> In Scheme, strings are sequences of characters. Encoding and decoding >> is only needed when going to and from bytes. Guile supports a fin

Re: Using '-1' in a method named '*'

2017-02-27 Thread Andy Wingo
Hi, On Mon 27 Feb 2017 11:06, Alejandro Sanchez writes: > (define v (make #:x 1)) > > (* -1 v) ; Does not work > (* -2 v) ; Works fine I believe that Guile is doing strength reduction, transforming (* -1 v) to (- 0 v). It could be that this is totally the wrong thing. Is (* x 2) -> (+ x x)

Re: guile can't find a chinese named file

2017-02-27 Thread Andy Wingo
On Mon 27 Feb 2017 13:09, David Kastrup writes: > Andy Wingo writes: >> I seriously invite you to read the fine manual, specifically the first >> four subsections of this node: >> >> >> https://www.gnu.org/software/guile/docs/master/guile.html/Input-and-Out

Re: guile can't find a chinese named file

2017-02-27 Thread Andy Wingo
Hello, On Mon 27 Feb 2017 10:10, David Kastrup writes: > Andy Wingo writes: > >> Legacy programs don't use codepoints >255. > > Sort of a moot point when Guile makes the decision to interpret external > files with codepoints >255. Not every data processed by

Re: guile can't find a chinese named file

2017-02-26 Thread Andy Wingo
On Tue 14 Feb 2017 20:58, Linas Vepstas writes: > Guile's mistake is that it does lots of pointless conversions from utf8 > strings > to wide-char arrays, and back, which is a) a cpu suck, and b) a breeding > ground for bugs. The current 2.1 guile, in git as of a few weeks ago, has > multiple

Re: guile can't find a chinese named file

2017-02-26 Thread Andy Wingo
On Tue 14 Feb 2017 23:26, l...@gnu.org (Ludovic Courtès) writes: > There were discussions to move to UTF-8 internally in 2.2. As Mike > explained, that was not really an option in 2.0 mostly due to the > requirement to support O(1) random access. AFAIU this requirement was relaxed in R7RS. I th

Re: guile can't find a chinese named file

2017-02-26 Thread Andy Wingo
Hello, I feel the need to correct points in this mail for the benefit of guile-user. No reply is needed. On Wed 15 Feb 2017 00:58, David Kastrup writes: > Mike Gran writes: > >> But, for what it is worth, the Latin-1/UCS-32 design decision came >> from a couple of conflicting requirements. T

Re: guile can't find a chinese named file

2017-02-26 Thread Andy Wingo
Hi, On Wed 15 Feb 2017 18:07, Eli Zaretskii writes: > the [Emacs] MS-Windows port pretends towards Emacs internals that file > names are encoded in UTF-8, and shadows relevant system APIs that > accept or return file names, like fopen, opendir/readdir, stat, > etc. with its own versions that con

Re: guile can't find a chinese named file

2017-02-26 Thread Andy Wingo
Hi, On Wed 15 Feb 2017 11:15, Chris Vine writes: > I would prefer guile to make the filename encoding a fluid. It wouldn't > deal with files mounted with mixed encodings, but it would cater for > everything else. Sounds like a good idea. Andy, who is trying to pick actionable things from this

Re: Core Guile bindings

2017-02-26 Thread Andy Wingo
On Wed 12 Oct 2016 20:18, Panicz Maciej Godek writes: > I've noticed that Guile core contains some bindings that shouldn't > necessarily be globally available. In particular, it provides a set of > socket-related functions with very general names, such as "select" or > "bind", that some programme

Re: Guile security vulnerability w/ listening on localhost + port (with fix)

2017-02-26 Thread Andy Wingo
Hi! On Fri 14 Oct 2016 23:55, Lizzie Dixon <_...@lizzie.io> writes: > I know it's a late kudo but still -- great investigation and writeup, thank you for digging in to this one :) Andy

Re: GNU Guile 2.1.7 released (beta)

2017-02-26 Thread Andy Wingo
On Fri 24 Feb 2017 18:46, Arne Babenhauserheide writes: > The main strategical question I see for that is: Does anything make it > harder to complete or improve the lilypond transition to Guile 2? > > Is there something which would need to be done before 2.2 which could > make it easier for lilyp

Re: GNU Guile 2.1.7 released (beta)

2017-02-24 Thread Andy Wingo
On Thu 23 Feb 2017 19:54, Andy Wingo writes: > * Foreign objects. In or out? Let's start a subthread. SMOBs have many problems: * they are limited in number (255 including guile's smobs) * SMOB types are only creatable from C (in a time where anything done in C should

Re: GNU Guile 2.1.7 released (beta)

2017-02-23 Thread Andy Wingo
Hi :) On Thu 23 Feb 2017 21:04, Mike Gran writes: > I know you're asking about how to wrap up 2.2, and here > I am to suggest new features. So rude. ;-) Hehe :) The suggestions are still welcome. If they make 2.2.0, super! If they make 2.2.1, also super :) > * A string encoding that can han

Re: GNU Guile 2.1.7 released (beta)

2017-02-23 Thread Andy Wingo
On Sat 18 Feb 2017 11:31, Andy Wingo writes: > At this point you might ask yourself when 2.2.0 is coming. The answer > is, very soon! A followup mail will propose a timeline and a list of > blocker bugs. I would like to aim for final prerelease in another 4 > weeks and a final re

Re: A problem with compilation to CPS

2017-02-23 Thread Andy Wingo
On Tue 20 Sep 2016 15:19, Tommi Höynälänmaa writes: > I get the following error message when I try to compile a program to CPS: > ---cut here--- > tohoyn@tohoyn-laptop:~/src/guile-2.1.4/work$ > ../guile-2.1.4/meta/uninstalled-env dash > $ ../guile-2.1.4/meta/guild compile -t cps hello.scm Indee

[ann] fibers 1.0.0 released

2017-02-20 Thread Andy Wingo
Hello! I'm delighted to announce the release of Fibers 1.0.0. 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. For more information, see the web version of the

GNU Guile 2.1.7 released (beta)

2017-02-18 Thread Andy Wingo
We are pleased to announce GNU Guile release 2.1.7. Guile 2.1.7 is the seventh pre-release in what will eventually become the 2.2 release series. We encourage you to test this release and provide feedback to guile-de...@gnu.org. This is a bug-fix release, mostly fixing bugs related to suspending

[ann] fibers 0.5.0 released

2017-01-18 Thread Andy Wingo
Hi, I'm pleased to announce the release of Fibers 0.5.0. 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. For more information, see the web version of the manua

GNU Guile 2.1.6 released (beta)

2017-01-18 Thread Andy Wingo
We are pleased to announce GNU Guile release 2.1.6. Guile 2.1.6 is the sixth pre-release in what will eventually become the 2.2 release series. We encourage you to test this release and provide feedback to guile-de...@gnu.org. This is a bug-fix release, mostly fixing bugs related to threads and

[ann] fibers 0.4.0 released

2016-12-17 Thread Andy Wingo
Hi, I'm pleased to announce the release of Fibers 0.4.0. 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. For more information, see the web version of the manua

GNU Guile 2.1.5 released (beta)

2016-12-07 Thread Andy Wingo
We are pleased to announce GNU Guile release 2.1.5. Guile 2.1.5 is the fifth pre-release in what will eventually become the 2.2 release series. We encourage you to test this release and provide feedback to guile-de...@gnu.org. This release improves Guile's parallelism and concurrency primitives,

[ann] fibers v0.3.0 released

2016-10-12 Thread Andy Wingo
Hi, I just cut a new release of Fibers, a concurrency library for Guile. Find it here: https://wingolog.org/pub/fibers/fibers-0.3.0.tar.gz $ sha256sum fibers-0.3.0.tar.gz a7267b8e10229f9d7e64e1903507d9baf7c15705abb87f953d2d53c6ac6886b5 fibers-0.3.0.tar.gz Project page here: https://

GNU Guile 2.1.4 released [beta]

2016-09-14 Thread Andy Wingo
We are pleased to announce GNU Guile release 2.1.4. Guile 2.1.4 is the fourth pre-release in what will eventually become the 2.2 release series. We encourage you to test this release and provide feedback to guile-de...@gnu.org. This release adds an atomic reference facility and fixes many small

fibers 0.2.0 released

2016-09-14 Thread Andy Wingo
Hey peeps, Fibers v0.2.0 is out! Fibers is a facility for lightweight concurrency in Guile. New in Fibers 0.2.0: * Documentation in texinfo form; HTML version pasted here: https://github.com/wingo/fibers/wiki/Manual * Now with channels, a communication facility; see the manual. * "Epoll"

Re: Passing objects between threads

2016-09-11 Thread Andy Wingo
On Sat 10 Sep 2016 11:37, Panicz Maciej Godek writes: > is there any easy way to create a channel (queue) that could be used to > communicate between threads? In particular, if the queue is empty, I would > like the consumer to wait until something appears in it (pretty much like > the channels i

a simple rng in scheme

2016-09-01 Thread Andy Wingo
Hi, Here is a simple implementation of what I think is xorshift128+, a simple random number generator. I have verified the first 10 outputs against https://github.com/AndreasMadsen/xorshift/blob/master/reference.c. (define (xorshift128+ s0 s1) (define (u64 x) (logand #x x)) (

Re: Sufficiently safe random information for security-critical Guile applications

2016-08-31 Thread Andy Wingo
Hi :) Josh (and the manual) is right -- don't use Guile's RNG for security-sensitive purposes. Mostly it's just for games, monte-carlo simulations and the like. I wish it were a CSPRNG but it's not; oh well. The quality of the PRNG is a separate issue. MWC could be improved, but JS impls at le

tekuti blog engine git repositories back online

2016-08-28 Thread Andy Wingo
Hi all, The "tekuti" blog engine that runs wingolog.org was hosted on gitorious, which went away a while ago. I pushed that repo back online: https://gitlab.com/wingo/tekuti https://github.com/wingo/tekuti Either one works. I also fixed a long-standing bug whereby tekuti would incorrectly

Re: symbol printing problem

2016-08-08 Thread Andy Wingo
On Mon 08 Aug 2016 14:34, Anand Mohanadoss writes: > scheme@(guile-user)> (define sym '912828S7912810RS) > While reading expression: > ERROR: In procedure string->number: Value out of range: 7912810 I believe this is http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18932. A bug :) Andy

  1   2   3   4   5   6   7   >