Re: disappearing configuration items in unlang
Hugh Messenger wrote:
> It would be very nice, and very intuitive. How hard would it be to just
> provide that one simple construct ("if <config item related condition> {}")
> during parsing of the startup config?
Extremely difficult, unfortunately. The problem is that the config
assignments are static: "foo = bar". The variable "foo" in a module
gets given value "bar". Changing that to *dynamic* variables means that
every single assignment has to be wrapped with "process language stuff".
That's hard.
> No need for the whole of unlang.
> More of an 'ifdef' style pre-processing directive than an integrated part of
> the language.
It's much easier to integrate everything, honestly.
Alan DeKok.
This archive was generated by a fusion of
Pipermail (Mailman edition) and
MHonArc.