Re: [Chicken-users] utc-time-seconds and local-time-seconds rationale?

2014-05-07 Thread Peter Bex
On Tue, May 06, 2014 at 11:54:35PM +0200, Michele La Monaca wrote: On a side note, I've noticed these discrepancies on solaris, cygwin and mingw: (use posix) (print (time-string (seconds-local-time) %z) - (vector-ref (seconds-local-time) 9)) +0200 - -7200 (osx,

Re: [Chicken-users] [Chicken-hackers] CHICKEN 4.9.0rc1 is available

2014-05-07 Thread Peter Bex
Domenech Goulart mario.goul...@gmail.com Signed-off-by: Peter Bex peter@xs4all.nl --- tests/runtests.sh |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/runtests.sh b/tests/runtests.sh index d2ffe72..5007f8a 100755 --- a/tests/runtests.sh +++ b/tests

Re: [Chicken-users] CHICKEN 4.9.0rc1 is available

2014-05-05 Thread Peter Bex
On Sun, May 04, 2014 at 03:54:55PM +0200, Michele La Monaca wrote: OS : Solaris 10 ARCH : sparc C_COMP : Sun C 5.11 Installation works? : yes Installation of eggs works? : yes Tests work? : almost - ===private repository test ... Error:

Re: [Chicken-users] SRFI 4 vectors size limitation.

2014-05-05 Thread Peter Bex
On Mon, May 05, 2014 at 07:33:28PM +0200, Jubjub wrote: I've noticed that srfi-4 homogeneous numeric vectors are limited to 0xF bytes, regardless of their type. This amounts to 16MB of data, which I've found insufficient since they're the most widely used and convenient way to manipulate

[Chicken-users] [PATCH] Re: 4.9.0rc1: Error: (assv) bad argument type: null

2014-05-04 Thread Peter Bex
in this procedure's definition, too. Cheers, Peter -- http://www.more-magic.net From 68debfa6e9321bc99bcc6ea9ee23296d610a0440 Mon Sep 17 00:00:00 2001 From: Peter Bex peter@xs4all.nl Date: Sun, 4 May 2014 11:27:10 +0200 Subject: [PATCH] For consistency, raise an exception from alist-ref when passed a non-list

Re: [Chicken-users] [PATCH] Re: 4.9.0rc1: Error: (assv) bad argument type: null

2014-05-04 Thread Peter Bex
On Sun, May 04, 2014 at 01:52:06PM +0100, Andy Bennett wrote: Hi, + (assert-error (alist-ref 'foo 'bar cmp)) + (assert-error (alist-ref 'foo '(bar) cmp))) What's a good predicate to use to check whether what will be passed to alist-ref will not throw an exception? I don't understand

Re: [Chicken-users] [PATCH] Re: 4.9.0rc1: Error: (assv) bad argument type: null

2014-05-04 Thread Peter Bex
On Sun, May 04, 2014 at 03:00:52PM -0400, John Cowan wrote: Peter Bex scripsit: What's a good predicate to use to check whether what will be passed to alist-ref will not throw an exception? I don't understand the question. See the post I just sent for such a predicate. Thanks

Re: [Chicken-users] Fw: Chicken 4.9.0rc1 fails test on OpenBSD 5.4

2014-05-01 Thread Peter Bex
On Thu, May 01, 2014 at 05:46:20PM +0200, Alexander Shendi wrote: sorry to reply to my own message, but I have upgraded to OpenBSD 5.5 today and clang works now: * OS: OpenBSD/amd64 5.5 (RELEASE) * C-Compiler: clang-3.3p3 (from packages) * Install runs OK. Invocation gmake

Re: [Chicken-users] Problems building on Cygwin64

2014-04-29 Thread Peter Bex
On Tue, Apr 29, 2014 at 04:49:18PM +0100, Colin Coates wrote: Hello, I am trying to build chicken-4.8.0.6 on Cygwin64 (CYGWIN_NT-6.1 ccoates 1.7.29(0.272/5/3) 2014-04-07 13:46 x86_64 Cygwin ), running under Windows 7. Hi Colin, Cygwin 64 is currently not supported. It has already been

Re: [Chicken-users] macros / imports

2014-04-25 Thread Peter Bex
On Fri, Apr 25, 2014 at 06:51:53PM +0200, Chris Mueller wrote: Hi, i'm currently writing some small helper macros for myself, that makes chicken's module system syntactically a little bit more similar to python's one. Hi, and welcome to CHICKEN! Please note that it's often not a good

Re: [Chicken-users] CHICKEN 4.9.0rc1 is available

2014-04-20 Thread Peter Bex
On Sun, Apr 20, 2014 at 01:45:14PM -0700, Matt Welland wrote: Everything runs fine for me with 4.9.0rc1 so far. This script is enough to show the problem I see with segfault on resizing the terminal. It occurs whether compiled or run from csi: (use sqlite3 srfi-1 posix regex regex-case

Re: [Chicken-users] CHICKEN 4.9.0rc1 is available

2014-04-19 Thread Peter Bex
On Sat, Apr 19, 2014 at 01:34:30PM +0900, Tim van der Linden wrote: Second test (Clang) - FAIL Operating system: Debian 7 - Testing/Jessy Hardware platform: x86 C Compiler: Clang 3.3-16 (branches/release_33) (based on LLVM 3.3) Installation works?: yes Tests work?: no Installation of eggs

Re: [Chicken-users] CHICKEN 4.9.0rc1 is available

2014-04-19 Thread Peter Bex
On Sun, Apr 20, 2014 at 08:22:33AM +0900, Tim van der Linden wrote: You are completely right, it now builds with Clang Thanks for double-checking! Sorry for the less-then-accurate test with Clang in my previous mail. Strange though, I did run a: $ make PLATFORM=linux clean before

Re: [Chicken-users] CHICKEN 4.9.0rc1 is available

2014-04-18 Thread Peter Bex
On Fri, Apr 18, 2014 at 08:21:15AM -0700, Daniel Leslie wrote: Hmm, I already use ##sys#current-environment and ##sys#macro-environment; but I wasn't aware of ##sys#module-table or ##sys#module-exports. However, wouldn't it be the case that they wouldn't be much help in a module-free

Re: [Chicken-users] Portable installs broken?

2014-04-06 Thread Peter Bex
On Sun, Apr 06, 2014 at 08:55:31AM -0700, Daniel Leslie wrote: I'm trying to create a 'portable' distribution of chicken and am running into a simple issue. Basically, the built-in library search path isn't always valid, and csc and csi don't appear to pay attention to LD_LIBRARY_PATH.

Re: [Chicken-users] Chicken 4.8.0.3 failing with Clang 3.2 and 3.4

2014-04-05 Thread Peter Bex
On Sat, Apr 05, 2014 at 08:23:38AM -0700, Daniel Leslie wrote: I'm not able to build Chicken 4.8.0.3 with clang, either 3.2 or 3.4. GCC works well. The build fails with the following: ./libchicken.so: file not recognized: File truncated Invocation: make -j4 PLATFORM=linux

Re: [Chicken-users] chicken 4.8.3 on MinGW

2014-04-03 Thread Peter Bex
On Wed, Apr 02, 2014 at 11:08:35PM -0400, Claude Marinier wrote: Hi, I am happily using Chicken Scheme 4.8.3 on MS Windows 7 and Vista. The key is reading the README file and the helpful web page. There is one problem: make check fails as follows. Note that I built from a Windows

Re: [Chicken-users] chicken 4.8.0.5 on Cygwin - static build

2014-03-30 Thread Peter Bex
On Sun, Mar 30, 2014 at 04:20:19PM -0400, Claude Marinier wrote: On Sat, 29 Mar 2014, Claude Marinier wrote: Does anyone know how to compile a static program under Cygwin? It cannot find a library; the name may be cygchicken0.a (I switched back to debian and cannot remember exactly). Here

Re: [Chicken-users] Question about gc-roots

2014-03-16 Thread Peter Bex
On Sun, Mar 16, 2014 at 03:00:20PM +0100, Jörg F. Wittenberger wrote: According to the manual, finalizers are only supported for non-immediate objects anyway: Yeah, but note that Pluijzer's test was with *string constants*. Those are not immediate (but because they're constants, they're not

[Chicken-users] Testers wanted; iOS patch

2014-03-15 Thread Peter Bex
Hi all, Attached is a patch by Bevuta which Felix sent last X-mas. It adds rudimentary support for iOS through a target Makefile. I've so far been unable to test this because I don't have an iOS device. I don't have access to a Mac, so I'm unable to verify that this patch even builds. I've

Re: [Chicken-users] .csirc - recover from attempt to (use) a non-existant egg

2014-03-14 Thread Peter Bex
On Fri, Mar 14, 2014 at 03:01:31PM -0600, Erik Falor wrote: I suppose this is because (require ...) happens at runtime and whatever (import ...) does happens when the syntax is expanded. Is there a clean way to achieve the effect of reporting a missing egg with an error message (and leaving

Re: [Chicken-users] Question about gc-roots

2014-03-14 Thread Peter Bex
On Thu, Mar 13, 2014 at 12:44:44PM +0100, pluijzer . wrote: I am assigning non-immediate objects to foreign void pointers. To prevent them from moving during garbage collection I turn the pointer into a gc-root. This works like I expect it would work, with one exception: It seems that the

Re: [Chicken-users] 4.8.0.5 syntax weirdness

2014-03-11 Thread Peter Bex
On Mon, Mar 10, 2014 at 11:22:53PM -0500, Jim Ursetto wrote: This is the fix: commit f8230a466ce3a86f360178f115fb62ee124448b9 Author: Peter Bex peter@xs4all.nl Date: Sun Jun 30 18:50:09 2013 +0200 Fix meta-evaluation to actually take place in the meta environment and add tests

Re: [Chicken-users] Problem with (fold)

2014-03-11 Thread Peter Bex
On Tue, Mar 11, 2014 at 03:30:56PM +0100, Daniel Carrera wrote: Hello, I'm having a problem with (fold): (use srfi-1) ; List library. (fold (lambda (a b) (+ (* a 10) b)) 0 '(1 2 3)) I was expecting this to return 123, but it returns 60. I'm confused. In my mind, at each step I

Re: [Chicken-users] Problem with (fold)

2014-03-11 Thread Peter Bex
On Tue, Mar 11, 2014 at 03:47:53PM +0100, Daniel Carrera wrote: On 11 March 2014 15:41, Peter Bex peter@xs4all.nl wrote: To avoid such mistakes, it's helpful to use mnemonic names: (fold (lambda (item result) (+ (* result 10) item)) 0 '(1 2 3)) Thanks. I was mentally reading from

Re: [Chicken-users] 4.8.0.5 syntax weirdness

2014-03-10 Thread Peter Bex
On Mon, Mar 10, 2014 at 01:26:08PM +0100, Sandra Snan wrote: Dear chicken-users; I have a simple program that does most of its heavy lifting at compile time. To demonstrate the issue, I've written two stubs (as simple as I could make them but still show the issue I'm having). File number

Re: [Chicken-users] Review my Caesar Cipher?

2014-03-10 Thread Peter Bex
On Mon, Mar 10, 2014 at 10:26:56AM -0500, Phil Bewig wrote: I would use an auxiliary function char-plus to add or subtract an offset to a character: (define (caesar str n) (define (char-plus c) (let ((alpha ABCDEFGHIJKLMNOPQRSTUVWXYZ)) (if (not (char-alphabetic? c)) c

Re: [Chicken-users] 4.8.0.5 syntax weirdness

2014-03-10 Thread Peter Bex
On Mon, Mar 10, 2014 at 07:37:36PM +0100, Sandra Snan wrote: I couldn't quite get this to work: It still can't find s-contains. If I move the entire (define-syntax create-tickets ...) sexp to the end of begin-for-syntax, it can't find create-tickets when called later. This is unfortunate: I

Re: [Chicken-users] Question about booleans

2014-03-07 Thread Peter Bex
On Fri, Mar 07, 2014 at 02:42:00PM +0100, Daniel Carrera wrote: I'm confused. Is and defined as a macro? If so, why? Yes, because it needs to be short-cutting evaluation when it hits the first #f. Otherwise (and #f (error foo)) would raise the error due to the fact that evaluation of arguments

Re: [Chicken-users] Wiki design

2014-02-13 Thread Peter Bex
On Thu, Feb 13, 2014 at 09:20:35AM -0700, Matt Gushee wrote: My proposal is, simply, to include a *mandatory* last-updated field on every page. Hi Matt, This is trivial to add, but I don't know if it's very useful. You can always click on history to see the changes that were made and when. A

Re: [Chicken-users] Wiki design

2014-02-13 Thread Peter Bex
On Thu, Feb 13, 2014 at 06:10:15PM -0200, Arthur Maciel wrote: Peter, thanks! Who is responsible for commiting the new CSS and changing how the wiki generates HTML? (we need minor HTML changes too - not only CSS). Do we really need HTML to be changed? That requires changes in the code and a

Re: [Chicken-users] CMake build support

2014-02-11 Thread Peter Bex
On Tue, Feb 11, 2014 at 12:18:04AM +0400, Oleg Kolosov wrote: Hello All. I am happy to inform you that I have achieved some success converting Chicken build system from Makefiles to CMake. This initial work is a proof of concept and still very ugly and incomplete, but certainly will be

Re: [Chicken-users] Combine chicken-bin, libchicken-dev, libchicken6, into a single chicken package?

2014-02-07 Thread Peter Bex
On Fri, Feb 07, 2014 at 03:57:00PM -0500, Andrew Pennebaker wrote: Could we make a metapackage, chicken, to simplify installation on Debian/Ubuntu? I think you need to contact the Debian project about that. They decided to split this up into such a weird fragmentation of arbitrary packages.

Re: [Chicken-users] chicken-iup - progressing nicely but have problem with canvas-draw

2014-02-03 Thread Peter Bex
On Mon, Feb 03, 2014 at 01:58:31PM -0200, Stephen Eilert wrote: I think the issue is that Chicken for the moment does not seem to enjoy much popularity on Windows. Having an installer could help mitigate some of that, but I am not sure it's the only requirement. Perhaps being able to compile

Re: [Chicken-users] chicken-iup - progressing nicely but have problem with canvas-draw

2014-02-03 Thread Peter Bex
On Mon, Feb 03, 2014 at 04:16:01PM -0200, Stephen Eilert wrote: Oh, don't get me wrong, I have no issues with it as an user (or even doing minor changes on *nix). However, understanding and translating those rules to Microsoft's tools required more sanity than I had available (or less sanity,

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

2014-02-02 Thread Peter Bex
Hello all, A new development snapshot (4.8.3) is now available: http://code.call-cc.org/dev-snapshots/2014/02/02/chicken-4.8.3.tar.gz As always, for a list of changes since the previous snapshot, see the NEWS file: http://code.call-cc.org/dev-snapshots/2014/02/02/NEWS If you are a heavy user of

Re: [Chicken-users] combining syntax-rules and er/ir-macro

2014-01-30 Thread Peter Bex
On Wed, Jan 29, 2014 at 10:05:03PM -0700, .alyn.post. wrote: Thank you Evan, that helps explain the error message I was seeing. When I make your proposed changes, I get the following: (ir-macro-transformer (lambda (form inject compare?) `(define-values (,(cadr form)

Re: [Chicken-users] Declare large expressions as read-only and not gc-able?

2014-01-05 Thread Peter Bex
On Sun, Jan 05, 2014 at 06:07:33PM +0100, Sven Hartrumpf wrote: Hi all. Is there a recommended way to declare some large expressions ( 100 MB) in a compiled program as read-only and more importantly as not gc-able (the garbage collector should be saved from traversing these large structures

Re: [Chicken-users] Trivial error: Error: call of non-procedure: #unspecified

2014-01-04 Thread Peter Bex
On Sat, Jan 04, 2014 at 06:28:01PM +0100, m...@freeshell.de wrote: Hi folks (and a great new year!), Hi mfv, ;; load the stuff with a func (define (fill-unitlocs alist) (cond ((= (length alist) 0) (print Loading finished: (length alist) ) ) (else

Re: [Chicken-users] Playing with build utilities for Android

2014-01-03 Thread Peter Bex
On Fri, Jan 03, 2014 at 12:50:41PM +0100, Kristian Lein-Mathisen wrote: The fine work https://github.com/chicken-mobile/android-chicken by Bevuta allows us to build a cross-chicken which can cross-compile eggs and the Chicken runtime. But it's not a true cross-compiler, is it? As I

Re: [Chicken-users] Playing with build utilities for Android

2014-01-02 Thread Peter Bex
On Fri, Jan 03, 2014 at 01:44:41AM +0100, Kristian Lein-Mathisen wrote: Hi folks, and happy new year to all! I have been playing around with some simple build utilities to get Chicken onto my Android phone (again!). Hello Kristian, Very cool! Thanks for your continued work in this area.

[Chicken-users] [ANN] Postgresql egg 3.8 has been released

2013-12-29 Thread Peter Bex
Hi all, I am pleased to announce version 3.8 of the Postgresql egg. It should appear as a download for chicken-install shortly. This is really a maintenance release, but an important one. Performance has been improved in several key places, and a few simple benchmarks are in the source tree

Re: [Chicken-users] Some random thoughts about calculations with base-N numbers

2013-12-22 Thread Peter Bex
On Sun, Dec 22, 2013 at 03:23:03PM +0100, m...@freeshell.de wrote: Hi, I was fooling around a bit with conversions of base-36 to base-10 numbers. While the solution to convert a base-10 number to a base-36 string is pretty straightforward, I wonder it would be possible to make a scheme

Re: [Chicken-users] Some random thoughts about calculations with base-N numbers

2013-12-22 Thread Peter Bex
On Sun, Dec 22, 2013 at 04:42:36PM +0100, m...@freeshell.de wrote: You are right - it does not make much sense to work wuch such calculation. I was asking the question because I did not have any other idea how to store base36 characters for computation other than string - except with

Re: [Chicken-users] Wiki design

2013-12-19 Thread Peter Bex
On Thu, Dec 19, 2013 at 07:02:40PM -0200, Arthur Maciel wrote: Dear folks, thanks again for opinions and corrections. I tried to address all the issues, except for two of them, image and parenthesis highlighting, both of which I couldn't reproduce it here. I am on Firefox 25.0.1. Could

Re: [Chicken-users] Wiki design

2013-12-18 Thread Peter Bex
On Wed, Dec 18, 2013 at 04:54:03PM -0200, Arthur Maciel wrote: Thank you for your feedback, Christian and Daniel! I tried to adjust the code according to your suggestions and made other modifications too. No doubt it is still hacky, but the point now is to gather opinions about this

Re: [Chicken-users] Wiki design

2013-12-18 Thread Peter Bex
On Thu, Dec 19, 2013 at 09:17:48AM +1300, Evan Hanson wrote: On 2013-12-19 8:49, Evan Hanson wrote: On 19/12/13 08:41, Peter Bex wrote: Finally, the matching paren highlighting thing in the source snippet goes haywire when I hover over some code: it overlines everything here. I guess

Re: [Chicken-users] a strange observation

2013-12-01 Thread Peter Bex
On Sun, Dec 01, 2013 at 11:36:53PM +0100, Jörg F. Wittenberger wrote: Just found this in the syslog file: Dec 1 16:41:47 peanut kernel: BUG: scheduling while atomic: askemos.bin/2320/0x0001 seems to confirm the linux bug problem + the connection the the chicken build executable.

Re: [Chicken-users] go routines for chicken

2013-11-28 Thread Peter Bex
On Thu, Nov 28, 2013 at 07:17:58PM +0100, Moritz Heidkamp wrote: Daniel Leslie d...@ironoxide.ca writes: Go also enjoys a rather robust Channels system, which is sort of like Scheme's ports, only it's type-safe by design. How are Scheme ports not type-safe? The main difference is that

Re: [Chicken-users] chickadee/spiffy error in windows

2013-11-21 Thread Peter Bex
On Wed, Nov 20, 2013 at 06:12:41PM -0500, John Cowan wrote: Peter Bex scripsit: Currently there's no way to fix this except disabling these parsers by removing their entries from header-parsers. The proper fix is to help us find a way to parse dates in Windows and put that in the core

Re: [Chicken-users] chickadee/spiffy error in windows

2013-11-20 Thread Peter Bex
On Wed, Nov 20, 2013 at 07:57:35AM +, Shanmuhanathan T wrote: Hi, I have installed chicken in windows7 using mingw-msys and am able to use it more less for my basic programming needs. Hi Shanmuhanathan, It *is* supposed to work, even under Windows. This looks like a Spiffy or Intarweb

Re: [Chicken-users] chickadee/spiffy error in windows

2013-11-20 Thread Peter Bex
On Wed, Nov 20, 2013 at 07:57:35AM +, Shanmuhanathan T wrote: Hi, I have installed chicken in windows7 using mingw-msys and am able to use it more less for my basic programming needs. When I installed chickeadee it installed without error but then serving, it does not return any content

Re: [Chicken-users] Alist versus Hash-table

2013-11-13 Thread Peter Bex
On Tue, Nov 12, 2013 at 06:41:18PM -0500, John Cowan wrote: Peter Bex scripsit: ((a . foo) (a . bar)) = ?a=foo;a=bar A HTTP server might interpret this query string differently from ?a=foo Ah, I see. Yes, you're right; that's not really an a-list, as you wouldn't search

Re: [Chicken-users] Alist versus Hash-table

2013-11-12 Thread Peter Bex
On Tue, Nov 12, 2013 at 02:33:23PM +0400, Loïc Faure-Lacroix wrote: For a tessellation function, I believe I should use a hash table or a alist to save the index of some points to prevent duplicates. Yesterday I felt I should test how fast would the hash-table work to index my 3d

Re: [Chicken-users] Alist versus Hash-table

2013-11-12 Thread Peter Bex
On Tue, Nov 12, 2013 at 03:13:49PM +0400, Loïc Faure-Lacroix wrote: Ah right, I believed the update! would add the element to the list destructively. After changing the second variant to include the newly created element when not found. The alist gets much more slower than the hash-table. 

Re: [Chicken-users] Alist versus Hash-table

2013-11-12 Thread Peter Bex
On Tue, Nov 12, 2013 at 09:24:23AM -0500, John Cowan wrote: Peter Bex scripsit: alist-update will take O(n) to locate the key just like alist-update!, but when it finds the entry, it will need to build a new list with the entry replaced at the same position. That means it's O(n

Re: [Chicken-users] Alist versus Hash-table

2013-11-12 Thread Peter Bex
On Tue, Nov 12, 2013 at 04:34:51PM -0500, John Cowan wrote: Also, in some cases duplicate entries really mean something different (for example in alist-uri query attribute mappings and such). I don't understand this example. ((a . foo) (a . bar)) = ?a=foo;a=bar A HTTP server might

Re: [Chicken-users] process-execute and environment variables

2013-11-11 Thread Peter Bex
On Sun, Nov 10, 2013 at 11:04:23PM +0100, Michele La Monaca wrote: Hi again, I think process-execute and its siblings misbehave when handling environment variables. For example: (process ls '()); works (process ls '() '())

Re: [Chicken-users] help with implicit renaming macro

2013-11-11 Thread Peter Bex
On Mon, Nov 11, 2013 at 01:22:40PM -0701, Alan Post wrote: I'd like to rewrite this macro as an implicit renaming macro, which seems to require that I traverse form and insert (inject arg1) wherever I find arg1, and to do the same for arg2. Hi Alan, Actually, you only need to inject the args

Re: [Chicken-users] [Chicken-hackers] [PATCH] Fix substring not checking its number of arguments

2013-11-10 Thread Peter Bex
On Sun, Nov 10, 2013 at 05:47:33PM +0100, Michele La Monaca wrote: Hi all, substring is picky towards string indexes, not so about the number of its arguments. Es: (substring abc 1 2 (sleep 10)) This patch tries to remedy the situation. While at that I also removed tabs and trailing

Re: [Chicken-users] Need to do an install, any changes in the pipe line I should wait for?

2013-11-10 Thread Peter Bex
On Sun, Nov 10, 2013 at 10:31:33PM +, Mario Domenech Goulart wrote: Eggs don't specify the exact version of dependencies they need. You can specify a requirement like at least version, but not exactly version. So, as far as I can see, you always have a consistent set, unless eggs (or

Re: [Chicken-users] Need to do an install, any changes in the pipe line I should wait for?

2013-11-08 Thread Peter Bex
On Fri, Nov 08, 2013 at 08:48:38AM -0700, Matt Welland wrote: I'm going to try getting Chicken 4.8.0.? installed in a corporate environment. This is not a nimble situation and if successful in getting the install approved I'll likely be stuck with that version for a long time. I've seen some

Re: [Chicken-users] Need to do an install, any changes in the pipe line I should wait for?

2013-11-08 Thread Peter Bex
On Fri, Nov 08, 2013 at 08:09:35AM -0800, Thomas Hintz wrote: I use CHICKEN a lot for my own webapps and the main problem I've found in using older versions of CHICKEN is in using eggs. You may want to be very careful to keep the source around for each version of the eggs you use in case an

Re: [Chicken-users] undefined references in egg

2013-11-08 Thread Peter Bex
On Fri, Nov 08, 2013 at 10:42:10AM -0700, Alan Post wrote: Running chicken-install, I get the following warning and error: Warning: reference to possibly unbound identifier `bar' in: Warning:foo Error: module unresolved: t Reading the code, it seems the above warning is

Re: [Chicken-users] Need to do an install, any changes in the pipe line I should wait for?

2013-11-08 Thread Peter Bex
On Fri, Nov 08, 2013 at 10:45:05AM -0700, Matt Welland wrote: The primary purpose is to enable an installation of Megatest. With a little luck I hope to get Megatest, logpro and associated utilities complete and stable so I can install them centrally before the end of the year. Oh, that's

Re: [Chicken-users] missing change-directory* in posix.import.scm

2013-11-08 Thread Peter Bex
On Fri, Nov 08, 2013 at 10:15:26AM -0700, Alan Post wrote: It would appear that change-directory* is not in the export list for the posix unit. This is causing a compile-time warning (which then upgrades to an error) when I use that function from an egg: Thanks, Alan. I've pushed this to

Re: [Chicken-users] schemish/chickenish way to make configurable executables?

2013-11-03 Thread Peter Bex
On Sat, Nov 02, 2013 at 11:35:22PM -0700, Matt Welland wrote: I'm curious to hear opinions on conditional complication and configuration using Chicken scheme. Say for example I want to enable or disable the use of a particular library or feature and I want there to be no trace of it in the

[Chicken-users] [ANN] Welcome to our new committer: Evan Hanson

2013-11-02 Thread Peter Bex
Hello CHICKEN users, We are pleased to announce that the CHICKEN Team has decided that Evan Hanson should be allowed commit access. He is now an official member of the CHICKEN Team. Welcome, Evan! Kind regards, The CHICKEN Team ___ Chicken-users

Re: [Chicken-users] Print source after macro expansion?

2013-10-29 Thread Peter Bex
On Tue, Oct 29, 2013 at 12:39:10AM -0700, Casey Rodarmor wrote: Hi chickenemers, Hello Casey, I would like to read a file containing macro definitions and a source file, and output the source file after macro expansion, but before evaluation. Is there an easy way to do this? Like with some

Re: [Chicken-users] Print source after macro expansion?

2013-10-29 Thread Peter Bex
On Tue, Oct 29, 2013 at 04:36:30AM -0700, Casey Rodarmor wrote: On Tue, Oct 29, 2013 at 4:20 AM, Peter Bex peter@xs4all.nl wrote: Of course, another classic trick is to put a quote in front of the expansion code and print the result. This will work fine from the interpreter as well

Re: [Chicken-users] [Chicken-hackers] Redefinition of imported binding gets implicitly exported

2013-10-25 Thread Peter Bex
On Sat, Oct 26, 2013 at 06:51:10AM +1300, Evan Hanson wrote: It seems to me that when `##sys#alias-global-hook` is used to resolve names for `set!` forms, it should be called with the bare (pre-se-lookup) identifier, and when `assign` is true and you're currently in a module it should always

Re: [Chicken-users] Working with ports

2013-10-21 Thread Peter Bex
On Mon, Oct 21, 2013 at 11:13:03PM +0400, Loïc Faure-Lacroix wrote: Being new to scheme, I hardly understand in what are ports superior than having a file handle and accessing files using a file descriptor. They are superior in that they are an abstraction over plain file descriptors. In some

Re: [Chicken-users] CHICKEN at T-DOSE 2013 (27 and 27 October)

2013-10-15 Thread Peter Bex
On Fri, Sep 13, 2013 at 12:12:04PM +0200, Peter Bex wrote: Hello everyone, As has become tradition, CHICKEN will also be represented at T-DOSE 2013, which will be held in Eindhoven on 26 and 27 October 2013. Anyone is welcome to drop by, or help man the fort^Wbooth. Unfortunately, due

Re: [Chicken-users] ANN: New egg released: Coq au Vin (blogware)

2013-10-14 Thread Peter Bex
On Sun, Oct 13, 2013 at 08:01:26PM -0600, Matt Gushee wrote: After many trials and tribulations, I am pleased to announce the initial release of Coq au Vin, a Chicken Scheme blogging engine. Oh, this is very cool :) * There's an egg, which you should be able to install as soon as Mario adds

Re: [Chicken-users] bug in intarweb's request-has-message-body?

2013-10-02 Thread Peter Bex
On Tue, Oct 01, 2013 at 11:33:22PM -0400, Brian St. Pierre wrote: I was trying to use the default (request-has-message-body?) parameter to check an incoming request and was getting bad argument type - not a structure of the required type. The code in that parameter's default has the

Re: [Chicken-users] [Chicken-announce] [SECURITY] Buffer overrun in some uses of read-string! procedure from extras

2013-09-27 Thread Peter Bex
On Thu, Sep 26, 2013 at 09:02:16PM +0200, Peter Bex wrote: Hello CHICKEN users, A problem was found with the read-string! procedure from the extras unit, when used in a very particular way. [...] It turned out that there was a missing check for the situation when NUM was #f and the input

Re: [Chicken-users] how to speed up my text filter?

2013-09-25 Thread Peter Bex
On Tue, Sep 24, 2013 at 09:39:04PM -0700, Kevin Wortman wrote: It looks like the only part of the (process ...) procedure that does any significant allocation is the (string-split line \t) expression, which will allocate a string object and linked list node for for every token. However you

Re: [Chicken-users] All threads are blocking by I/O

2013-09-25 Thread Peter Bex
On Wed, Sep 25, 2013 at 07:40:39AM -0400, Pedro Melendez wrote: After some experimentation I came out to the realization that the reading thread is blocking all other threads. And I actually just found that stated on the TCP Unit documentation: - Blocking I/O will block all threads,

Re: [Chicken-users] All threads are blocking by I/O

2013-09-25 Thread Peter Bex
On Wed, Sep 25, 2013 at 05:21:57AM -0700, Pedro Melendez wrote: Hi Peter! Thank you so much for your response! I don't understand then what I am doing wrong, this is what I have so far: https://github.com/pmelendez/scheme-test-server/blob/master/mini-tcp-server.scm Please notice that

Re: [Chicken-users] tk and pstk eggs

2013-09-17 Thread Peter Bex
On Tue, Sep 17, 2013 at 08:57:52PM +, Mario Domenech Goulart wrote: I'd guess pstk is relaying on the old behavior of letrec. It'll probably work with the latest stable release. That's correct. Luckily, this was a trivial thing to fix. I've now pushed pstk 1.2.2 which should work with

[Chicken-users] CHICKEN at T-DOSE 2013 (27 and 27 October)

2013-09-13 Thread Peter Bex
Hello everyone, As has become tradition, CHICKEN will also be represented at T-DOSE 2013, which will be held in Eindhoven on 26 and 27 October 2013. Anyone is welcome to drop by, or help man the fort^Wbooth. The schedule is already available (mostly) at http://www.t-dose.org Cheers, Peter --

Re: [Chicken-users] bb won't install on OS X

2013-09-08 Thread Peter Bex
On Sun, Sep 08, 2013 at 02:48:18AM -0700, well wrote: I'm rather new to Chicken-Scheme, and very new to this mailing list (as well as mailing lists in general!), so my apologies if I am making a silly mistake. Hello there, and welcome to chicken-users :) When trying to install bb with the

Re: [Chicken-users] bb won't install on OS X

2013-09-08 Thread Peter Bex
On Sun, Sep 08, 2013 at 03:20:19AM -0700, well wrote: When I ran chicken-install bb again, the output was much shorter, but it still had a line in it, sh: flu-config: command not found I had a look at the setup script and it looks like flu is an optional extension to FLTK, which provides a

Re: [Chicken-users] Compiling with --std=c99 supported?

2013-09-08 Thread Peter Bex
On Sun, Sep 08, 2013 at 11:52:01PM +0200, Kristian Lein-Mathisen wrote: Hi there, I came across something I think might be a bug. While I don't have a deep understanding of what c99 and gnu99 really mean, I noted that this happens on my 64bit system: $ csc -C --std=c99 c99test.scm

Re: [Chicken-users] Basic FFI Principle in Chicken

2013-09-07 Thread Peter Bex
On Sat, Sep 07, 2013 at 12:48:27PM +0200, Kristian Lein-Mathisen wrote: Note that this may not be a good idea if your struct members are just using int because you wouldn't know if it's a s32vector or a s64vector. Also, your foreign-type would go from (pointer (struct color)) to a

Re: [Chicken-users] Basic FFI Principle in Chicken

2013-09-06 Thread Peter Bex
On Fri, Sep 06, 2013 at 08:52:08AM +0200, Chris Mueller wrote: Hi, Hi! i've currently started experimenting with the FFI interface provided by the chicken compiler and have some principle questions about its common usage. Sure, no problem. One important thing to remember is that there

Re: [Chicken-users] -no-parentheses-synonyms broken?

2013-08-30 Thread Peter Bex
On Fri, Aug 30, 2013 at 01:17:40AM -0600, Matt Gushee wrote: Hello, list-- Well, in the course of trying to figure out why my sxpath expressions aren't working, I think I've discovered a bug in Chicken. I hypothesize that filter expressions in the native sxpath syntax don't work because

Re: [Chicken-users] -no-parentheses-synonyms broken?

2013-08-30 Thread Peter Bex
On Fri, Aug 30, 2013 at 02:08:43AM -0600, Matt Gushee wrote: On Fri, Aug 30, 2013 at 1:39 AM, Peter Bex peter@xs4all.nl wrote: On Fri, Aug 30, 2013 at 01:17:40AM -0600, Matt Gushee wrote: I hypothesize that filter expressions in the native sxpath syntax don't work because

[Chicken-users] [PATCH] Fix -no-parentheses-synonyms and -no-symbol-escapes (was: Re: -no-parentheses-synonyms broken?)

2013-08-30 Thread Peter Bex
On Fri, Aug 30, 2013 at 09:39:19AM +0200, Peter Bex wrote: On Fri, Aug 30, 2013 at 01:17:40AM -0600, Matt Gushee wrote: and Chicken by default treats square brackets as equivalent to parentheses. So I wanted to see what would happen if I used csi -no-parentheses-synonyms. But it seems

Re: [Chicken-users] POSIX unit and string-time

2013-08-16 Thread Peter Bex
On Fri, Aug 16, 2013 at 11:55:07AM -0400, Claude Marinier wrote: On Thu, Aug 15, 2013 at 4:10 PM, Peter Bex peter@xs4all.nl wrote: The date and hostname it prints are when and where the Scheme code was translated to C. I agree this should probably be changed to reflect the place where

Re: [Chicken-users] POSIX unit and string-time

2013-08-15 Thread Peter Bex
On Thu, Aug 15, 2013 at 03:44:20PM -0400, Claude Marinier wrote: P.S. Why does it say it was compiled last month on some computer I do not recognize? I built it from source earlier today. Hello Claude, John already answered your other question, so I'll answer this one. The date and hostname it

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

2013-08-08 Thread Peter Bex
Hello everyone, A new development snapshot (4.8.2) is now available: http://code.call-cc.org/dev-snapshots/2013/08/08/chicken-4.8.2.tar.gz For a list of changes since the previous snapshot, see http://code.call-cc.org/dev-snapshots/2013/01/04/NEWS Please help test it and let us know if you find

Re: [Chicken-users] [ANN] Development snapshot 4.8.2 now available

2013-08-08 Thread Peter Bex
On Thu, Aug 08, 2013 at 09:02:23AM +0200, Peter Bex wrote: Hello everyone, A new development snapshot (4.8.2) is now available: http://code.call-cc.org/dev-snapshots/2013/08/08/chicken-4.8.2.tar.gz For a list of changes since the previous snapshot, see http://code.call-cc.org/dev

Re: [Chicken-users] Any way to get the scsh-process egg working on Windows?

2013-08-07 Thread Peter Bex
On Wed, Aug 07, 2013 at 09:34:18AM -0400, Omar Antolín Camarena wrote: Hi everyone! Hello, Omar! I love the convenience of the SCSH process notation and would like to be able to use it on Windows, but it currently uses process-fork internally and this function is unavailable on native

Re: [Chicken-users] Any way to get the scsh-process egg working on Windows?

2013-08-07 Thread Peter Bex
On Wed, Aug 07, 2013 at 12:18:41PM -0400, Omar Antolín Camarena wrote: Thanks, Peter! I agree that it wouldn't be worth adding code for special cases that can be run without forking. I thought that maybe I would right my own version of run for, say, a single pipe form, but I think I'll take

Re: [Chicken-users] Supporting libraries on Windows

2013-08-07 Thread Peter Bex
On Wed, Aug 07, 2013 at 03:50:21PM -0500, Tim Lavoie wrote: Hello, Hi there! Is there a recognized best way to install C libraries where they'll be found on Windows? For instance, the openssl egg requires the OpenSSL libraries. On Linux, it's trivial to install the correct libraries with

Re: [Chicken-users] scrutinizer warning in dotted argument notation when using units

2013-08-04 Thread Peter Bex
of letrec*. Signed-off-by: Peter Bex peter@xs4all.nl --- NEWS | 2 ++ chicken-syntax.scm | 11 ++- compiler.scm | 21 - eval.scm | 19

Re: [Chicken-users] Chicken and GUI programming

2013-07-26 Thread Peter Bex
On Fri, Jul 26, 2013 at 11:27:04PM +0400, db05 wrote: Ah, also stay away from thread-wait-for-i/o on files descriptors. Actually, that's fine. The problem is that our Windows implementation needs to be rewritten from POSIX select() (which isn't POSIX select) to WaitForMultipleObjects.

Re: [Chicken-users] replacement for rlwrap on MS Windows, MinGW

2013-07-25 Thread Peter Bex
On Wed, Jul 24, 2013 at 06:57:56PM -0400, Claude Marinier wrote: Just to make sure we are talking about the same thing. The context is using the REPL on MS Windows. I prefer to use MinGW instead of Cygwin. Are you saying that csi can be built to use parley to provide better history and

Re: [Chicken-users] replacement for rlwrap on MS Windows, MinGW

2013-07-24 Thread Peter Bex
On Tue, Jul 23, 2013 at 09:01:47PM -0400, Claude Marinier wrote: ConEmu does not seem to provide additional command line editing but it supports ANSI escape sequences. One could do the same with Console2 in combination with ansicon but, yes, ConEmu is better. Linenoise uses just a few ANSI

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