I have complex requirements for configuration files.
I'm thinking about using Lisp as a configuration language.
I have written a longish proposal (7k) discussing my
idea. Some questions (3 of them) are at the end of the
story).
http://www.angelfire.com/punk/storyofq/storyofq.html
I have set up a webpage on angelfire because I think
7k is too much for usenet. And I can use <h3>,
<em> and <PRE>!
You don't need to reply here, email is welcome.
···········@gmail.com
I have used XML, YAML, key=value, python and .ini-files
for configs in the past, but I think Lisp would serve *everybody*
better than those. Even if my proposal sucks at some
point, I think the overall direction is sound.
What do you think?
Kind regards
Tin
Frank Buss wrote:
> Tin Gherdanarra wrote:
>
>
>>http://www.angelfire.com/punk/storyofq/storyofq.html
>
>
> | rplaca blows up the stack if I do the following
>
> CL-USER > (setf *print-circle* t)
> T
Aha! If that's all there is to it... Thanks! Amazing!
>
> CL-USER > (defparameter mydict '((a 1) (b 2) (c 3) (__parent__ nil)))
> MYDICT
>
> CL-USER > (rplaca (cdr (assoc '__parent__ mydict)) mydict)
> #1=(((A 1) (B 2) (C 3) (__PARENT__ . #1#)))
>
Tip of the propellor hat
Tin