This is the mail archive of the guile@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]

Guile project submissions draft


Greg Harvey writes:

 > This is a hastily jotted format for the email submission format.
 > Ideas, advice, and opinions appreciated (let's try to keep it at
 > least pg-13, though ;')

hey, you [CENSORED-ADJECTIVE] [CENSORED-DIMINUATIVE]
[CENSORED-PERJORATIVE]!  ;-)

why invent a blecherous new config language when you can just come up w/
a blecherous new API?  then people can write code to edit their entries,
and you just need to review the code (for security or whatever) before
evaling.

as a user, i would like to send you stuff like:

(define-project thud "ttn" "***PASSWD***")
(with-project thud
  (for-each (lambda (ent)
	      (set-project-property! (car ent) (cdr ent)))
	    '((%version . "0.1")
	      (%location . "http://somewhere/someplace")
	      (%status . "still-on-the-tree"))))

to start, and then updates along the lines of:

(with-project thud
  (set-project-property! '%version
			 (version-increment (get-project-property %version)))
  (set-project-property! '%news
			 (string-append
			  "1999/03/10 06:01:01 now runs on ethanol\n"
			  (get-project-property %news))))

this is more schemely as well.  basically, i think the suggested
properties are fine, as is the general notion of regularity in format.
however, restricting editing expressiveness to the putative subset is
irksome.

(but then, i am cranky and need sleep... :)

thi