tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: proplib and the jet age



Alexander Nasonov <alnsn%yandex.ru@localhost> writes:

> David Holland wrote:
>> Obviously you do what you need to do (for whatever reasons)... but do
>> keep in mind that in general, using Turing-complete languages for
>> configuration is a bad thing.
>
> Building a custom config language has it's drawbacks to. People do it
> very differently (e.g. dhcpcd.conf vs dhcpd.conf) and it takes some
> efforts to write a parser (and bugs may sneak into it too!).
>
> As a result, it has a high learning curve for both users who have to
> learn many different config languages and developers who have to learn
> parsing tools.
>
> It's not suprising that many prefer shell as a config language. I don't
> know if POSIX shell is Turing-complete

You can implement two stacks using two variables or two sets of variables, 
right?
Thus, it is Turing-complete.


-- 
HE CE3OH...



Home | Main Index | Thread Index | Old Index