<commit_before>#include "parser.h"
#include "lexer.h"
#include "exception.h"
#include "ast_method.h"
#include "vm.h"
#include "assembler.h"
#include "disassembler.h"
#include <cstring>

#define GETOPT(S) get_option(argc,argv,S)
#define SETOUT(S) {if(!out)out=S;}

int get_option(int argc,char *argv[],const char *option)
{
    for(int i=2;i<argc;i++)if(argv[i][0]=='-'&&!strcmp(argv[i]+1,option))return i;
    return 0;
}

const char *tmpname()
{
    static char s[] = "XXXXXX";
    mkstemp(s);
    return s;
}
int main(int argc,char *argv[])
{
    char *in=argv[1];
    const char *out=NULL;
    if(CodeData::check(in))
    {
        out=in;
    }
    else
    {
        int opt;<commit_msg>add suage<commit_after>#include "parser.h"
#include "lexer.h"
#include "exception.h"
#include "ast_method.h"
#include "vm.h"
#include "assembler.h"
#include "disassembler.h"
#include <cstring>

#define GETOPT(S) get_option(argc,argv,S)
#define SETOUT(S) {if(!out)out=S;}

int get_option(int argc,char *argv[],const char *option)
{
    for(int i=2;i<argc;i++)if(argv[i][0]=='-'&&!strcmp(argv[i]+1,option))return i;
    return 0;
}

const char *tmpname()
{
    static char s[] = "XXXXXX";
    mkstemp(s);
    return s;
}
int main(int argc,char *argv[])
{
    if(argc==1)
    {
        printf("Usage: %s filename [options]\n",argv[0]);
        printf("\t -s compile script to assembly\n");
        printf("\t -x compile script to binary\n");
        printf("\t -c compile assembly to binary\n");
        printf("\t -o set output filename\n");
        return 0;
    }
    char *in=argv[1];
    const char *out=NULL;
    if(CodeData::check(in))
    {
        out=in;
    }
    else
    {
        int opt;
{'fraction_non_alphanumeric': 0.18805440567711412, 'fraction_numerical': 0.00768775872264932, 'mean_word_length': 3.372093023255814, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1010625', 'n_tokens_mistral': 666, 'n_tokens_neox': 672, 'n_words': 144}