<commit_before>/**
    Opcode.h
    Auto-generated code - do not modify.
    thinglang C++ transpiler, 0.0.0
**/


#pragma once

#include <string>



enum class Opcode {
    PUSH_MEMBER = 4,
    POP_MEMBER = 8,
    POP_DEREFERENCED = 9,
    CALL = 14,
    CALL_INTERNAL = 15,
    PUSH_LOCAL = 3,
    POP_LOCAL = 7,
    ASSIGN_STATIC = 11,
    ASSIGN_LOCAL = 12,
    INVALID = 0,
    PASS = 1,
    PUSH_NULL = 2,
    PUSH_STATIC = 5,
    POP = 6,
    ARG_COPY = 10,
    DEREFERENCE = 13,
    RETURN = 16,
    THROW = 17,
    INSTANTIATE = 18,
    JUMP_CONDITIONAL = 20,
    JUMP = 19,
    HANDLER_DESCRIPTION = 21,
    HANDLER_RANGE_DEFINITION = 22,
    SENTINEL_THING_DEFINITION = 23,
    SENTINEL_METHOD_DEFINITION = 24,
    SENTINEL_METHOD_END = 25,
    SENTINEL_CODE_END = 26,
    SENTINEL_DATA_END = 27
};


inline auto describe(Opcode val){
    switch (val){
        
        case Opcode::PUSH_MEMBER:
            return "PUSH_MEMBER";

        case Opcode::POP_MEMBER:
            return "POP_MEMBER";

        case Opcode::POP_DEREFERENCED:
            return "POP_DEREFERENCED";

        case Opcode::CALL:
            return "CALL";

        case Opcode::CALL_INTERNAL:
            return "CALL_INTERNAL";

        case Opcode::PUSH_LOCAL:
            return "PUSH_LOCAL";

        case Opcode::POP_LOCAL:
            return "POP_LOCAL";

        case Opcode::ASSIGN_STATIC:
            return "ASSIGN_STATIC";

        case Opcode::ASSIGN_LOCAL:
            return "ASSIGN_LOCAL";

        case Opcode::INVALID:
            return "INVALID";

        case Opcode::PASS:
            return "PASS";

        case Opcode::PUSH_NULL:
            return "PUSH_NULL";

        case Opcode::PUSH_STATIC:
            return "PUSH_STATIC";

        case Opcode::POP:
            return "POP";

        case Opcode::ARG_COPY:
            return "ARG_COPY";

        case Opcode::DEREFERENCE:
            return "DEREFERENCE";

        case Opcode::RETURN:
            return "RETURN";

        case Opcode::THROW:
            return "THROW";

        case Opcode::INSTANTIATE:
            return "INSTANTIATE";

        case Opcode::JUMP_CONDITIONAL:
            return "JUMP_CONDITIONAL";

        case Opcode::JUMP:
            return "JUMP";

        case Opcode::HANDLER_DESCRIPTION:
            return "HANDLER_DESCRIPTION";

        case Opcode::HANDLER_RANGE_DEFINITION:
            return "HANDLER_RANGE_DEFINITION";

        case Opcode::SENTINEL_THING_DEFINITION:
            return "SENTINEL_THING_DEFINITION";

        case Opcode::SENTINEL_METHOD_DEFINITION:
            return "SENTINEL_METHOD_DEFINITION";

        case Opcode::SENTINEL_METHOD_END:
            return "SENTINEL_METHOD_END";

        case Opcode::SENTINEL_CODE_END:
            return "SENTINEL_CODE_END";

        case Opcode::SENTINEL_DATA_END:
            return "SENTINEL_DATA_END";
    }
}

inline auto arg_count(Opcode val){
    switch (val){
        
        case Opcode::PUSH_MEMBER:
            return 2;

        case Opcode::POP_MEMBER:
            return 2;

        case Opcode::POP_DEREFERENCED:
            return 1;

        case Opcode::CALL:
            return 2;

        case Opcode::CALL_INTERNAL:
            return 2;

        case Opcode::PUSH_LOCAL:
            return 1;

        case Opcode::POP_LOCAL:
            return 1;

        case Opcode::ASSIGN_STATIC:
            return 2;

        case Opcode::ASSIGN_LOCAL:
            return 2;

        case Opcode::INVALID:
            return 0;

        case Opcode::PASS:
            return 0;

        case Opcode::PUSH_NULL:
            return 0;

        case Opcode::PUSH_STATIC:
            return 1;

        case Opcode::POP:
            return 0;

        case Opcode::ARG_COPY:
            return 1;

        case Opcode::DEREFERENCE:
            return 1;

        case Opcode::RETURN:
            return 0;

        case Opcode::THROW:
            return 1;

        case Opcode::INSTANTIATE:
            return 2;

        case Opcode::JUMP_CONDITIONAL:
            return 1;

        case Opcode::JUMP:
            return 1;

        case Opcode::HANDLER_DESCRIPTION:
            return 2;

        case Opcode::HANDLER_RANGE_DEFINITION:
            return 2;

        case Opcode::SENTINEL_THING_DEFINITION:
            return 2;

        case Opcode::SENTINEL_METHOD_DEFINITION:
            return 2;

        case Opcode::SENTINEL_METHOD_END:
            return 0;

        case Opcode::SENTINEL_CODE_END:
            return 0;

        case Opcode::SENTINEL_DATA_END:
            return 0;
    }
}
<commit_msg>Update generated code<commit_after>/**
    Opcode.h
    Auto-generated code - do not modify.
    thinglang C++ transpiler, 0.0.0
**/


#pragma once

#include <string>



enum class Opcode {
    PUSH_MEMBER = 4,
    POP_MEMBER = 10,
    POP_DEREFERENCED = 11,
    CALL = 16,
    CALL_INTERNAL = 17,
    PUSH_LOCAL = 3,
    POP_LOCAL = 9,
    ASSIGN_STATIC = 13,
    ASSIGN_LOCAL = 14,
    INVALID = 0,
    PASS = 1,
    PUSH_NULL = 2,
    PUSH_STATIC = 5,
    PUSH_INDEX = 6,
    PUSH_INDEX_IMMEDIATE = 7,
    POP = 8,
    ARG_COPY = 12,
    DEREFERENCE = 15,
    RETURN = 18,
    THROW = 19,
    INSTANTIATE = 20,
    JUMP_CONDITIONAL = 22,
    JUMP = 21,
    HANDLER_DESCRIPTION = 23,
    HANDLER_RANGE_DEFINITION = 24,
    SENTINEL_THING_DEFINITION = 25,
    SENTINEL_METHOD_DEFINITION = 26,
    SENTINEL_METHOD_END = 27,
    SENTINEL_CODE_END = 28,
    SENTINEL_DATA_END = 29
};


inline auto describe(Opcode val){
    switch (val){
        
        case Opcode::PUSH_MEMBER:
            return "PUSH_MEMBER";

        case Opcode::POP_MEMBER:
            return "POP_MEMBER";

        case Opcode::POP_DEREFERENCED:
            return "POP_DEREFERENCED";

        case Opcode::CALL:
            return "CALL";

        case Opcode::CALL_INTERNAL:
            return "CALL_INTERNAL";

        case Opcode::PUSH_LOCAL:
            return "PUSH_LOCAL";

        case Opcode::POP_LOCAL:
            return "POP_LOCAL";

        case Opcode::ASSIGN_STATIC:
            return "ASSIGN_STATIC";

        case Opcode::ASSIGN_LOCAL:
            return "ASSIGN_LOCAL";

        case Opcode::INVALID:
            return "INVALID";

        case Opcode::PASS:
            return "PASS";

        case Opcode::PUSH_NULL:
            return "PUSH_NULL";

        case Opcode::PUSH_STATIC:
            return "PUSH_STATIC";

        case Opcode::PUSH_INDEX:
            return "PUSH_INDEX";

        case Opcode::PUSH_INDEX_IMMEDIATE:
            return "PUSH_INDEX_IMMEDIATE";

        case Opcode::POP:
            return "POP";

        case Opcode::ARG_COPY:
            return "ARG_COPY";

        case Opcode::DEREFERENCE:
            return "DEREFERENCE";

        case Opcode::RETURN:
            return "RETURN";

        case Opcode::THROW:
            return "THROW";

        case Opcode::INSTANTIATE:
            return "INSTANTIATE";

        case Opcode::JUMP_CONDITIONAL:
            return "JUMP_CONDITIONAL";

        case Opcode::JUMP:
            return "JUMP";

        case Opcode::HANDLER_DESCRIPTION:
            return "HANDLER_DESCRIPTION";

        case Opcode::HANDLER_RANGE_DEFINITION:
            return "HANDLER_RANGE_DEFINITION";

        case Opcode::SENTINEL_THING_DEFINITION:
            return "SENTINEL_THING_DEFINITION";

        case Opcode::SENTINEL_METHOD_DEFINITION:
            return "SENTINEL_METHOD_DEFINITION";

        case Opcode::SENTINEL_METHOD_END:
            return "SENTINEL_METHOD_END";

        case Opcode::SENTINEL_CODE_END:
            return "SENTINEL_CODE_END";

        case Opcode::SENTINEL_DATA_END:
            return "SENTINEL_DATA_END";
    }
}

inline auto arg_count(Opcode val){
    switch (val){
        
        case Opcode::PUSH_MEMBER:
            return 2;

        case Opcode::POP_MEMBER:
            return 2;

        case Opcode::POP_DEREFERENCED:
            return 1;

        case Opcode::CALL:
            return 2;

        case Opcode::CALL_INTERNAL:
            return 2;

        case Opcode::PUSH_LOCAL:
            return 1;

        case Opcode::POP_LOCAL:
            return 1;

        case Opcode::ASSIGN_STATIC:
            return 2;

        case Opcode::ASSIGN_LOCAL:
            return 2;

        case Opcode::INVALID:
            return 0;

        case Opcode::PASS:
            return 0;

        case Opcode::PUSH_NULL:
            return 0;

        case Opcode::PUSH_STATIC:
            return 1;

        case Opcode::PUSH_INDEX:
            return 0;

        case Opcode::PUSH_INDEX_IMMEDIATE:
            return 1;

        case Opcode::POP:
            return 0;

        case Opcode::ARG_COPY:
            return 1;

        case Opcode::DEREFERENCE:
            return 1;

        case Opcode::RETURN:
            return 0;

        case Opcode::THROW:
            return 1;

        case Opcode::INSTANTIATE:
            return 2;

        case Opcode::JUMP_CONDITIONAL:
            return 1;

        case Opcode::JUMP:
            return 1;

        case Opcode::HANDLER_DESCRIPTION:
            return 2;

        case Opcode::HANDLER_RANGE_DEFINITION:
            return 2;

        case Opcode::SENTINEL_THING_DEFINITION:
            return 2;

        case Opcode::SENTINEL_METHOD_DEFINITION:
            return 2;

        case Opcode::SENTINEL_METHOD_END:
            return 0;

        case Opcode::SENTINEL_CODE_END:
            return 0;

        case Opcode::SENTINEL_DATA_END:
            return 0;
    }
}

{'fraction_non_alphanumeric': 0.08161548169962138, 'fraction_numerical': 0.016827934371055953, 'mean_word_length': 1.7114342743085258, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6255412', 'n_tokens_mistral': 3353, 'n_tokens_neox': 3010, 'n_words': 642}