Re: [Chicken-users] Where is parenthesis-synonyms gone?

2011-09-12 Thread Felix
From: Paul Colby paulcco...@earthlink.net
Subject: [Chicken-users] Where is parenthesis-synonyms gone?
Date: Sun, 11 Sep 2011 09:18:14 -0700

 Hi,
 
 I'm trying to do some algebra using scheme so I would like to disable the 
 parenthesis-synonyms so
 I may give [] and {} different meanings. I'm running version 4.7.0. In the 
 documentation on 
 parameters I was lead to believe that one might disable this feature of the 
 reader by 
 (parenthesis-synonyms #f). Every symbol in the parameters documentation is 
 there except 
 parenthesis-synonyms. Is there a reason this has dropped off the symbol 
 table? I tried apropos
 and parenthesis-synonyms is a symbol just not bound to anything.

You can just use set-read-syntax! to redefine it (this will override
the default meaning). And you probably invoked (apropos
'paranthesis-synonyms) and added the symbol to the symbol-table
yourself.


cheers,
felix

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] superflous definition in library.scm?

2011-09-12 Thread Jörg F . Wittenberger

Hi,

I just ran into a bug of the old environment code no longer working.
(I red about that one, but haven't seen it so far.)

Along the way I noticed that there is a definition
##sys#walk-namespace
in library.scm - is this actually used anywhere or just code left over
waiting for it's removal?

/Jörg


___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] environment egg - any replacement?

2011-09-12 Thread Jörg F . Wittenberger

btw: thanks for the congratulations.

Stay tuned!  It's been a pre-announcement for an almost seen event.
Well, the event was there, but not enough testing.
Or let's say: the execution environment of Askemos is *supposed*
to heal malfunction of a particular node by re-synchronizing
to a common global state.  And that's normal to happen in operation.
And so it did!
Since so far the chicken-driven nodes have not reached the 2/3+1
majority, they went into resynch on error, which I ignored as
seen often enough (it's fast enough to ignore).
Now the website (among other things) ran on 3x chicken 3x rscheme.
No change to silently submit to the majority and resync.
It would simply not change anymore.

For the time being I had to revert to rscheme.
(And thereby the need to announce the event was gone :-/ (

Nevertheless I'll not give up right in front of the goal.

So: I've been using the environment eggs code for some things.
This does not work any longer.  I'd rather like to keep the
code compatibility with rscheme and chicken's eval.

So far I've been using only four functions:

make-environment
environment-extend!
environment-copy
environment-ref

These I found so far to be kind of the minimum to enable envt
manipulations from user code.

Could we have such a thing?  I'm ready to hack the code overnight,
but what's the API chicken does need right now and which changes
to this API are expected to come more sooner than later?

Thanks a lot

/Jerry
.

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] environment egg - any replacement?

2011-09-12 Thread Jörg F . Wittenberger

On Sep 12 2011, Kon Lovett wrote:


So: I've been using the environment eggs code for some things.
This does not work any longer.  I'd rather like to keep the
code compatibility with rscheme and chicken's veal.


I thought he environments egg worked for  Chicken 4.7.4; simple tests 
work for me w/ Chicken 4.7.3 using the procs below. I understand that 
with 4.7.4 the egg will not function: see 
http://lists.nongnu.org/archive/html/chicken- 
hackers/2011-08/msg00041.html. Sorry, but I am out-of-the-loop on this 
one.


Ah! I chose a great moment to stay on git trunk while fixing the issues
I'm facing.  }:-/

(Just noticed that I have yet another issue: the debian changelog is
not in sync with the actual version.  This however would be better done
automatically...which would bring me to the unrelated point that I'm
more or less maintaining a debian directory here; but I'm in no way a
seasoned debian developer; it's just a working build, not a nice one
- is there anybody listening on the list, who would could help on
that one?  Should it go into git?  Elsewhere?)

Mixing and matching versions and differences is no option for me.

Are any changes considered for the API definition to come for those
procs I need?  (If not, I could live for the time being with some
compatible redirects I'd code up in a moment.  But I really want to
express by the environment type something I could just pass to the
interpreter - and my compatible redirects would only avoid that
at this time rare case.)


make-environment
environment-extend!
environment-copy
environment-ref


/Jerry



These I found so far to be kind of the minimum to enable envt
manipulations from user code.

Could we have such a thing?  I'm ready to hack the code overnight,
but what's the API chicken does need right now and which changes
to this API are expected to come more sooner than later?

Thanks a lot

/Jerry
.



___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] environment egg - any replacement?

2011-09-12 Thread Felix
 So: I've been using the environment eggs code for some things.
 This does not work any longer.  I'd rather like to keep the
 code compatibility with rscheme and chicken's eval.
 
 So far I've been using only four functions:
 
 make-environment
 environment-extend!
 environment-copy
 environment-ref
 
 These I found so far to be kind of the minimum to enable envt
 manipulations from user code.
 
 Could we have such a thing?  I'm ready to hack the code overnight,
 but what's the API chicken does need right now and which changes
 to this API are expected to come more sooner than later?

There will be a replacement, but it will need some modifications
in the evaluator. Do you evaluate a lot of code, are the environments
long- or short-lived and small or large? Do you reuse them or create
many environments on the fly?


cheers,
felix

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] superflous definition in library.scm?

2011-09-12 Thread Felix
From: Jörg F. Wittenberger joerg.wittenber...@softeyes.net
Subject: [Chicken-users] superflous definition in library.scm?
Date: 12 Sep 2011 18:20:53 +0200

 Hi,
 
 I just ran into a bug of the old environment code no longer working.
 (I red about that one, but haven't seen it so far.)
 
 Along the way I noticed that there is a definition
 ##sys#walk-namespace
 in library.scm - is this actually used anywhere or just code left over
 waiting for it's removal?

This looks indeed like obsolete code. Thanks for pointing this out.


cheersm
felix

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users