guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Data Dictionary and Configuration Files with Guile Scheme


From: Romel Sandoval
Subject: Re: Data Dictionary and Configuration Files with Guile Scheme
Date: Wed, 18 Aug 2010 12:38:39 -0500

El mié, 18-08-2010 a las 09:05 -0700, Andy Wingo escribió:
> On Thu 05 Aug 2010 10:15, Romel Sandoval <address@hidden> writes:
> 
> > I'm trying to create a data dictionary [1] to generate code from it.
> [...]
> > This way I can write s-exp as in the example *projects-table* an after a
> > load I will have the data structure ready to work with it.
> 
> I think you are quite confused :) Use procedures, not macros. If you
> really want to use s-expressions, use alists and define accessor
> procedures, and be sure not to mutate literal values. You could use hash
> tables and records also. Or myriad other data structures. Read
> http://mitpress.mit.edu/sicp/, especially the chapters on data
> abstraction and state.

Now I see. Thanks.

> 
> But above all, don't take your data structure advice from anyone who
> mentions SQL :)

The problem it's that I haven't found any alternative to SQL :-( So I'm
trying to manage the problem.

SQL alternative?... Anyone?

Romel






reply via email to

[Prev in Thread] Current Thread [Next in Thread]