Re: How to get help on commands

2023-08-24 Thread elf
The mode arguments are documented http://wiki.call-cc.org/man/5/Module%20scheme#ports -elf On 24 August 2023 19:55:35 GMT+03:00, Lewis Levin wrote: >After installing r7rs, ‘open-output-port’ is a more complete implementation >with this signature: > >open-output-file name . mode

Re: Botan bindings

2023-06-10 Thread elf
Thanks! I'll try to look into it and run some tests and speed comparisons in about a week. (Lots of weddings right now, so it's unlikely i can do anything earlier than that.) Have you made bindings for all the hashes and block ciphers? -elf On 11 June 2023 02:59:23 GMT+03:00, Thomas Chust

Re: Need GUI (again), gauging interest in an alternative approach.

2023-03-23 Thread elf
, so... -elf On 23 March 2023 13:43:10 GMT+02:00, Matt Welland wrote: >Tk is great, no doubt about it. I still miss Eric Gallesio's STk. The >reasons I decided against tk include: > > 1. Clunky 1980's look and feel. (i) > 2. No IOS or Android support. (ii) > 3. I seemed t

Re: Need GUI (again), gauging interest in an alternative approach.

2023-03-22 Thread elf
Erm, what's wrong with the tk bindings, which should work everywhere already? -elf On 23 March 2023 02:36:43 GMT+02:00, Matt Welland wrote: >That would be great Thomas. For my part, I'll start working on my project >using what I can, learning Godot along the way. When you get to w

Re: Partial automation of egg dependencies

2022-11-20 Thread elf
be a better development methodology that wouldn't shift the burden from paying attention to what one is using to a psychic programme that does what you mean (not what you tell it). -elf On 20 November 2022 20:55:09 GMT+02:00, Lassi Kortela wrote: >I have a .egg file for a portable Scheme prog

Re: Request for feedback: Chicken as a self-contained AppImage

2022-09-28 Thread elf
it (painfully) obvious that I don't know anything about AppImage, so if you can explain in more detail or send links to clarify, it would be most appreciated. Thanks! -elf From: Daniel Ziltener To: chicken-users@nongnu.org Date: 28 Sep 2022 22:37:59 Subject: Request for feedback: Chicken as a self

Re: [Chicken-users] Is Android not unix?

2018-11-25 Thread elf
independent.) -elf On 26 November 2018 5:15:03 GMT+02:00, Matt Welland wrote: >Isn't Termux similar to UserLand - a compatibility layer of sorts >similar to LXC or LXD? If so, I would not be surprised to see >incompatibilities. I had to do several hacks to get IUP working on >UserLand. >

Re: [Chicken-users] redefining cons,car,cdr in SICP

2010-12-03 Thread Elf
with plants and apply them to cuts are which doctors? The ones who read entrails are clearly haruspex. (That would be a great name for a debugging egg.) -elf who goes 'poof' and reappears on the list ___ Chicken-users mailing list Chicken-users

Re: [Chicken-users] Announcing call-cc.org

2010-08-08 Thread Elf
Should the chicken*scheme.* sites be updated to point to call-cc then? -elf On Sat, 7 Aug 2010, Mario Domenech Goulart wrote: Hi We have a new server for the CHICKEN infrastructure: http://www.call-cc.org www.call-with-current-continuation.org is still the official CHICKEN home site

Re: [Chicken-users] Happy 10th birthday!

2010-07-20 Thread Elf
such a nice project! Best wishes. Mario Minus fourscore and threescore ten years ago, our Felix brought forth a new implementation, concieved in poultry, and dedicated to the proposition that all CONS are created equal time. Happy birthday, Chicken! -elf

Re: [Chicken-users] Happy 10th birthday!

2010-07-20 Thread Elf
project! Best wishes. Mario Minus fourscore and threescore ten years ago, our Felix brought forth a new implementation, concieved in poultry, and dedicated to the proposition that all CONS are created equal time. Happy birthday, Chicken! -elf

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-09 Thread Elf
in this way? -elf ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] stressing the new hygienic macros

2009-04-28 Thread Elf
perhaps the addition of a let-syntax would be useful above the internal syntax-rules? -elf On Tue, 28 Apr 2009, Michele Simionato wrote: I have subscribed again the list after a few years of absence, because I wanted to try the new and improved hygienic Chicken ;-) As first experiment, I

Re: [Chicken-users] stressing the new hygienic macros

2009-04-28 Thread Elf
ignore previous comment -elf On Tue, 28 Apr 2009, Michele Simionato wrote: I have subscribed again the list after a few years of absence, because I wanted to try the new and improved hygienic Chicken ;-) As first experiment, I tried to stress a bit syntax-rules. I tried the following

Re: [Chicken-users] Lisp puzzles

2009-04-22 Thread Elf
are you counting '() (the empty list) as an atom or not? in lisp it traditionally isnt an atom, but your definition below indicates it is. -elf On Tue, 21 Apr 2009, John Cowan wrote: These are some very old Lisp puzzles I dug up and translated to Scheme. The idea is to figure out what

Re: [Chicken-users] IPhone

2009-04-13 Thread Elf
On Mon, 13 Apr 2009, Alex Queiroz wrote: snip I am not agreeing with Apple at all, but they might be afraid of GC pauses. how would they know its a gc pause? it would just look like a bunch of memory accesses to them. -elf ___ Chicken

Re: [Chicken-users] IPhone

2009-04-13 Thread Elf
On Mon, 13 Apr 2009, Alex Queiroz wrote: Hallo, On 4/13/09, Elf e...@ephemeral.net wrote: I am not agreeing with Apple at all, but they might be afraid of GC pauses. how would they know its a gc pause? it would just look like a bunch of memory accesses to them

Re: [Chicken-users] IPhone

2009-04-13 Thread Elf
On Mon, 13 Apr 2009, Alex Queiroz wrote: Hallo, On 4/13/09, Elf e...@ephemeral.net wrote: I am not agreeing with Apple at all, but they might be afraid of GC pauses. how would they know its a gc pause? it would just look like a bunch of memory accesses to them

[Chicken-users] trac instancesy

2009-04-07 Thread Elf
The new trac instances run by Ivan are at www.chicken-scheme.org and www.chickenscheme.org . Thanks be to Eric for the redirect. -elf ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] trac instancesy

2009-04-07 Thread Elf
Done. Praise be to Eric, who watcheth over the redirects. -elf On Tue, 7 Apr 2009, Alex Queiroz wrote: Hallo, On 4/7/09, Elf e...@ephemeral.net wrote: The new trac instances run by Ivan are at www.chicken-scheme.org and www.chickenscheme.org . Thanks be to Eric for the redirect

Re: [Chicken-users] Re: Trac moving to new server

2009-04-06 Thread Elf
As soon as I can get ahold of Eric, we can give it one (or more) chicken domain names :) -elf On Mon, 6 Apr 2009, Ivan Raikov wrote: I have set up a Trac instance that is synchronized with the Chicken SVN repository; however, it is installed on the web server of my institute, because

Re: [Chicken-users] Ann.: CHICKEN 4.0.0 released

2009-04-05 Thread Elf
Erm, i wasnt aware i was supposed to fix the msvc mess, as i dont have access to a machine running msvc. i thought felix was working on msvc. sorry :) -elf On Mon, 6 Apr 2009, Leonardo Valeri Manera wrote: \o/ ... again! \o/ Also: kitten-technologies? :3 Finally: elf, did you fix

Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-26 Thread Elf
word to the back of each word (eg /a /b /foo bar/ c/ d/). this is not a problem in the chicken3 branch mingw makefile, as i had fixed it previously.) -elf On Thu, 26 Mar 2009, felix winkelmann wrote: On Wed, Mar 25, 2009 at 10:11 PM, Elf e...@ephemeral.net wrote: no.  what happened

Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-25 Thread Elf
no. what happened is that the quoting rules are screwed up. i forgot to backport the makefile from 3. ill do it in a few. (youre seeing what happens when the 'cat' or 'type' goes horribly wrong. note how the slashes go from one side to the other.) -elf On Thu, 26 Mar 2009, Ivan

[Chicken-users] re: platform development

2009-03-15 Thread Elf
Sorry, i just realised i forgot to add the link to the page: http://chicken.wiki.br/platforms-used -elf ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] platform development

2009-03-15 Thread Elf
theoretically supported by one of the build systems formerly used.) Can everyone please edit the platforms-used wiki page and add their names and platform(s)/architecture(s) used and/or desired, as a rough survey? Thanks very much! -elf ___ Chicken-users

Re: [Chicken-users] Re: platform development

2009-03-15 Thread Elf
On Mon, 16 Mar 2009, Aleksej Saushev wrote: Elf e...@ephemeral.net writes: I rather doubt AIX is in widespread use, although it's theoretically supported by one of the build systems formerly used. If you want build log, contact me, maybe I'll find a way. You're running on AIX? (I

Re: [Chicken-users] Re: platform development

2009-03-15 Thread Elf
I'd like a copy of the build log, too, please. -elf On Mon, 16 Mar 2009, Aleksej Saushev wrote: Elf e...@ephemeral.net writes: I rather doubt AIX is in widespread use, although it's theoretically supported by one of the build systems formerly used. If you want build log, contact me

Re: [Chicken-users] chmod a+rw indeed

2008-11-24 Thread Elf
um, changing to 644 is almost certainly incorrect for executables. methinks you want 0755. -elf On Mon, 24 Nov 2008, felix winkelmann wrote: On Sat, Nov 22, 2008 at 1:36 PM, Drake Wilson [EMAIL PROTECTED] wrote: Sorry for the short pre-message research time, but this seems bogus enough

Re: [Chicken-users] Bug in canonical-path?

2008-10-29 Thread Elf
of issues, regardless. again: canonical-path does not do existence checking. it is not meant to. it is intended to create localised canonical forms of a path in any representation as an aid to installation and naming portability. -elf ___ Chicken

Re: [Chicken-users] basic Scheme question

2008-10-28 Thread Elf
erm, have you looked at the remote-repl egg? fwiw, i don't see why this is an issue at all... just send quoted lists (stringified, of course), and eval it on whichever end is desired. -elf On Fri, 24 Oct 2008, Shawn Rutledge wrote: On Fri, Oct 24, 2008 at 1:00 AM, Drake Wilson [EMAIL

Re: [Chicken-users] Bug in canonical-path?

2008-10-28 Thread Elf
On Sun, 26 Oct 2008, Peter Bex wrote: On Sun, Oct 26, 2008 at 01:19:42AM -0700, Elf wrote: ~$ touch abc\\298.test csi (find-files . regular-file? (lambda (x y)(print x) (print (file-stat (canonical-path x) ./abc\298.test Error: (file-stat) cannot access file

Re: [Chicken-users] Bug in canonical-path?

2008-10-28 Thread Elf
Chicken, therefore, / is entirely portable and no translation is ever necessary. this is not strictly true; during installation of files (eg for chicken-setup) some calls are done through the command shell. the / notation has certain other concerns as well, mostly involving drive letter. -elf

Re: [Chicken-users] Bug in canonical-path?

2008-10-28 Thread Elf
On Tue, 28 Oct 2008, John Cowan wrote: Elf scripsit: In Windows, \ and / are interchangeable in system calls, although the command shell, the desktop, and other file windows and dialogue boxes don't accept \ but only /. I should have said don't accept / but only \, of course

Re: [Chicken-users] basic Scheme question

2008-10-27 Thread Elf
be better served by either explicit setting procs for each let-bound var, or by having some form of dispatch from a single name. -elf ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Bug in canonical-path?

2008-10-26 Thread Elf
/lmbk/abc/298.test this isn't a bug; it has to handle both windows and unix paths. i can add optional flags for specifying behaviour of slash and backslash, if desired. -elf ___ Chicken-users mailing list Chicken-users@nongnu.org http

Re: [Chicken-users] command-line-arguments

2008-10-11 Thread Elf
On Sat, 11 Oct 2008, Jörg F. Wittenberger wrote: Am Freitag, den 10.10.2008, 11:19 -0700 schrieb Elf: i'd recommend the r5rs primitive 'write' instead of 'display', 'printf', etc, if you want the external representation of your code. :) That's what would have recommended until a few weeks

Re: [Chicken-users] command-line-arguments

2008-10-10 Thread Elf
i'd recommend the r5rs primitive 'write' instead of 'display', 'printf', etc, if you want the external representation of your code. :) -elf On Fri, 10 Oct 2008, Wietse Jacobs wrote: 2008/10/10 Peter Bex [EMAIL PROTECTED]: On Fri, Oct 10, 2008 at 04:04:13PM +0200, Wietse Jacobs wrote

Re: [Chicken-users] Why is the format egg redundant or unsupported?

2008-09-28 Thread Elf
fwiw, the dependency on numbers should probably be removed in eformat. i believe thats the only external dependency it has? -elf On Sat, 27 Sep 2008, Matthew Welland wrote: While I really like eformat I tend to use the format egg quite a bit. It has no external dependancies and works

Re: [Chicken-users] Expanding ellipsis on lists of different length

2008-08-28 Thread Elf
) the vast majority of forms would get a fairly nasty slowdown in order to error for something outside the spec. -elf ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: Local documentation [was: Re: [Chicken-users] hygienic egg PORT-A-MANIA!]

2008-08-27 Thread Elf
(at commit), rather than via a periodical task. this could allow significantly faster update of eggs when fixes are made, and give some added flexibilities. if a scheme like this were implemented, getting the docs from the wiki would actually be more of a pain than the upload... -elf

Re: [Chicken-users] Expanding ellipsis on lists of different length

2008-08-27 Thread Elf
the question if '((test (a b ...) c ...) (test a c ...))' is valid, though. (or even if the transformer was just 'a', for that matter.) -elf ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Expanding ellipsis on lists of different length

2008-08-27 Thread Elf
length. i am confused. are you proposing that it should always signal an error when getting the split ellipses like this, or when the lists are mismatched? (the second case is a bit unpleasant to try to catch all the time, and would probably have performance unplesantnesses.) -elf On Wed, 27 Aug

Re: [Chicken-users] Good way to code the equivalent to this?

2008-08-25 Thread Elf
the code if interested. -elf On Sun, 24 Aug 2008, Jim Ursetto wrote: Note that your solution effects a mapping of x - y, not from x - y - #t. That gets the job accomplished correctly, but doesn't reflect the original Perl code. For a fair comparison, you have to change the perl code to match

Re: [Chicken-users] Good way to code the equivalent to this?

2008-08-25 Thread Elf
On Mon, 25 Aug 2008, Tobia Conforto wrote: Elf wrote: (define a (alist-hash-table (let loop ((i 0)) (if (fx= 25 i) '() (cons (cons (random 50) (random 50)) (loop (fx+ 1 i) =)) for an improvement

Re: [Chicken-users] hygienic egg PORT-A-MANIA!

2008-08-25 Thread Elf
. :) im not necessarily sold on eggdoc itself, only because its amazingly annoying to change certain properties (unlike the wiki, where they cant be changed at all). i know that a few months back i said i would come up with something. i totally dropped the ball here, apologies. im a bit swamped. -elf

Re: [Chicken-users] Hygienic Chicken's desftruct issue

2008-08-25 Thread Elf
in Scheme, or failing that, something people would have absolutely no preconceptions about. clone-type would fit the latter description, or how about make-duplicate-type? I'll also propose transmogrify-type and make-duplicate-with-ethicator-type. a clone by any other name is no defeat. -elf

Re: [Chicken-users] hygienic egg PORT-A-MANIA!

2008-08-25 Thread Elf
, and more brittle when there are better options. -elf ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Good way to code the equivalent to this?

2008-08-24 Thread Elf
my solution :) its faster (at least on chicken 3.3.something). timing on this box put this at just under 8s. -elf --- (use extras) (print filling ...) (define a (alist-hash-table (let loop ((i 0)) (if (fx= 25 i) '() (cons (cons

Re: [Chicken-users] Good way to code the equivalent to this?

2008-08-24 Thread Elf
faster to build the list than to do the hash-table-set!, interestingly. -elf ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Good way to code the equivalent to this?

2008-08-24 Thread Elf
unfold for generation. all of these have been run in the interpreter, not compiled. -elf ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Good way to code the equivalent to this?

2008-08-24 Thread Elf
one final note: the time and memory usage for the list-tabulate, map!, and unfold solutions, on my box, are approximately 0.4s slower than perl, with slightly better memory usage stats (in chicken, that is). hope this helps. -elf ___ Chicken

Re: [Chicken-users] egg announcement: remote-repl

2008-08-19 Thread Elf
On Tue, 19 Aug 2008, Jörg F. Wittenberger wrote: Am Montag, den 18.08.2008, 09:19 -0700 schrieb Elf: On Mon, 18 Aug 2008, Jörg F. Wittenberger wrote: snip as a sidenote, i cannot think of any legitimate reason to change timeouts dynamically. So you probably never had to debug a larger

Re: [Chicken-users] Chicken with VIM

2008-08-18 Thread Elf
#; is a very special sort of case. it would be a minimum of several lines to perform syntax highlighting correctly with it. give me a full list of whats missing from vim, and ill look at it. i dont use vim, but i do use vi :) -elf On Mon, 18 Aug 2008, Wang Xin wrote: 2008/8/18 Tobia

Re: [Chicken-users] egg announcement: remote-repl

2008-08-18 Thread Elf
On Mon, 18 Aug 2008, Alaric Snell-Pym wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17 Aug 2008, at 3:53 am, Elf wrote: many people on #chicken and the list have requested a simple remote- repl egg. some people have requested a not-so-simple remote-repl egg, too. :) Oh, yay

Re: [Chicken-users] Possible formating Bug in SRFI-19?

2008-08-18 Thread Elf
srfi-19 is broken in several ways right now and will be refactored soon. -elf On Mon, 18 Aug 2008, Jörg F. Wittenberger wrote: Hi Kon, I ran into a problem with SRFI-19 formatting. (Being lazy) I'm not (yet) using the chicken egg, but the version I made up years ago. Now I found this bug

Re: [Chicken-users] Possible formating Bug in SRFI-19?

2008-08-18 Thread Elf
, which happens automatically. if you're seriously proposing modifying all of the output procedures, you're mad. if you need bignum support in the short term, use the numbers egg. if you dont, wait until the compat lib is out, which has a full numeric tower. -elf On Mon, 18 Aug 2008, Jörg F

Re: [Chicken-users] egg announcement: remote-repl

2008-08-18 Thread Elf
On Mon, 18 Aug 2008, Jörg F. Wittenberger wrote: Hi Elf, first of all: sorry about not having had the time to read your egg but anyway asking questions about it. please read the docs in the future, as this issue is addressed. Actually having such a facility and not being able to use

Re: [Chicken-users] Dual-format macros

2008-08-18 Thread Elf
the same macros written in un-hygienic define-macro )) define-macro will no longer exist in chicken4 (aka hygienic chicken). -elf ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Embedded Chicken

2008-08-18 Thread Elf
in embedded systems. Any input/suggestions/knowledge would be much appreciated. you want chicken to be the kernel? -elf ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Race condition in scheduler.scm

2008-08-17 Thread Elf
modifications to the signal/condition/exception handler in unsafe ways. -elf ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] egg announcement: remote-repl

2008-08-16 Thread Elf
in the repl erroring out your whole process. all of that is handled under the hood, even if you do use the hooks. hope this satisfies the requests. let me know if it doesnt. -elf ___ Chicken-users mailing list Chicken-users@nongnu.org http

Re: [Chicken-users] Re: S11n Egg Problem

2008-08-14 Thread Elf
is why is this not failing at the char-integer ? -elf On Wed, 13 Aug 2008, Joshua Griffith wrote: The following lines demonstrate the problem: (use s11n) (deserialize (open-input-string \f)) -Josh On Aug 13, 2008, at 4:30 AM, felix winkelmann wrote: On Wed, Aug 13, 2008 at 8:38 AM, Joshua

Re: [Chicken-users] are additional make-input-port's argument ok to use

2008-08-12 Thread Elf
its not stable in the sense that most everything about ports will be changing very soon because of problems with windows and certain other OSes. -efl On Wed, 13 Aug 2008, Jörg F. Wittenberger wrote: Hi all, me again :-( I'm inclined to use those undocumented arguments to make-input-port

Re: [Chicken-users] svn bootstrap broken?

2008-08-11 Thread Elf
ubuntu is using Chicken 2.4 or 2.5, thats why it doesnt work. http://chicken.wiki.br/dev-snapshots/2008/08/07/chicken-3.3.8-linux-x86.tar.gz is a linux binary. somewhere on the wiki theres a page with updated debian packages. -elf On Mon, 11 Aug 2008, Jörg F. Wittenberger wrote: Am Montag

Re: [Chicken-users] Re: make-parameter, parameterize SRFI-39

2008-08-11 Thread Elf
it a parameter. if you want a thread-local variable, parametrise it. i dont see why this requires changing core structure. -elf On Mon, 11 Aug 2008, Jörg F. Wittenberger wrote: Hi all, since there where no more responses on my last post to this thread, I decided that it might be the best

Re: [Chicken-users] Re: make-parameter, parameterize SRFI-39

2008-08-11 Thread Elf
On Mon, 11 Aug 2008, Jörg F. Wittenberger wrote: Am Montag, den 11.08.2008, 07:28 -0700 schrieb Elf: absolutely not. first, why will it be difficult for you to set up a clean build environment? Because I'll have to rebind parameterize, which is then going to be available to eval, where

Re: [Chicken-users] Re: An alternative thread system?

2008-08-11 Thread Elf
with it. threads are neither more flexible, more effective, safer, nor easier to work with. Semantically, processes and threads differ because of the controller that exists in one model (scheduler) that does not exist in the other. -elf terminating your threads since you bought them last week, boyy

Re: [Chicken-users] Re: An alternative thread system?

2008-08-11 Thread Elf
. theres also smart scheduling of threads, which im trying to work out. -elf ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Re: An alternative thread system?

2008-08-11 Thread Elf
On Tue, 12 Aug 2008, Aleksej Saushev wrote: Elf [EMAIL PROTECTED] writes: On Mon, 11 Aug 2008, Aleksej Saushev wrote: snip is shared access to memory, which you can easily avoid. Pipes are not that simple actually, to pass some complex structure through pipe, you need to pack it to some

Re: [Chicken-users] Re: An alternative thread system?

2008-08-11 Thread Elf
98) version of windows. -elf ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Please do not drop 'thread-terminate!' from the SRFI 18 impl

2008-08-10 Thread Elf
(atm), functionality is a good idea. -elf ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Please do not drop 'thread-terminate!' from the SRFI 18 impl

2008-08-10 Thread Elf
On Sun, 10 Aug 2008, John Cowan wrote: Elf scripsit: you cant take the car or cdr of an atomic object: the slots dont exist. And yet in CL and all the way back to Lisp 1.5, (car nil) = (cdr nil) = nil. In pre-CL Lisps, the CDR of a symbol was its property list; CL finally abolished

Re: [Chicken-users] An alternative thread system?

2008-08-10 Thread Elf
new processes. There are already all kinds of synchronisation and communication and distributed programming eggs out there. The blocking I/O issues will be cleaned up very shortly, and I agree they are annoying. :) -elf (thread-terminate! [Chicken-Users]: re: thread-terminate!) too bad

Re: [Chicken-users] Segfault - a hard one

2008-08-08 Thread Elf
On Sat, 9 Aug 2008, felix winkelmann wrote: 4) Make the worker thread check a global (or thread-local, but accessible from outside) status and let it terminate itself. this is the way suggested in the srfi-18 docs, iirc, using the slot. -elf

Re: [Chicken-users] Please do not drop 'thread-terminate!' from the SRFI 18 impl

2008-08-08 Thread Elf
deprecate mutexes and the like for a cleaner system of currency, or (at the very least) augment thread-terminate! in such a way that it waits to terminate until the held mutexes (mutii? mutices?) are dropped. -elf ___ Chicken-users mailing list Chicken

Re: [Chicken-users] catching exceptions

2008-07-29 Thread Elf
#;1 (condition-case (with-input-from-string ) read) (var () no prob)) no prob #;2 (condition-case (call-with-input-string ) read) (var () no prob)) no prob #;3 On Tue, 29 Jul 2008, Jörg F. Wittenberger wrote: Am Dienstag, den 29.07.2008, 18:06 +0900 schrieb Ivan Raikov: What version of

Re: [Chicken-users] catching exceptions

2008-07-29 Thread Elf
(condition-case (with-input-from-string ) read) (val () no prob)) no prob #;4 (condition-case (call-with-input-string ) read) (val () no prob)) no prob #;5 wasnt srfi-34. -elf On Tue, 29 Jul 2008, Jörg F. Wittenberger wrote: ERR Double checked: it's SRFI-34, which is in the way! I

Re: [Chicken-users] catching exceptions

2008-07-29 Thread Elf
, disappeared apparently for a bit and therefore there was no discussion. srfi-34 and related srfis are brittle and encode things in a nonschemelike way, with a lot of extra parsing and ridiculousness involved. -elf On Tue, 29 Jul 2008, Jörg F. Wittenberger wrote: Am Dienstag, den 29.07.2008

Re: [Chicken-users] catching exceptions

2008-07-29 Thread Elf
furthermore, srfi-34 can be written entirely in terms of srfi-12, while the reverse is not true. -elf On Tue, 29 Jul 2008, Elf wrote: srfi-34 is meaningless without srfi-35 and srfi-36. nothing in srfi-34 details the actual format of exceptions/conditions. all of this is self-contained

Re: [Chicken-users] poached, scrambled, boiled, sunny-side-up, omelette...

2008-07-26 Thread Elf
YAY! Grats Tony! -elf On Sat, 26 Jul 2008, felix winkelmann wrote: On Sun, Jul 20, 2008 at 3:45 PM, Elf [EMAIL PROTECTED] wrote: or any other way you'd like, i think we're reached 400 eggs, with Ivan's WebDAV egg and a SOAP egg contributed by someone who wishes to remain anonymous

Re: [Chicken-users] tinyclos and the repl

2008-07-24 Thread Elf
are you using the eval unit and using the repl function contained therein, or did you roll your own repl? also, you should be able to require the chicken-more-macros via (require 'chicken-more-macros) at the top. -elf On Thu, 24 Jul 2008, Jörg F. Wittenberger wrote: Am Donnerstag, den

Re: [Chicken-users] tinyclos and the repl

2008-07-24 Thread Elf
char is also the next object.) what exactly are you trying to do, if i may ask? -elf On Thu, 24 Jul 2008, Jörg F. Wittenberger wrote: Am Donnerstag, den 24.07.2008, 07:19 -0700 schrieb Elf: are you using the eval unit and using the repl function contained therein, or did you roll your own

Re: [Chicken-users] tinyclos and the repl

2008-07-24 Thread Elf
what do you mean by a 'pure scheme reader'? -elf On Thu, 24 Jul 2008, Jörg F. Wittenberger wrote: Am Donnerstag, den 24.07.2008, 16:53 +0200 schrieb Jörg F. Wittenberger: Unfortunately chicken's read has already read from the port until the next #\( - so the SRFI-49 code gets confused

Re: [Chicken-users] catching exceptions

2008-07-24 Thread Elf
chicken already supports most of srfi-34 natively and the rest is supported via an egg. have you looked at all at the manual or at the egg libs yet? -elf On Thu, 24 Jul 2008, Jörg F. Wittenberger wrote: Hi all, I have some lines of Scheme, which rely on SRF-34 and I don't really want

Re: [Chicken-users] poached, scrambled, boiled, sunny-side-up, omelette...

2008-07-22 Thread Elf
renaming etc are only listed once, under the current name. at the bottom is a list of eggs NOT included in the list, along with the reason. who is going to run the (random-seed) (random 50) script? -elf On Mon, 21 Jul 2008, felix winkelmann wrote: On Sun, Jul 20, 2008 at 3:45 PM, Elf [EMAIL

Re: [Chicken-users] Re: getopt, getopt_long?

2008-07-22 Thread Elf
install etc from there. then it should only be a matter of copying that environment to the actual phone. -elf ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] poached, scrambled, boiled, sunny-side-up, omelette...

2008-07-21 Thread Elf
On Mon, 21 Jul 2008, felix winkelmann wrote: On Sun, Jul 20, 2008 at 3:45 PM, Elf [EMAIL PROTECTED] wrote: or any other way you'd like, i think we're reached 400 eggs, with Ivan's WebDAV egg and a SOAP egg contributed by someone who wishes to remain anonymous and added by myself. yay

[Chicken-users] poached, scrambled, boiled, sunny-side-up, omelette...

2008-07-20 Thread Elf
or any other way you'd like, i think we're reached 400 eggs, with Ivan's WebDAV egg and a SOAP egg contributed by someone who wishes to remain anonymous and added by myself. yay!!! -elf who is looking forward to the next 400 eggs ___ Chicken

Re: [Chicken-users] chicken-setup

2008-07-16 Thread Elf
, and trying to add directories without borking other things in such a way that any installed version of pkgconfig (opposed to ONLY 0.18 or 0.19 or 0.23 or whatever theyre on for this five months) will use it correctly is damn near impossible. -elf On Wed, 16 Jul 2008, Peter Bex wrote: On Tue, Jul 15

Re: Chicken-setup redesign (was: Re: [Chicken-users] Re: getopt, getopt_long?)

2008-07-10 Thread Elf
___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: Chicken-setup redesign (was: Re: [Chicken-users] Re: getopt, getopt_long?)

2008-07-10 Thread Elf
is *not* duplication, as extra bits like linked libraries need to be specified. i can draft a proposal for how to fix things based on my own experiences both with the repo and with chicken-setup, if people are interested. -elf ___ Chicken-users

Re: Chicken-setup redesign (was: Re: [Chicken-users] Re: getopt, getopt_long?)

2008-07-10 Thread Elf
be another way. chicken-setup -n (will run chicken-setup against any .setup files it sees in the local directory but will not install them. if you want them to be installed, it should be just 'chicken-setup') -elf ___ Chicken-users mailing list

Re: [Chicken-users] thread makes csi eats lots of cpu

2008-07-10 Thread Elf
You're running readline in csi, yes? That blocks the threads. -elf On Fri, 11 Jul 2008, William Xu wrote: Run the following program in csi: (use posix srfi-18) (thread-start! (let ((max 5) (i 0)) (letrec ((thunk (lambda

Re: [Chicken-users] Re: thread makes csi eats lots of cpu

2008-07-10 Thread Elf
oke, so youre on osx and its blocking from stdin... i was not aware of this. thank you. :) -elf On Fri, 11 Jul 2008, William Xu wrote: Elf [EMAIL PROTECTED] writes: You're running readline in csi, yes? That blocks the threads. I didn't install this egg. , | #;1 (use readline

Re: [Chicken-users] Profiling large programs

2008-07-09 Thread Elf
How large is the generated C file when profiling is not enabled? -elf On Wed, 9 Jul 2008 [EMAIL PROTECTED] wrote: Hi all. Compile times of chicken increase considerably when adding -profile. For example, 17 hours on a recent 2.4GHz processor instead of just some minutes without -profile

Re: [Chicken-users] Profiling large programs

2008-07-09 Thread Elf
Oh, and can you provide a link to the scheme source from which this happened? Thanks. -elf On Wed, 9 Jul 2008 [EMAIL PROTECTED] wrote: Hi all. Compile times of chicken increase considerably when adding -profile. For example, 17 hours on a recent 2.4GHz processor instead of just some minutes

Re: [Chicken-users] Profiling large programs

2008-07-09 Thread Elf
are you inlining anything in the scheme source? -elf On Wed, 9 Jul 2008 [EMAIL PROTECTED] wrote: Wed, 9 Jul 2008 10:55:07 -0700 (PDT), elf wrote: How large is the generated C file when profiling is not enabled? Only 37MB compared to 1300MB with profiling. (I cannot provide the Scheme

Re: [Chicken-users] Profiling large programs

2008-07-09 Thread Elf
also, a 35X growth is not normal for profiling, and doesnt happen in the general case, which is why i was asking to see your scheme source. -elf On Wed, 9 Jul 2008 [EMAIL PROTECTED] wrote: Wed, 9 Jul 2008 10:55:07 -0700 (PDT), elf wrote: How large is the generated C file when profiling

Re: [Chicken-users] RE: char=? question

2008-06-12 Thread Elf
are you converting from a symbol? if so, are you in case-insensitive or case- sensitive mode? where are W1 and W2 being defined? -elf On Thu, 12 Jun 2008, William Ramsay wrote: Now I'm even more mystified. The only change I made to my code was to change (char=? wa #\R) to (char-ci=? wa

  1   2   3   >