Instead of manually writing all quantities, the "type classes" of them and the QuantityKind enum, we now generate everything related to that from a single macro call. It's one more step towards a more general approach to define units systems.
The next step from here (as "outlined" in the updated 'thoughts' org file) is a declarative approach to the units themselves. This will save significantly more work than the quantity part.
[x] for units whose resulting quantity is effectively unit less (i.e. Angle and SolidAngle) would it be better to generate them as they were previously Angle* = UnitLess?
This is a further step towards #8.
Instead of manually writing all quantities, the "type classes" of them and the
QuantityKind
enum, we now generate everything related to that from a single macro call. It's one more step towards a more general approach to define units systems.The next step from here (as "outlined" in the updated 'thoughts' org file) is a declarative approach to the units themselves. This will save significantly more work than the quantity part.
Angle
andSolidAngle
) would it be better to generate them as they were previouslyAngle* = UnitLess
?