On Thu 05 Aug 2010 10:15, Romel Sandoval <[email protected]> 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.

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

Andy
-- 
http://wingolog.org/

Reply via email to