<commit_before>package edu.rosehulman.minijavac;

import edu.rosehulman.minijavac.ast.Program;
import edu.rosehulman.minijavac.generated.Lexer;
import edu.rosehulman.minijavac.generated.Parser;

import java.io.FileReader;

public class Main {
    public static void main(String args[]) throws Exception {
        Parser parser = new Parser(new Lexer(new FileReader("src/test/resources/parser/java/testcase00_09.java")));
        Program program = parser.parseProgram();
        System.out.println(parser.getParseLog());
        System.out.println(program);
    }
}<commit_msg>Created TypeChecker executable.<commit_after>package edu.rosehulman.minijavac;

import edu.rosehulman.minijavac.ast.Program;
import edu.rosehulman.minijavac.generated.Lexer;
import edu.rosehulman.minijavac.generated.Parser;
import edu.rosehulman.minijavac.typechecker.TypeChecker;

import java.io.FileReader;

public class Main {
    public static void main(String args[]) throws Exception {
        Parser parser = new Parser(new Lexer(new FileReader(args[0])));
        Program program = parser.parseProgram();
        TypeChecker typechecker = new TypeChecker();
        typechecker.isValid(program);
        System.out.println(typechecker.getTypeCheckerLog());
    }
}
{'fraction_non_alphanumeric': 0.10817307692307693, 'fraction_numerical': 0.004006410256410256, 'mean_word_length': 4.430434782608696, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2133991', 'n_tokens_mistral': 402, 'n_tokens_neox': 401, 'n_words': 70}