Re: Data Dictionary and Configuration Files with Guile Scheme

2010-08-05 Thread No Itisnt
I would use records instead of lists. I think you can also make the input much simpler, for instance it might look like this: (define-table projects (integer id primary-key) (string name non-null #:length 32)) On Thu, Aug 5, 2010 at 12:15 PM, Romel Sandoval wrote: > Hi, > > I'm trying to cr

Data Dictionary and Configuration Files with Guile Scheme

2010-08-05 Thread Romel Sandoval
Hi, I'm trying to create a data dictionary [1] to generate code from it. But since I'm a scheme newbie I was wondering if this is the best method: {{{ (define-syntax table (syntax-rules () ((table name ...) (list 'table name ... (define-syntax column (syntax-rules () ((c

thread safe functions

2010-08-05 Thread Cedric Cellier
Is there somewhere a list of guile functions that are (/are not) thread safe ? I ask since this morning I was after a strange bug because I was using the format module in two different thread, then learnt that these functions are not reentrant. I'm also interrested in the thread-safeness of gc-sta