WDL has logic to parse the AD clamp logic in the format
SLOT 5 AD {
CLAMP 1 = 0.0;
}
for example. But not in the form
SLOT5 AD {
CLAMP1 = 0.0;
}
which would be the natural way to write it if you had only read the archon manual cover to cover and not the entirety of the wdl source code. The error message emitted is "unknown token" because it reads CLAMP1 as the token which isn't in the big switch statement in wdlParser.py.
Would be more ergonomic (and make no difference to generation) to accept both of these forms.
WDL has logic to parse the AD clamp logic in the format
SLOT 5 AD {
CLAMP 1 = 0.0;
}
for example. But not in the form
SLOT5 AD {
CLAMP1 = 0.0;
}
which would be the natural way to write it if you had only read the archon manual cover to cover and not the entirety of the wdl source code. The error message emitted is "unknown token" because it reads CLAMP1 as the token which isn't in the big switch statement in wdlParser.py.
Would be more ergonomic (and make no difference to generation) to accept both of these forms.