Suppose I have a grammar like this:
<metric name> <numerical value> <unit>
Distance 45.6 ft.
When I add the various metrics I know what units are valid for each. I think I can do this with a different tripple for each metric. However, suppose I wanted to do this with a CustomTerminal that looked up the current metric and chose the appropriate subset
of units. What would that look like?