[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua as a configuration language -- validation
- From: "szbnwer@..." <szbnwer@...>
- Date: Thu, 22 Aug 2019 14:37:13 +0000
hi there! :)
u can use something like `read(root, path)` (as well as similarly
`write()` and `delete()`) that will give back either the wished result
or info about the last existing element; or a fallback mechanism that
will try to look up the same path from more than one root elements in
case of need; and its best if u make some freestanding value checker
functions. then combine these, and they are universal enough to use
them kinda much anywhere else...
all the bests! :)