Jim Ursetto | 1 Dec 2009 09:03
Picon

chicken-doc

Hi there,

I've uploaded two new eggs, chicken-doc and chicken-doc-admin, into
the Chicken 4 egg repository.

chicken-doc allows you to explore Chicken manual and egg documentation
from the command-line and the REPL.  Documentation is generated from a
checkout of the wiki, and is stored locally.

To try it out, you will need to install the chicken-doc and
chicken-doc-admin eggs.  Then generate a new database by following the
Quick start in http://chicken.wiki.br/eggref/4/chicken-doc-admin.
Finally, read http://chicken.wiki.br/eggref/4/chicken-doc to learn how
to use chicken-doc.

Jim
Stephen Eilert | 1 Dec 2009 15:28
Picon
Gravatar

Re: chicken-doc


This is awesome! :)

I can already envision Emacs integration...


--Stephen

programmer, n:
       A red eyed, mumbling mammal capable of conversing with inanimate monsters.


On Tue, Dec 1, 2009 at 5:03 AM, Jim Ursetto <zbigniewsz <at> gmail.com> wrote:
Hi there,

I've uploaded two new eggs, chicken-doc and chicken-doc-admin, into
the Chicken 4 egg repository.

chicken-doc allows you to explore Chicken manual and egg documentation
from the command-line and the REPL.  Documentation is generated from a
checkout of the wiki, and is stored locally.

To try it out, you will need to install the chicken-doc and
chicken-doc-admin eggs.  Then generate a new database by following the
Quick start in http://chicken.wiki.br/eggref/4/chicken-doc-admin.
Finally, read http://chicken.wiki.br/eggref/4/chicken-doc to learn how
to use chicken-doc.

Jim


_______________________________________________
Chicken-users mailing list
Chicken-users <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

_______________________________________________
Chicken-users mailing list
Chicken-users <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
Nicholas "Indy" Ray | 1 Dec 2009 18:12
Picon

Re: Qt egg

I was under the impression that the QT egg was more a demo, then an
egg ment to be practical, and hence was *finished*.

I myself would like QT bindings. Considering such I decided I'd start
writing some myself; My approach was two fold, first to generate a set
of macros that would generate proper bindings given S-expression that
declare the QT layout. Then, I was building a gcc plugin that will
generate those declarations by compiling the QT code base.

If you'd like to see the code it is here: http://github.com/Arelius/chicken-qt

Currently the generator macros are mostly complete, I need to add
support for receiving messages in scheme code. After that, I still
need to do the declarations, but It's pretty simple to add a few of
your own to get the functionality required.

While the code is in egg form, It isn't actually ment for general
consumption yet, If you are interested in trying it out, I can give
you an overview of how to use it.

Indy

2009/11/29 Arthur Maciel <arthurmaciel <at> gmail.com>:
> Hi!
>
> Felix, I would like to know which is your plan to support the various Qt
> functionalities (PDF, database, networking). You say on the wiki that it is
> going to be incomplete to be lightweight. If you could point what you intend
> to implement and what not I would really appreciate.
>
> Thanks,
> Arthur
>
> PS.: Unfortunately, I don't feel myself skilled enough to help extending it.
> I hope I can be in the near future.
>
> _______________________________________________
> Chicken-users mailing list
> Chicken-users <at> nongnu.org
> http://lists.nongnu.org/mailman/listinfo/chicken-users
>
>
Arthur Maciel | 1 Dec 2009 22:48
Picon

Re: Qt egg

Hi therer, Nicholas. I really didn't think QT egg was a demo.  As I'm kind of new to Scheme, could you give me an example with working code using your egg, please?

I would like to see how would it be to use your bindings.

Really thanks!
Arthur

2009/12/1 Nicholas "Indy" Ray <arelius <at> gmail.com>
I was under the impression that the QT egg was more a demo, then an
egg ment to be practical, and hence was *finished*.

I myself would like QT bindings. Considering such I decided I'd start
writing some myself; My approach was two fold, first to generate a set
of macros that would generate proper bindings given S-expression that
declare the QT layout. Then, I was building a gcc plugin that will
generate those declarations by compiling the QT code base.

If you'd like to see the code it is here: http://github.com/Arelius/chicken-qt

Currently the generator macros are mostly complete, I need to add
support for receiving messages in scheme code. After that, I still
need to do the declarations, but It's pretty simple to add a few of
your own to get the functionality required.

While the code is in egg form, It isn't actually ment for general
consumption yet, If you are interested in trying it out, I can give
you an overview of how to use it.

Indy

2009/11/29 Arthur Maciel <arthurmaciel <at> gmail.com>:
> Hi!
>
> Felix, I would like to know which is your plan to support the various Qt
> functionalities (PDF, database, networking). You say on the wiki that it is
> going to be incomplete to be lightweight. If you could point what you intend
> to implement and what not I would really appreciate.
>
> Thanks,
> Arthur
>
> PS.: Unfortunately, I don't feel myself skilled enough to help extending it.
> I hope I can be in the near future.
>
> _______________________________________________
> Chicken-users mailing list
> Chicken-users <at> nongnu.org
> http://lists.nongnu.org/mailman/listinfo/chicken-users
>
>

_______________________________________________
Chicken-users mailing list
Chicken-users <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
Lam Luu | 2 Dec 2009 03:47
Picon

Set data structure


Hello everyone,

Currently, I need to have a data structure that implement set (unordered
list, in other words). As of know, it seems that there is no egg or
anything like that implement this, but I just want to make sure.

Do you know of any egg or unit implementing set?

Thank you very much,
Lam Luu
Kon Lovett | 2 Dec 2009 03:57

Re: Set data structure


On Dec 1, 2009, at 6:47 PM, Lam Luu wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello everyone,
>
> Currently, I need to have a data structure that implement set  
> (unordered
> list, in other words). As of know, it seems that there is no egg or
> anything like that implement this, but I just want to make sure.
>
> Do you know of any egg or unit implementing set?

See http://srfi.schemers.org/srfi-1/srfi-1.html#SetOperationsOnLists  
which is part of Chicken.

>
> Thank you very much,
> Lam Luu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAksV1UAACgkQwnXdyzbwLCXahACgtxBbEbHX9LsXWSGUY8o3FB07
> Eo4AnRTicusThut40D+/cxDX/hdXCJtl
> =7Uq6
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Chicken-users mailing list
> Chicken-users <at> nongnu.org
> http://lists.nongnu.org/mailman/listinfo/chicken-users

Best Wishes,
Kon
Lam Luu | 2 Dec 2009 06:03
Picon

Re: Set data structure

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Well, that's is set in list, which is horribly slow (O(n) IS very
slow, for most intends and purposes). I guess my question something
like, is there any implementation of set in chicken that is at least
O(log n), aka using binary search tree of some sort?

Thank you for your link though, Kon,

Lam

On 12/01/2009 08:57 PM, Kon Lovett wrote:
>
> On Dec 1, 2009, at 6:47 PM, Lam Luu wrote:
>
> Hello everyone,
>
> Currently, I need to have a data structure that implement set
> (unordered list, in other words). As of know, it seems that there
> is no egg or anything like that implement this, but I just want to
> make sure.
>
> Do you know of any egg or unit implementing set?
>
>> See
> http://srfi.schemers.org/srfi-1/srfi-1.html#SetOperationsOnLists
> which is part of Chicken.
>
>
> Thank you very much, Lam Luu
>>
>>

_______________________________________________
Chicken-users mailing list
Chicken-users <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

> Best Wishes, Kon



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAksV9QQACgkQwnXdyzbwLCX4jwCfalb1l6IWAdqaFSf/O/Bkzf11
RVcAmgP97cKOa7p+CkpwTmQOhz2NNj2D
=5zNr
-----END PGP SIGNATURE-----

_______________________________________________
Chicken-users mailing list
Chicken-users <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
Alex Shinn | 2 Dec 2009 06:16
Picon

Re: Set data structure

Lam Luu <luuxuanlam <at> gmail.com> writes:

> Well, that's is set in list, which is horribly slow (O(n) IS very
> slow, for most intends and purposes). I guess my question something
> like, is there any implementation of set in chicken that is at least
> O(log n), aka using binary search tree of some sort?

For integer sets there's the iset egg, which is highly
optimized.  For other data types you can just use a
hash-table.

--

-- 
Alex
John Cowan | 2 Dec 2009 07:39

Re: Set data structure

Alex Shinn scripsit:

> For integer sets there's the iset egg, which is highly
> optimized.  For other data types you can just use a
> hash-table.

I had understood that Chicken's hash tables were not competitive for
speed unless you have at least 100 keys or so.  Is that still true?

--

-- 
If you have ever wondered if you are in hell,         John Cowan
it has been said, then you are on a well-traveled     http://www.ccil.org/~cowan
road of spiritual inquiry.  If you are absolutely     cowan <at> ccil.org
sure you are in hell, however, then you must be
on the Cross Bronx Expressway.          --Alan Feuer, NYTimes, 2002-09-20
Mario Domenech Goulart | 2 Dec 2009 13:34
Picon

Re: Qt egg

Hi

On Tue, 1 Dec 2009 09:12:38 -0800 "Nicholas \"Indy\" Ray" <arelius <at> gmail.com> wrote:

> I was under the impression that the QT egg was more a demo, then an
> egg ment to be practical, and hence was *finished*.

I'm not a Qt expert, but my impression is that when the documentation
for the Qt egg says it's supposed to be incomplete, one of the meanings
is that the egg tends to focus on the Qt features NOT provided by
chicken and any other egg.  A bunch of Qt features are provided by
chicken itself or eggs, so, there's no reason to make bindings for those
features.

Best wishes.
Mario

Gmane