We can generate enums and its string representations using scripts like [this in ChaiVM](https://github.com/Tea-club/ChaiVM/blob/master/tools/opcode2operation-generator.py).
We can generate enums and its string representations using scripts like this in ChaiVM.