<commit_before>#include "SilentHelper.h"
#include "SilentTokenizer.h"
#include "SilentParser.h"
#include <stdio.h>

char* silentCompile(char* path, char* output)
{
	char* rawSource = readAllText(path);//no AST
	int tokenCount;
	silentToken* tokens = silentTokenize(rawSource,&tokenCount);
	silentParseProgram(tokens,tokenCount);
}

//Testing
int main()
{<commit_msg>fixed crashing on windows<commit_after>#include "SilentHelper.h"
#include "SilentTokenizer.h"
#include "SilentParser.h"
#include <stdio.h>

char* silentCompile(char* path, char* output)
{
	char* rawSource = readAllText(path);//no AST
	int tokenCount = 0;
	silentToken* tokens = silentTokenize(rawSource,&tokenCount);
	silentParseProgram(tokens,tokenCount);
}

//Testing
int main()
{
{'fraction_non_alphanumeric': 0.13770053475935828, 'fraction_numerical': 0.001336898395721925, 'mean_word_length': 6.968085106382978, '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': '4022255', 'n_tokens_mistral': 268, 'n_tokens_neox': 259, 'n_words': 56}