<commit_before>#include "interpreter.h"
#include <stdio.h>

void execute(struct AstElement* ast)
{
	printf("TODO: Execute...\n");
	if(ast->kind==ekStatements)
	{
		printf("statements\n");
	}
}
<commit_msg>Clean up interpreter<commit_after>#include "interpreter.h"
#include <stdio.h>

void interpret_statements(AstElement* ast)
{
		execute(ast->data.statements.thisStatement);
		execute(ast->data.statements.childStatements);
}
void interpret_print(AstElement* ast)
{
		printf("Print\n");
}
void interpret_conditional(AstElement* ast)
{
		printf("Conditional\n");
}
void interpret_assignment(AstElement* ast)
{
		printf("Assignment\n");
}

void execute(struct AstElement* ast)
{
	switch(ast->kind) 
	{
		case ekStatements: interpret_statements(ast); break;
		case ekPrint: interpret_print(ast); break;
		case ekAssignment: interpret_assignment(ast); break;
		case ekConditional: interpret_conditional(ast); break;
	}
}
{'fraction_non_alphanumeric': 0.14612868047982552, 'fraction_numerical': 0.0, 'mean_word_length': 6.463414634146342, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '1299025', 'n_tokens_mistral': 333, 'n_tokens_neox': 310, 'n_words': 56}