On Tue, 26 Aug 2008, Ivan Raikov wrote:
I can not remember that anybody ever used it
I use it for the majority of the eggs written and maintained by me.
i wasnt aware that we weren't supposed to document eggs that way anymore, i
thought it was just wiki preferred. all of my eggs are doc
"felix winkelmann" <[EMAIL PROTECTED]> writes:
> Just give me an exact specification and I'll add it (if possible).
Well, in SWIG you can specify an exception handler like this:
%exception
{
const char *err;
clear_exception();
$action
if ((err = check_exception()))
{
On Tue, Aug 26, 2008 at 2:55 AM, Heinrich Taube <[EMAIL PROTECTED]> wrote:
> I'm happy to announce the availability of Grace 1.0.2, a Graphical,
> Realtime, Algorithmic Composition Environment. Grace is built using the
> JUCE cross-platform tool kit and includes Chicken Scheme as its extension
>
On Tue, Aug 26, 2008 at 2:07 AM, Ivan Raikov <[EMAIL PROTECTED]> wrote:
>
> Agreed about cumbersome! I really wish I could use easyffi for
> endian-port, but the problem is that SWIG has the ability of wrapping
> every invocation of a C function with an error handler, which of
> course slows thin
My apologies if this is spam, but I sent this reply to David Krentzlin's kind advice on getting Qt to work earlier today. Apparently my ISP's webmail interface was being cranky. -- vAug 25, 2008 01:14:54 PM, [EMAIL PROTECTED] wrote:===Aug 24, 2008 12:34:42 AM
I'm happy to announce the availability of Grace 1.0.2, a Graphical,
Realtime, Algorithmic Composition Environment. Grace is built using
the JUCE cross-platform tool kit and includes Chicken Scheme as its
extension language. Grace runs on Windows, OSX and Linux, sources
and prebuilt binar
On Mon, 25 Aug 2008, Alan Post wrote:
On Mon, Aug 25, 2008 at 04:31:42PM -0400, John Cowan wrote:
Peter Bex scripsit:
Perhaps you (or someone else on the list?) can think of a better name
that can be prefixed, to remove all confusion? Ideally it'd be something
which has been done before in Sc
On Tue, 26 Aug 2008, Ivan Raikov wrote:
Could you describe in more detail what you mean by eggdoc documentation
option? And what "sweeping changes" exactly are you talking about?
The "eggdoc option" was the ability to generate online HTML
documentation from an eggdoc script. The sweeping cha
"felix winkelmann" <[EMAIL PROTECTED]> writes:
> It should be possible to use SWIG as usual, but it doesn't generate
> modules. I haven't tried to do so, since I personally find SWIG
> somewhat cumbersome to use (as opposed to easyffi, for example).
>
Agreed about cumbersome! I really wish I
On Mon, Aug 25, 2008 at 04:31:42PM -0400, John Cowan wrote:
> Peter Bex scripsit:
>
> > Perhaps you (or someone else on the list?) can think of a better name
> > that can be prefixed, to remove all confusion? Ideally it'd be something
> > which has been done before in Scheme, or failing that, some
On Mon, Aug 25, 2008 at 5:14 PM, Peter Bex <[EMAIL PROTECTED]> wrote:
> Perhaps you (or someone else on the list?) can think of a better name
> that can be prefixed, to remove all confusion? Ideally it'd be something
> which has been done before in Scheme, or failing that, something people
> would
Peter Bex scripsit:
> Perhaps you (or someone else on the list?) can think of a better name
> that can be prefixed, to remove all confusion? Ideally it'd be something
> which has been done before in Scheme, or failing that, something people
> would have absolutely no preconceptions about.
"clone-
On Mon, Aug 25, 2008 at 05:04:50PM -0300, Alonso Andres wrote:
> Hi Peter, it works perfectly now, thanks!
>
> I'd also like to suggest changing the procedure -copy to
> copy-, since the former seems like we're dealing with a field
> called "copy" (because the convention of creating procedures lik
On Mon, Aug 25, 2008 at 3:53 PM, Peter Bex <[EMAIL PROTECTED]> wrote:
>
> This was a silly mistake of mine (empty list is eq? to an empty list, but
> a list with anything in it creates a new unique cons cell, which is what
> that code should have done). Thanks for catching it! It's been
> fixed an
Matt Welland wrote:
the tactic of loading lots of data into a hierarchy of hash arrays
and then extracting the needed pieces in a myriad of ways, sometimes
on the fly in a meeting with management nervously looking on :-) has
been tremendously useful for me. I for one am hoping that there are
On Mon, Aug 25, 2008 at 03:29:30PM -0300, Alonso Andres wrote:
> Hello,
>
> it seems that defstruct on a copy or set! operation doesn't let you
> set the value of a field to an empty list.
>
> Probably a fix for this would be iterating through the arguments list
> to know which keys weren't reall
Hello,
it seems that defstruct on a copy or set! operation doesn't let you
set the value of a field to an empty list. For instance, test the
following code:
(use defstruct)
(defstruct test a b)
(define t1 (make-test a: '(1 2 3) b: '(4 5 6)))
(define t2 (test-copy t1 a: '()))
Alan Post wrote:
(define-macro (char->number ch)
`(- (char->integer ,ch)
(char->integer #\0)))
(define-macro (0= n)
`(= 0 ,n))
(define-macro (begin0 form . forms)
(let ((var (gensym)))
`(let ((,var ,form)) ,@forms ,var)))
If |define-macro| is no longer around, how would the above fo
Alan Post scripsit:
> I've been watching the progress on the hygenic branch, but I haven't
> been worried about porting code until now. I tend to use macros
> here and there, but almost always in very simple #define-like uses:
>
> (define-macro (char->number ch)
> `(- (char->integer ,ch)
>
On Mon, Aug 25, 2008 at 11:38:53AM +0200, felix winkelmann wrote:
> Hello!
>
>
> I have added a page to the wiki listing the current status
> of eggs which are or have to be ported to the new hygienic
> chicken. Before Chicken 4 can be released, and this version
> can become the official one, a l
On Mon, 25 Aug 2008 14:55:16 +0200 Peter Bex <[EMAIL PROTECTED]> wrote:
> On Mon, Aug 25, 2008 at 09:47:18AM -0300, Mario Domenech Goulart wrote:
> >
> > Is it possible with chicken 4 to generate toplevel (or module-level)
> > definitions from a macro (explicit renaming)?
> >
> > I mean, I'd lik
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 in tim
i got almost the same time as with my previous (incorrect) method by using a
single hash table and an alist instead of a hash for the inner structure.
memory usage isnt so good though. :(
using a sparse multiple-alist structure seems to work nicely in small space
and good time. i can post th
On Mon, Aug 25, 2008 at 12:51 PM, Ivan Raikov <[EMAIL PROTECTED]> wrote:
>
> Would it be easy to create a SWIG module for the hygienic Chicken? I
> would like to start with porting endian-port, but I don't want to
> invest the time to restructure it to using the Chicken FFI directly.
It should be
On Mon, Aug 25, 2008 at 09:47:18AM -0300, Mario Domenech Goulart wrote:
> Hi folks.
>
> Is it possible with chicken 4 to generate toplevel (or module-level)
> definitions from a macro (explicit renaming)?
>
> I mean, I'd like something like:
>
> (module gen-things *
>
> (define-syntax g
Hi folks.
Is it possible with chicken 4 to generate toplevel (or module-level)
definitions from a macro (explicit renaming)?
I mean, I'd like something like:
(module gen-things *
(define-syntax gen-thing
(lambda (thing)
`(define ,thing (lambda () (display "hello")
Would it be easy to create a SWIG module for the hygienic Chicken? I
would like to start with porting endian-port, but I don't want to
invest the time to restructure it to using the Chicken FFI directly.
Also, I would prefer if the eggdoc documentation option is
reinstated, and if future swe
On Mon, Aug 25, 2008 at 11:38:53AM +0200, felix winkelmann wrote:
> Hello!
>
> Please contact me (or this list), if you need help or
> advice in the porting step.
One important note: When porting an egg, please take some time
to reconsider the names an egg exports. Prefixes like foo:bar
should a
On Mon, Aug 25, 2008 at 11:38:53AM +0200, felix winkelmann wrote:
> Please contact me (or this list), if you need help or
> advice in the porting step. Note that this is also a
> convenient moment to get rid of obsolete extensions,
> or stuff that doesn't have a maintainer anymore.
I'd like to str
On 25/08 11:38:53, felix winkelmann wrote:
> I have added a page to the wiki listing the current status
> of eggs which are or have to be ported to the new hygienic
[ snip ]
> See
>
> http://chicken.wiki.br/hygeinic-egg-port-a-mania
^^
http://chicken.wiki.br/hygienic-eg
Hello!
I have added a page to the wiki listing the current status
of eggs which are or have to be ported to the new hygienic
chicken. Before Chicken 4 can be released, and this version
can become the official one, a large part of the eggs should
be ported and available in the release/4 branch.
I
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 in time (surprisingly), use
(define a
(alist->ha
32 matches
Mail list logo