Re: [Chicken-users] is it possible to define expand-time values?

2019-05-05 Thread Peter Bex
On Sat, May 04, 2019 at 09:06:08PM +0200, Marco Maggi wrote: > That example just shows the mechanism, and it is not really a good > example (I wrote it). What I am thinking of, as reference scenario, is > an infix-to-prefix macro with infrastructure that allows to define new > binary

Re: [Chicken-users] is it possible to define expand-time values?

2019-05-04 Thread Peter Bex
On Sat, May 04, 2019 at 03:56:12PM +0200, Marco Maggi wrote: > ... in CHICKEN 5.0.0 or in a future release? I can find nothing > relevant on the CHICKEN Wiki. Here what they should do: > > > > it would open a

[Chicken-users] [ANN] Development snapshot 5.0.2 now available

2019-05-02 Thread Peter Bex
Hi all! A new development snapshot (5.0.2) is now available: https://code.call-cc.org/dev-snapshots/2019/05/02/chicken-5.0.2.tar.gz This is the second snapshot in the 5.x release series. The most important change is that this version completes the previous change of how "qualified" symbols are

Re: [Chicken-users] Anyone know why I can't split with an empty string in (chicken irregex)?

2019-05-02 Thread Peter Bex
On Wed, May 01, 2019 at 11:18:31PM -0500, joshua wrote: > I can't seem to figure out how to split a string into individual characters. Hi Joshua, The canonical way to do that would be string->list. > I could swear this worked before, in Chicken 4. > I'm now using Chicken 5.0.0 running on Void

Re: [Chicken-users] Print asymmetry with coops

2019-04-26 Thread Peter Bex
On Fri, Apr 26, 2019 at 09:11:02AM +, EfraimVagner wrote: > Hi, > > I've started to work on a small project for fun in scheme, and I wanted to > use a class for one thing. I saw that there is the coops extension, that does > what I want, but my problem is that when printing an object i get

Re: [Chicken-users] minor cut and paste in (chicken file posix)

2019-04-07 Thread Peter Bex
On Sun, Apr 07, 2019 at 06:44:46AM -0700, Eric Hoffman wrote: > i was a little puzzled at my inability to set the approprate mode bits from > open with create, but looking at the source of posix-common.scm, it seems > like the references to the grp and oth > sets just reference S_IREAD, etc,

Re: [Chicken-users] [Q] Macro for defining function from string

2019-04-05 Thread Peter Bex
On Fri, Apr 05, 2019 at 06:42:43PM +0900, Sungjin Chun wrote: > Hi, > In writing FFI module for C library there’s too much repetition; so I’d like > to write some > macro to reduce this repetition. > > What I’d like to write is something as follows: (define-my-bindings …) > >

Re: [Chicken-users] Chicken now available from OpenWRT official repositories

2019-03-26 Thread Peter Bex
On Tue, Mar 26, 2019 at 11:31:02AM -0300, Jeronimo Pellegrini wrote: > On Tue, Mar 26, 2019 at 02:01:22PM +0100, Peter Bex wrote: > > Cool! Would you be so kind as to add it to our platforms page with > > link and instructions on how to install? > > > > This is the pag

Re: [Chicken-users] Chicken now available from OpenWRT official repositories

2019-03-26 Thread Peter Bex
On Tue, Mar 26, 2019 at 09:37:54AM -0300, Jeronimo Pellegrini wrote: > Hello, > > I have preciously set up a repository with instructions > on how to compile Chicken for OpenWRT. > > As of today, Chicken is already available as an OpenWRT > binary package (from their repository -- I have sent

Re: [Chicken-users] how to compile files, modules, shared libraries, programs

2019-03-26 Thread Peter Bex
On Tue, Mar 26, 2019 at 06:52:44AM +0100, Marco Maggi wrote: > Ciao, > > I was not able to find documentation about how to compile libraries > and programs with Chicken 5, using a Makefile. There are bits here and > there but nothing complete enough for a newbie like me. > > Is there a

Re: [Chicken-users] microhttpd bindings and FFI

2019-03-25 Thread Peter Bex
On Mon, Mar 25, 2019 at 03:56:30PM +0100, Massimo Nocentini wrote: > Dear list, > > this is my first message so I take the opportunity to greet everyone. > > I'm working on a minimal set of bindings [1] for the microhttpd library [2] > and I'm heading against the following error: > >[panic]

Re: [Chicken-users] Compiling for OpenWRT, got execvp: /usr/bin/env: Argument list too long

2019-03-13 Thread Peter Bex
On Wed, Mar 13, 2019 at 05:38:12AM -0300, Jeronimo Pellegrini wrote: > So, I decided to create one for Chicken, but I get this error > when compiling: > [...] > rm -rf > /home/jeronimo/pkg/openwrt-18.06.2/build_dir/target-mips_24kc_musl/chicken-5.0.0/.pkgdir/chicken-scheme.installed > >

Re: [Chicken-users] [Q] Overhead of FFI in Chicken scheme

2019-02-28 Thread Peter Bex
On Mon, Feb 11, 2019 at 03:16:11PM +0900, Sungjin Chun wrote: > Hi, > > Are there any FFI overhead in case of compiling to a binary using "bind"? Hi Sungjin, As far as I know, the bind egg should not introduce any overhead beyond what the core FFI will have. For the core, there's some overhead

[Chicken-users] [ANN] Development snapshot 5.0.1 now available

2019-01-12 Thread Peter Bex
Hi all! A new development snapshot (5.0.1) is now available: https://code.call-cc.org/dev-snapshots/2019/01/12/chicken-5.0.1.tar.gz This is the first snapshot in the 5.x release series. The most important change is that this version changes how "qualified" symbols are read. These are symbols

[Chicken-users] Changing default egg doc redirect to CHICKEN 5?

2018-11-11 Thread Peter Bex
Hi all, I noticed that /egg/foo still redirects to eggref/4/foo. Should we change this to redirect to eggref/5/foo now that 5.0.0 is officially the current release? Cheers, Peter signature.asc Description: PGP signature ___ Chicken-users mailing

[Chicken-users] Cleaning up the portability wiki page?

2018-11-08 Thread Peter Bex
Hi all, I was looking through our documentation, especially the stuff linked from our main index page on www.call-cc.org. I noticed that the portability page at https://wiki.call-cc.org/portability is listing some very very old CHICKEN versions on some platforms. Also, some of the comments are

[Chicken-users] [ANN] CHICKEN 5.0.0 has been released

2018-11-07 Thread Peter Bex
Dear CHICKEN users, We are proud to announce the immediate availability of CHICKEN 5.0.0 at the following URL: https://code.call-cc.org/releases/5.0.0/chicken-5.0.0.tar.gz This tarball has the following SHA256 checksum: a8b94bb94c5d6a4348cedd75dc334ac80924bcd9a7a7a3d6af5121e57ef66595 It has

Re: [Chicken-users] [Chicken-announce] CHICKEN T-DOSE 2018 meetup

2018-11-04 Thread Peter Bex
On Fri, Sep 14, 2018 at 11:58:38AM +0200, Peter Bex wrote: > Hi all, > > This year's T-DOSE in Eindhoven will be only a single day instead of the > usual two days. It will be on Saturday November 24th. Let's combine this > with a CHICKEN hackathon. We can start on Friday the 23

Re: [Chicken-users] CHICKEN 5.0.0 release candidate 4 available

2018-11-01 Thread Peter Bex
On Mon, Oct 29, 2018 at 09:24:44PM +0100, Sven Hartrumpf wrote: > Hi. > > I am testing rc4 with the X32 ABI. > > Is it ok that C_COMPILER_OPTIMIZATION_OPTIONS is not respected when > building chicken-do? I don't think that's intended. I've filed a ticket to track this:

Re: [Chicken-users] chicken-install C5rc4 minor issue

2018-11-01 Thread Peter Bex
On Wed, Oct 31, 2018 at 01:44:56PM +0100, Jörg F. Wittenberger wrote: > Hi all, > > chicken-install -r > > used to download the source into a subdirectory of the current one. > > chicken-install -h > > claims that is still does. > > It does however prints out that it downloaded into the

[Chicken-users] CHICKEN 5.0.0 release candidate 4 available

2018-10-29 Thread Peter Bex
Hello all, The fourth release candidate for CHICKEN 5.0.0 is now available for download: https://code.call-cc.org/dev-snapshots/2018/10/29/chicken-5.0.0rc4.tar.gz The sha256sum of that tarball is: 90dbd9d2ff7e95aa369a9ba3bb00ef849f5509fc6547861136359f22500d8cd9 The list of changes since

Re: [Chicken-users] http-client: distinguishing between responses 301 and 302

2018-10-19 Thread Peter Bex
On Fri, Oct 19, 2018 at 01:01:20PM +0200, Jörg F. Wittenberger wrote: > Now I want to replace that mess I wrote over 15 years ago with an > alternative implementation I don't have to maintain alone. http-client comes > to mind. > > Looking closer I don't like to install exception handlers in

Re: [Chicken-users] http-client: distinguishing between responses 301 and 302

2018-10-19 Thread Peter Bex
On Thu, Oct 18, 2018 at 06:19:22PM +0100, Norman Gray wrote: > If I parameterise that with (parameterize ((max-redirect-depth 0)) ...), > then the client library doesn't follow the redirection but instead raises > (exn http redirect-depth-exceeded). That's almost there, except that the >

Re: [Chicken-users] CHICKEN 5.0.0 release candidate 3 available

2018-10-14 Thread Peter Bex
Hi all, I took out my old iBook G4 and tested rc3 on it: Operating system: FreeBSD 11.1 Hardware platform: PPC C Compiler: GCC 4.2.1 Installation works?: yes Tests work?: yes Installation of eggs works?: yes Cheers, Peter signature.asc Description: PGP signature

Re: [Chicken-users] [Chicken-announce] CHICKEN 5.0.0 release candidate 3 available

2018-10-12 Thread Peter Bex
Tested with the Hurd: Operating system: GNU Debian/Hurd 0.9 GNU Mach 1.8 Hardware platform: x86 C Compiler: GCC 8.2.0 Installation works?: yes Tests work?: yes Installation of eggs works?: yes Cheers, Peter signature.asc Description: PGP signature

Re: [Chicken-users] CHICKEN 5.0.0 release candidate 3 available

2018-10-09 Thread Peter Bex
I've done some tests on Windows 7 (32 bit): Operating system: Windows 7 with MinGW32 (no MSYS) Hardware platform: x86 C Compiler: GCC 6.3.0 Installation works?: yes Tests work?: yes Installation of eggs works?: yes Operating system: Windows 7 with MinGW32 (with MSYS) Hardware platform: x86 C

Re: [Chicken-users] CHICKEN 5.0.0 release candidate 3 available

2018-10-09 Thread Peter Bex
On Tue, Oct 09, 2018 at 08:49:46PM +0300, Timo Myyrä wrote: > Operating system: OpenBSD-current (6.4) > Hardware platform: x86-64 > C Compiler: clang 6.0 > Installation works?: yes > Tests work?: yes > Installation of eggs works?: yes Thanks for testing, Timo! > Noticed that chicken-do command

Re: [Chicken-users] CHICKEN 5.0.0 release candidate 3 available

2018-10-09 Thread Peter Bex
Hi all, I just tested under the recently released Haiku R1/beta1: Operating system: Haiku Hardware platform: x86-64 C Compiler: GCC 7.3.0 Installation works?: yes Tests work?: yes Installation of eggs works?: yes This time I did *not* run into the timestamp issue that would cause things to be

[Chicken-users] CHICKEN 5.0.0 release candidate 3 available

2018-10-08 Thread Peter Bex
Hello all, The third release candidate for CHICKEN 5.0.0 is now available for download: https://code.call-cc.org/dev-snapshots/2018/10/08/chicken-5.0.0rc3.tar.gz The sha256sum of that tarball is: 237c88fcdd0d31f01923d9c5d0e4a564d22cdee98687a4e1daa2bc97d173e460 The list of changes since

Re: [Chicken-users] CHICKEN 5.0.0 release candidate 3 available

2018-10-08 Thread Peter Bex
On Mon, Oct 08, 2018 at 10:18:06PM +0200, Peter Bex wrote: > Hello all, > > The third release candidate for CHICKEN 5.0.0 is now available for > download: > > https://code.call-cc.org/dev-snapshots/2018/10/08/chicken-5.0.0rc3.tar.gz > > The s

Re: [Chicken-users] [NEW EGG] md2

2018-10-07 Thread Peter Bex
On Sun, Oct 07, 2018 at 05:02:03PM +0200, alfred j. quack wrote: > Hello Chicken-users, > > I'm announcing a new egg today: > >*md2* > > It's a Chicken Scheme wrapper around a C implementation of the Message > Digest 2 (MD2) algorithm as defined in RFC1319 [1]. You can check the source >

Re: [Chicken-users] Awful ($db ...)

2018-10-07 Thread Peter Bex
On Sun, Oct 07, 2018 at 09:08:48PM +1000, David Ireland wrote: > Hi, > > I'm using the database access in Awful and I'm having the troubles > recreating an example in the docs. After setting up a dummy postgres > database I tried this example: > > ($db "insert into foo (bar, baz) values (?, ?)"

Re: [Chicken-users] [ANN] CHICKEN 5.0.0 release candidate 2 available

2018-09-18 Thread Peter Bex
On Tue, Sep 18, 2018 at 11:20:08PM +1200, querent wrote: > Better late than never? Absolutely! >Operating system: android 7.0 >Hardware platform: aarch64 >C Compiler: gcc 7.3.0 >Installation works?: no >Tests work?: N/A >Installation of eggs works?: N/A >I was

Re: [Chicken-users] [Chicken-announce] CHICKEN T-DOSE 2018 meetup

2018-09-14 Thread Peter Bex
On Fri, Sep 14, 2018 at 11:58:38AM +0200, Peter Bex wrote: > If anyone feels inclined to hold a talk, the CfP for T-DOSE is still open > until September 30th. I just got word from the T-DOSE organisation, they're still actively looking for talks, so if you have anything to present, even i

[Chicken-users] CHICKEN T-DOSE 2018 meetup

2018-09-14 Thread Peter Bex
Hi all, This year's T-DOSE in Eindhoven will be only a single day instead of the usual two days. It will be on Saturday November 24th. Let's combine this with a CHICKEN hackathon. We can start on Friday the 23rd and continue until Sunday the 25th. I can host 3 or 4 people at my place, so let

Re: [Chicken-users] string-ci<=? and string-ci>=?

2018-09-11 Thread Peter Bex
On Tue, Sep 11, 2018 at 08:26:49AM +0200, Sven Hartrumpf wrote: > Hi. > > The issue reported by Nils Holm > in http://groups.google.com/group/comp.lang.scheme/t/6b8be06b84b39a7 > affects chicken 5, too: > > > (string-ci<=? "test" "tes") > #t > > (string-ci>=? "test" "tes") > #f Thanks for

Re: [Chicken-users] [ANN] CHICKEN 5.0.0 release candidate 2 available

2018-09-10 Thread Peter Bex
On Sun, Sep 09, 2018 at 02:30:12PM +0200, Peter Bex wrote: > If you can, please let us know the following information about the > environment on which you test the RC: Operating system: FreeBSD 11.2 Hardware platform: x86-64 C Compiler: GCC 6.4.0 Installation works?: yes Tests work

[Chicken-users] [ANN] CHICKEN 5.0.0 release candidate 2 available

2018-09-09 Thread Peter Bex
Hello all, The second release candidate for CHICKEN 5.0.0 is now available for download: http://code.call-cc.org/dev-snapshots/2018/09/09/chicken-5.0.0rc2.tar.gz The sha256sum of that tarball is: 237c88fcdd0d31f01923d9c5d0e4a564d22cdee98687a4e1daa2bc97d173e460 The list of changes since

Re: [Chicken-users] [Chicken-hackers] Some questions about CHICKEN 5 eggs and modules

2018-08-29 Thread Peter Bex
On Wed, Aug 29, 2018 at 10:57:54AM +0200, felix.winkelm...@bevuta.com wrote: > The foreign-declare case is simple and straightforward and should > be used, if possible, but we need a fallback solution and this case > of a separate .c file is common enough to be addressed. For 5.0? Cheers, Peter

Re: [Chicken-users] [Chicken-hackers] Some questions about CHICKEN 5 eggs and modules

2018-08-29 Thread Peter Bex
On Tue, Aug 28, 2018 at 08:40:33PM +0200, felix.winkelm...@bevuta.com wrote: > > - How can I compile multiple source files, for example one scheme file and > > several C files, into an extension library in an .egg file? As far as I can > > see, the only way to do that is a custom build script,

Re: [Chicken-users] CHICKEN 5.0.0 release candidate 1 available

2018-08-23 Thread Peter Bex
On Tue, Aug 21, 2018 at 04:43:06PM -0600, Justin Meiners wrote: > Here is the output with the verbose flag. I am installed in a non-standard > directory which is in my PATH. > > $ chicken-install spiffy -verbose > spiffy not cached > > Error: extension or version not found: "spiffy" Can you try

Re: [Chicken-users] [ANN] CHICKEN 5.0.0 release candidate 1 available

2018-08-21 Thread Peter Bex
On Tue, Aug 21, 2018 at 01:10:40AM +0200, Kristian Lein-Mathisen wrote: > Here's a summary of the problems I encoutered with C5rc1 on Windows 10: Hi Kris, Many thanks for testing, especially on Windows (which can be pretty grueling!). > - when linking statically, csc is looking for ".o" files

Re: [Chicken-users] http-client help needed with basic authorization

2018-08-20 Thread Peter Bex
On Mon, Aug 20, 2018 at 02:47:25PM +0200, Jörg F. Wittenberger wrote: > I'm trying to use the http-client to talk to a Jira installation. > > Without much success. > > Jira is documented to support Basic authentication. However it defaults to > and advertices OAuth. For the case at hand, a

Re: [Chicken-users] CHICKEN 5.0.0 release candidate 1 available

2018-08-19 Thread Peter Bex
On Fri, Aug 17, 2018 at 04:59:17PM -0600, Justin Meiners wrote: > Operating system: Ubuntu 18.04 > Hardware platform: x86-64 > C Compiler: GCC 7.3 > Installation works?: yes > Tests work?: yes > Installation of eggs works?: no. I just tried installing spiffy and some > srfi's. No matter what eggs

Re: [Chicken-users] Porting eggs to Chicken 5

2018-08-14 Thread Peter Bex
On Tue, Aug 14, 2018 at 12:56:04PM +0200, Sven Hartrumpf wrote: > Thanks. This helped a lot. > There are many C library bindings relying on easyffi. > Are there any plans to port the easyffi egg? This is one of those eggs that should really be left in the dust as things are moved to the new

Re: [Chicken-users] [ANN] CHICKEN 5.0.0 release candidate 1 available

2018-08-13 Thread Peter Bex
On Mon, Aug 13, 2018 at 10:41:22AM +0100, Norman Gray wrote: > The installation of spiffy failed with: > > [...] >/Data/tools/chicken-5.0.0rc1-clang/bin/csc -host -D compiling-extension > -J -s -setup-mode -I > /Users/norman/.chicken-install/cache/memory-mapped-files -C >

Re: [Chicken-users] [ANN] CHICKEN 5.0.0 release candidate 1 available

2018-08-12 Thread Peter Bex
Hi all, I also took some time to test on an old Hurd VM I had lying around. Operating system: Debian GNU/Hurd 0.9 (Mach 1.8+git20171101) Hardware platform: x86 C Compiler: GCC 7.2.1 Installation works?: yes Tests work?: yes Installation of eggs works?: yes Cheers, Peter signature.asc

Re: [Chicken-users] [ANN] CHICKEN 5.0.0 release candidate 1 available

2018-08-12 Thread Peter Bex
Hi all, I tested on Haiku. Operating system: Haiku "Walter" revision hrev50904 Hardware platform: x86 C Compiler: GCC 5.4.0 Installation works?: yes Tests work?: no Installation of eggs works?: no I ran into some trouble with a few eggs, which I've fixed since. I've also posted two patches for

Re: [Chicken-users] [ANN] CHICKEN 5.0.0 release candidate 1 available

2018-08-11 Thread Peter Bex
On Sat, Aug 11, 2018 at 05:19:40PM -0400, Claude Marinier wrote: > claude@GuloGulo:~/Programming/scheme$ chicken-install format > Server error: > Error: [Server] no such extension or version > "format" > #f > Server error: > Error: [Server] no such extension or version > "format" > #f > Error:

Re: [Chicken-users] [ANN] CHICKEN 5.0.0 release candidate 1 available

2018-08-11 Thread Peter Bex
On Sat, Aug 11, 2018 at 09:15:26PM +0200, Peter Sommerfeld wrote: > A scheme/chicken newbie here (second attempt). Hi Peter, Welcome (again) to CHICKEN! > Am 11.08.2018 um 11:43 schrieb Peter Bex: > > After many years of development, we are happy to announce the first > >

[Chicken-users] [ANN] CHICKEN 5.0.0 release candidate 1 available

2018-08-11 Thread Peter Bex
Hello everyone, After many years of development, we are happy to announce the first release candidate of the upcoming CHICKEN 5.0.0. This represents the largest change in CHICKEN since the 4.0.0 release. Most importantly, we have completely overhauled the module layout so that it should make

Re: [Chicken-users] Internal Definitions / begin

2018-07-16 Thread Peter Bex
On Mon, Jul 16, 2018 at 03:51:09PM +0200, Martin Schneeweis wrote: > Hi, > > is it expected behaviour that (a) does not work but (b) does? yeah, this is a bit unexpected, but "let" will start a new definition body whereas "begin" does not. Try it in another Scheme, you'll see the same thing.

[Chicken-users] [ANN] New egg: ugarit-backend-s3

2018-01-21 Thread Peter Bex
Hi everyone, I just finished my new egg: ugarit-backend-s3. With it, you can use an Amazon S3 (or API-compatible alternative) object store for your backups with Ugarit. This egg is documented on our wiki at: https://wiki.call-cc.org/eggref/4/ugarit-backend-s3 Many thanks to Seth Alves for

Re: [Chicken-users] Memory allocation and limits in chicken scheme programs

2017-12-14 Thread Peter Bex
On Wed, Dec 13, 2017 at 05:16:52PM -0700, Matt Welland wrote: > Much better with 4.13. Thanks. I have it working up to 128G. I don't > understand the heap and will do some more reading but am I correct in > assuming that the size of the heap will determine the largest data > structure I can have

Re: [Chicken-users] Memory allocation and limits in chicken scheme programs

2017-12-13 Thread Peter Bex
On Wed, Dec 13, 2017 at 11:13:54AM -0700, Matt Welland wrote: > I'm using Chicken 4.10.0 and with the below script chicken rapidly > allocates memory then seems to get stuck: Hi Matt, Try to update to CHICKEN 4.13.0 first (standard advice, we usually fix lots of issues in new versions). I

[Chicken-users] [ANN] CHICKEN 4.13.0 has been released

2017-12-11 Thread Peter Bex
Dear CHICKEN users, We are pleased to announce the immediate availability of CHICKEN 4.13.0 at the following URL: https://code.call-cc.org/releases/4.13.0/chicken-4.13.0.tar.gz This tarball has the following SHA256 checksum: add549619a31363d6608b39e0cf0e68b9d5e6ff2a719b5691ddeba57229c6c43 This

Re: [Chicken-users] [Chicken-announce] [ANN] CHICKEN 4.13.0 release candidate available

2017-12-11 Thread Peter Bex
On Tue, Dec 05, 2017 at 08:52:11PM +0100, Peter Bex wrote: > If you can, please let us know the following information about the > environment you tested the RC tarball on: And three more operating systems: Operating system: NetBSD 7.1 Hardware platform: amd64 C Compiler: gcc-4.8.5 Instal

Re: [Chicken-users] [Chicken-hackers] Salmonella reports and merge of chicken-5 into master

2017-12-11 Thread Peter Bex
On Sun, Dec 10, 2017 at 12:29:26PM +0100, Mario Domenech Goulart wrote: > The master branch in the chicken-core repository has been copied to the > chicken-4 branch. This is part of the preparations to merge the > chicken-5 branch into master, which is going to happen soon. This has been done

Re: [Chicken-users] [ANN] CHICKEN 4.13.0 release candidate available

2017-12-10 Thread Peter Bex
On Tue, Dec 05, 2017 at 08:52:11PM +0100, Peter Bex wrote: > If you can, please let us know the following information about the > environment you tested the RC tarball on: I did some tests on Windows 7, too: Operating system: Mingw-32 on Windows 7 Hardware platform: x86 C Compiler: gcc

Re: [Chicken-users] [ANN] CHICKEN 4.13.0 release candidate available

2017-12-09 Thread Peter Bex
On Tue, Dec 05, 2017 at 08:52:11PM +0100, Peter Bex wrote: > If you can, please let us know the following information about the > environment you tested the RC tarball on: Operating system: FreeBSD 11.1 Hardware platform: PowerPC (32 bits) C Compiler: gcc-4.2.1 Installation works?: yes Test

Re: [Chicken-users] [ANN] CHICKEN 4.13.0 release candidate available

2017-12-06 Thread Peter Bex
Hi all, I checked on a FreeBSD and on a Debian box, and all is well: Operating system: FreeBSD 11.1 Hardware platform: x86-64 C Compiler: clang-4.0.0 Installation works?: yes Tests work?: yes Installation of eggs works?: yes Operating system: Debian 9.2 ("Stretch") Hardware platform: x86-64 C

Re: [Chicken-users] [ANN] CHICKEN 4.13.0 release candidate available

2017-12-06 Thread Peter Bex
On Wed, Dec 06, 2017 at 12:46:11AM +0100, Thomas Chust wrote: > Hello, > > some results from the systems I use: Hi Thomas, Thanks for testing! > Operating system: Linux Mint 17.3 / Ubuntu 14.04 / Linux 3.19.0-80-generic > Hardware platform: i686 > C Compiler: i686-w64-mingw32-gcc (GCC) 4.8.2 >

[Chicken-users] [ANN] CHICKEN 4.13.0 release candidate available

2017-12-05 Thread Peter Bex
Hello everyone, We are happy to announce the first release candidate of the upcoming CHICKEN 4.13.0. This is probably the last "full" release in the 4.x cycle. After this, CHICKEN 4 will go into maintenance only mode, and new development will take place exclusively on CHICKEN 5 (which will

Re: [Chicken-users] permissive checking of sum types

2017-12-03 Thread Peter Bex
On Sun, Dec 03, 2017 at 06:46:14AM -0500, David Goffredo wrote: > So my question is why the compiler doesn't warn on: > >     (printed foo) > > when it can be determined statically that the argument has (rather -- is > declared to have) an incompatible type. Maybe the types will be compatible >

Re: [Chicken-users] permissive checking of sum types

2017-12-03 Thread Peter Bex
On Sat, Dec 02, 2017 at 08:56:52PM -0500, David Goffredo wrote: > Hello everyone, > > I've been playing around with Chicken for about a month now, and so far > really enjoy it. Even got it building and (mostly) working on crusty old AIX > and Solaris machines. Hi David, Cool! That's very good

Re: [Chicken-users] Working with Spiffy incrementally

2017-11-09 Thread Peter Bex
On Thu, Nov 09, 2017 at 06:00:14PM -0500, Jack Lucas wrote: > Is anyone aware of a method where I can work with spiffy incrementally? > > Current workflow as I see it would look like editing the source and then > running csi -s script.scm. > > It'd be very nice if I could (start-server) in a

Re: [Chicken-users] Include path when compiling an Egg.

2017-10-13 Thread Peter Bex
On Sat, Oct 14, 2017 at 12:08:16AM +0200, Christian Kellermann wrote: > Yeah, sorry this is pretty inconsistent. There are a couple of eggs > that will add /usr/local as a prefix for the linker and preprocessor. As a rule, they shouldn't be doing that at all (unless as a side effect of calling

Re: [Chicken-users] Include path when compiling an Egg.

2017-10-13 Thread Peter Bex
On Fri, Oct 13, 2017 at 01:26:46PM +1000, David Ireland wrote: > Hi there, > > This might be a trivial, but several Eggs (including mine) won't compile > on BSD based OS's. It seems include flags for external libraries aren't > being set when compiling the final C code. Hi David, I've used

Re: [Chicken-users] Segmentation violation using SSAX egg

2017-09-28 Thread Peter Bex
On Thu, Sep 28, 2017 at 04:49:10PM +1000, David Ireland wrote: > Hi there, > > I am sporadically getting segmentation violations (about 1 out of 3 program > executions fail) while processing these files. It is not dependent on the > particular XML file but always occurs when about 50 have been

Re: [Chicken-users] sandbox usable?

2017-08-13 Thread Peter Bex
On Sun, Aug 13, 2017 at 04:00:36AM +, Josh Barrett wrote: > Ahoy! > > I need to execute some untrusted code. A sandbox would be a good way to do > this. Conveniently, Chicken has just such an egg - the sandbox egg. > > Unfortunately, sandbox was last touched in 2009 (AFAICT), and the similar

Re: [Chicken-users] [Chicken-announce] [SECURITY] Vulnerability to algorithmic complexity attack due to incorrect randomization of symbol table

2017-07-17 Thread Peter Bex
On Sun, Jul 16, 2017 at 08:32:03PM +0200, Peter Bex wrote: > The code that sets up the initial symbol table is run _before_ > initializing the PRNG, which means the randomization factor uses > the initial libc seed state. On most libc implementations this > means the symbol table r

[Chicken-users] [SECURITY] Vulnerability to algorithmic complexity attack due to incorrect randomization of symbol table

2017-07-16 Thread Peter Bex
Hi all, It was discovered that our fix for CVE-2012-6125 was incorrect for the internal Scheme symbol table. The code that sets up the initial symbol table is run _before_ initializing the PRNG, which means the randomization factor uses the initial libc seed state. On most libc implementations

Re: [Chicken-users] reachable top-level functions and variables

2017-07-13 Thread Peter Bex
On Thu, Jul 13, 2017 at 09:19:55AM +0200, Sven Hartrumpf wrote: > Hi Peter. > > Peter Bex <pe...@more-magic.net> schrieb am 2017-07-13 09:05: > > On Thu, Jul 13, 2017 at 08:52:31AM +0200, Sven Hartrumpf wrote: > >> Yes, functions that can never be called from the c

Re: [Chicken-users] reachable top-level functions and variables

2017-07-13 Thread Peter Bex
On Thu, Jul 13, 2017 at 08:52:31AM +0200, Sven Hartrumpf wrote: > Yes, functions that can never be called from the compiled program > are still there. > Will the profile output of the compiled program (-accumulate-profile) > be a reliable filter if I avoid inlining and make > sure that all

Re: [Chicken-users] [Chicken-announce] [SECURITY] Potential denial of service due to segfault in "length" on improper lists

2017-06-01 Thread Peter Bex
On Wed, May 31, 2017 at 08:48:20AM +0200, Peter Bex wrote: > Hi all, > > We just fixed a potential security issue in the standard Scheme length > procedure. When length is called on an improper list, the underlying > C function C_i_list incorrectly checks the head of the _input_ l

[Chicken-users] [SECURITY] Potential denial of service due to segfault in "length" on improper lists

2017-05-31 Thread Peter Bex
Hi all, We just fixed a potential security issue in the standard Scheme length procedure. When length is called on an improper list, the underlying C function C_i_list incorrectly checks the head of the _input_ list for being a pair rather than the head of the part currently being traversed.

Re: [Chicken-users] [Chicken-announce] [SECURITY] Unchecked malloc size in "external" SRFI-4 vector constructors

2017-03-16 Thread Peter Bex
On Wed, Mar 15, 2017 at 08:44:59PM +0100, Peter Bex wrote: > Hi all, > > Our user "Lemonboy" has found a vulnerability in CHICKEN's SRFI-4 > constructors, when using a nonstandard extension; the "NONGC" argument > to make-[su]{8,16,32}vector. This argument w

[Chicken-users] [SECURITY] Unchecked malloc size in "external" SRFI-4 vector constructors

2017-03-15 Thread Peter Bex
Hi all, Our user "Lemonboy" has found a vulnerability in CHICKEN's SRFI-4 constructors, when using a nonstandard extension; the "NONGC" argument to make-[su]{8,16,32}vector. This argument will allocate a uniform bytevector in unmanaged memory (not subject to garbage collection), by using

Re: [Chicken-users] two-dimensional syntax-rules

2017-03-10 Thread Peter Bex
On Fri, Mar 10, 2017 at 11:10:35AM +0100, Sascha Ziemann wrote: > 2017-03-10 10:55 GMT+01:00 Peter Bex <pe...@more-magic.net>: > > > > Gauche and Racket accept this macro application, Scheme48 rejects it (but > > that's expected, because our syntax-rules

Re: [Chicken-users] two-dimensional syntax-rules

2017-03-10 Thread Peter Bex
On Fri, Mar 10, 2017 at 09:31:38AM +0100, Sascha Ziemann wrote: > I am not sure if it is a bug, because Chibi and Gambit fail, too. But > Petite Chez does it like Guile. > > Is it a bug? Hello Sascha, At first glance, it looks like a bug to me. I'll have to investigate further, because this

Re: [Chicken-users] New egg: sodium

2017-02-25 Thread Peter Bex
On Sat, Feb 25, 2017 at 12:39:22PM +, Caolan McMahon wrote: > > Please can someone add my new sodium egg to the coop? > https://github.com/caolan/chicken-sodium.git > > It's a binding to the libsodium (https://libsodium.org) crypto library. The > egg is a work in progress, but it already

Re: [Chicken-users] chicken-install openssl fails on Windows

2017-02-22 Thread Peter Bex
On Wed, Feb 22, 2017 at 12:04:41AM -0800, k l wrote: > Thanks for the reply Peter. It's still a little confusing for me - > Chocolatey installed Chicken and its dependency mingw for me. Chicken is > installed at c:\chicken, mingw is installed to c:\tools\mingw. When you > said I need to install

Re: [Chicken-users] chicken-install openssl fails on Windows

2017-02-21 Thread Peter Bex
On Tue, Feb 21, 2017 at 11:45:45PM -0800, k l wrote: > Hi I'm trying to install openssl on Windows but it fails with the following > error. Any hints? I installed chicken scheme from as Chocolatey package[1], > as instructed by Chicken's wiki[2]. [...] > openssl.c:22:28: fatal error:

[Chicken-users] [ANN] CHICKEN 4.12.0 has been released

2017-02-19 Thread Peter Bex
Dear CHICKEN users, We are pleased to announce the immediate availability of CHICKEN 4.12.0 at the following URL: https://code.call-cc.org/releases/4.12.0/chicken-4.12.0.tar.gz This tarball has the following SHA256 checksum: 605ace459bc66e8c5f82abb03d9b1c9ca36f1c2295931d244d03629a947a6989 This

Re: [Chicken-users] [ANN] CHICKEN 4.12.0 release candidate 2 available

2017-02-14 Thread Peter Bex
On Mon, Feb 06, 2017 at 10:45:29PM +1300, Evan Hanson wrote: > If you can, please let us know the following information about the > environment on which you test the RC: Operating system: Ubuntu Linux 12.04.5 LTS Hardware platform: x86 C Compiler: GCC 4.6.3 Installation works?: yes Tests work?:

Re: [Chicken-users] Trying to understand srfi-41 (streams)

2017-01-28 Thread Peter Bex
On Sat, Jan 28, 2017 at 11:19:01PM +0100, Bahman Movaqar wrote: > I've been playing around `srfi-41` for an hour now. It seems to me, > that regardless of the operations on the stream, the `head` doesn't > advance. For example: > > (define my-stream (list->stream '(0 1 2 3))) > (take 2

Re: [Chicken-users] [ANN] CHICKEN 4.12.0 release candidate 1 available

2017-01-28 Thread Peter Bex
Hi all, Tested on a few more niche OSes: Operating system: OpenIndiana "Hipster" 2016-10-30 snapshot Hardware platform: x86 C Compiler: Sun Studio CC 12.1.1-2016.0.1.5 ("cc" package) Installation works?: yes Tests work?: yes Installation of eggs works?: yes Operating system: Haiku alpha4

Re: [Chicken-users] Results of testing CHICKEN 4.12.0.rc1 on various platforms

2017-01-28 Thread Peter Bex
On Wed, Jan 25, 2017 at 08:41:02PM +0100, alexander.she...@web.de wrote: > Your patch solves the problem with the POSIX tests. Now only the deployment > tests fail, but deployment is probably unsupported on Android, because the > Android dynamic linker lacks the "rpath" feature. > > I'm not sure

Re: [Chicken-users] [ANN] CHICKEN 4.12.0 release candidate 1 available

2017-01-28 Thread Peter Bex
Hi all, I took out my old G4 iBook and tested with gcc. Results are good: Operating system: Debian 8.7 (Jessie) Hardware platform: PPC (G4, 32 bits) C Compiler: GCC 4.9.2 Installation works?: yes Tests work?: yes Installation of eggs works?: yes Cheers, Peter signature.asc Description:

Re: [Chicken-users] problems string-trimming on UTF8

2017-01-27 Thread Peter Bex
On Fri, Jan 27, 2017 at 02:36:55PM +0100, Kristian Lein-Mathisen wrote: > Oh no, what happened? > > $ csi -R utf8 -R srfi-13 -p '(string-trim-right "Zazà")' > Zaz� > > > utf8 doesn't seem to do it! But utf8, at least, gets the string-length > right: > > $ csi -R srfi-13 -p '(string-length

Re: [Chicken-users] Results of testing CHICKEN 4.12.0.rc1 on various platforms

2017-01-24 Thread Peter Bex
On Wed, Jan 25, 2017 at 02:07:42AM +0100, Alexander Shendi wrote: > (*) see attached log at: > http://www.alexshendi.org/tmp/android-check-20170125.txt It looks like HAVE_SETENV is not defined on Android. I don't know if that's intentional or not, but perhaps you can give the attached patch

Re: [Chicken-users] [ANN] CHICKEN 4.12.0 release candidate 1 available

2017-01-23 Thread Peter Bex
On Mon, Jan 23, 2017 at 12:32:15PM -0500, Robert Altenburg wrote: > On Mon, Jan 23, 2017 at 11:35 AM, Peter Bex <pe...@more-magic.net> wrote: > > > On Mon, Jan 23, 2017 at 10:20:58AM -0500, Robert Altenburg wrote: > > > Thanks Peter, > > > > > > The in

[Chicken-users] [ANN] CHICKEN 4.12.0 release candidate 1 available

2017-01-22 Thread Peter Bex
Hello everyone, we are happy to announce the first release candidate of the upcoming CHICKEN 4.12.0. It is now available at this location: http://code.call-cc.org/dev-snapshots/2017/01/22/chicken-4.12.0rc1.tar.gz The SHA 256 sum of that tarball is

Re: [Chicken-users] mathh failure with csc -optimize-level 3

2017-01-15 Thread Peter Bex
On Sat, Jan 14, 2017 at 10:17:14PM -0500, Robert Altenburg wrote: > Is this a bug that others can replicate? Any idea what's going on? Hello Robert, This looks like either a bug in the "mathh" egg, or a bug in CHICKEN that's triggered by the mathh egg. The .inline file that mathh installs

Re: [Chicken-users] [Chicken-announce] [SECURITY] Resource exhaustion bug in irregex compilation

2016-12-15 Thread Peter Bex
On Wed, Dec 14, 2016 at 09:37:16PM +0100, Peter Bex wrote: > Irregex versions before 0.9.6 contain a resource exhaustion > vulnerability. This bug has been assigned CVE-2016-9954. Regards, The CHICKEN Team signature.asc Description: Digital sig

[Chicken-users] [SECURITY] Resource exhaustion bug in irregex compilation

2016-12-14 Thread Peter Bex
Hi all, Irregex versions before 0.9.6 contain a resource exhaustion vulnerability: when compiling deeply nested regexes containing the "+" operator due to exponential expansion behaviour. All released CHICKEN versions with Irregex are affected by this. The upcoming versions 4.12 (and/or dev

Re: [Chicken-users] Using numbers correctly. How?

2016-12-08 Thread Peter Bex
On Thu, Dec 08, 2016 at 10:52:50AM +0100, Jörg F. Wittenberger wrote: > Hi all, > > I'm trying to use scsh-process pass bignums arguments. > > Unfortunately scsh-process's maybe->string does not recognize them as > number?s and bails out. > > I can work around this easily, just use ->string at

Re: [Chicken-users] Compiling a shared library from swig interface

2016-10-23 Thread Peter Bex
On Sat, Oct 22, 2016 at 01:16:12PM +0200, spalis wrote: > I tried to get the following class example from swig running: Please note that SWIG is no longer officially supported. In CHICKEN 5, all support will be dropped. 4.x still contains the SWIG support code but it hasn't been tested in a long

Re: [Chicken-users] New 4.11 install. "make" FAILS.

2016-10-17 Thread Peter Bex
On Mon, Oct 17, 2016 at 02:46:18PM -0400, Terry Phelps wrote: > I downloaded the 4.11.0 tarball, edited config.make to set PLATFORM and > PREFIX, and typed "make" on an ordinary RHEL 7 Linux box. > > It did a bunch of gcc compiles, and failed with this: > > chicken build-version.scm

[Chicken-users] [ANN] Development snapshot 4.11.1 now available

2016-09-11 Thread Peter Bex
Hello all, A new development snapshot (4.11.1) is now available: http://code.call-cc.org/dev-snapshots/2016/09/12/chicken-4.11.1.tar.gz For a list of changes since the 4.11.0 release, see the NEWS file: http://code.call-cc.org/dev-snapshots/2016/09/12/NEWS Most of these are bugfixes, so we're

<    1   2   3   4   5   6   7   8   9   10   >