Replace almost all enums with defines

    Keep extend_t enum
    Delete opcode_t enum
    Include Standards.h in codegen.cpp