This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Translators/parsing Python



roland.kaufmann@space.at writes:

> >>>>> "Lalo" == Lalo Martins <lalo@webcom.com> writes:
> 
>     Lalo> You're looking for ``alists''. info (r5rs)Pairs and lists
> 
> Unless you're trying to implement the slowest Python byte-code
> interpreter in the west, hash tables would be a better choice.  There
> is some documentation in the old guile reference manual.

Some time ago, Jay Glascoe implemented automatically resizing hash tables
for guile. I don't think they made it into CVS, but if you search the
archives of this mailing list you should find a pointer to them.

But don't sweat it. As long as you abstract your data structures nicely,
the implementation you use is immaterial for a first iteration. Don't let a
slow data structure keep you from doing it :)

David

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]