[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ttn-pers-scheme 0.36 available
From: |
Thien-Thi Nguyen |
Subject: |
ttn-pers-scheme 0.36 available |
Date: |
Sat, 03 Jul 2004 13:19:00 +0200 |
README excerpt:
This directory contains ttn's personal scheme library, a
collection of Guile Scheme code and intervening text (-; and a
maintenance methodology).
NEWS excerpt:
- 0.36 | 2004-07-02
- Change to (ttn personal-pgtable) proc: `all-defs'
This proc now understands the two-form format of the meta file,
where the first form is a list of (KEYWORD EXPANSION) specs, and
the second form is the database table-spec alist, as before.
For example, before the change -- one form:
(("mydb" ("table1" (a text "NOT NULL" "UNIQUE")
(b text "NOT NULL" "UNIQUE"))
("t2" (a text "NOT NULL" "REFERENCES table1 (a)"
"MATCH FULL" "ON UPDATE CASCADE")
(a text "NOT NULL" "REFERENCES table1 (b)"
"MATCH FULL" "ON UPDATE CASCADE"))))
After the change -- two forms:
((#:nn "NOT NULL")
(#:u "UNIQUE")
(#:r "REFERENCES")
(#:mf "MATCH FULL")
(#:uc "ON UPDATE CASCADE"))
(("mydb" ("table1" (a text #:nn #:u)
(b text #:nn #:u))
("t2" (a text #:nn #:r "table1 (a)" #:mf #:uc)
(b text #:nn #:r "table1 (b)" #:mf #:uc))))
The table specs after the change are easier to read and less
prone to typing errors, especially in an environment that
fontifies Scheme keywords (like Emacs), than before the change.
cvs tag:
v-0-36-meglio-che-mosche
tarball, anoncvs instructions, online doc, and other files in dir:
http://www.glug.org/people/ttn/software/ttn-pers-scheme/
thi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- ttn-pers-scheme 0.36 available,
Thien-Thi Nguyen <=