Re: [Chicken-users] Re: GPG support?

2009-02-13 Thread Alaric Snell-Pym
On 12 Feb 2009, at 2:26 pm, Tobia Conforto wrote: Alaric Snell-Pym wrote: I already have a plan for plaintext passphrases, I just need to figure out a nice way to make 256-bit ones - Tiger hashes will produce 128 or 192 bit keys from passphrases, but not 256-bit ones I'm probably missing you

[Chicken-users] Evaluating lists with scoped let's and applying scoped macros to lists

2009-02-13 Thread Christoph Angerer
Hi there, I am currently trying to write an enhanced version of an interpreter for a little language I am developing. For that, I would like to be able to (a) pass a list containing symbols of my language's keywords to an interpret-function; this function should let-define implementations

Re: [Chicken-users] Evaluating lists with scoped let's and applying scoped macros to lists

2009-02-13 Thread Tobia Conforto
Christoph Angerer wrote: (define (interpret prog) (let [(myadd +) (mymul *)] (eval prog))) (display (interpret '(myadd 4 (mymul 5 2 This cannot possibly work. The symbol myadd is lexically scoped to the let block. The invocation of interpret is *outside* th

Re: [Chicken-users] Evaluating lists with scoped let's and applying scoped macros to lists

2009-02-13 Thread Thomas Chust
Hello Christoph, the problem is that eval never sees local bindings introduced with let or through function arguments, it always resolves symbols relative to a top level environment. You should look into the environments egg (http://chicken.wiki.br/environments) to achieve what you want. cu, Thom

Re: [Chicken-users] newbie: questions about set-finalizer!

2009-02-13 Thread felix winkelmann
On Thu, Jan 29, 2009 at 9:01 PM, Jim Ursetto wrote: > On Thu, Jan 29, 2009 at 5:56 AM, felix winkelmann wrote: >> On Thu, Jan 29, 2009 at 9:41 AM, Jim Ursetto wrote: >>> I am seeing finalizers fail to execute on recent SVN and I think >>> it is the result of this change. I backed out the patch