<commit_before>package duro.reflang;

import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutput;
import java.io.ObjectOutputStream;

import duro.runtime.CustomProcess;

public class Main {
	public static void main(String[] args) {
		if(args.length < 2) {
			System.out.println("Please supply path of source code and then path (folder) to output journal to.");
			return;
		}
		
		String sourceCodePath = args[0];
		String objectCodePath = args[1];
		FileInputStream inputStream;
		try {
			inputStream = new FileInputStream(sourceCodePath);
			duro.reflang.Compiler compiler = new Compiler();
			CustomProcess process = compiler.compile(inputStream);
			
			if(compiler.hasErrors())
				compiler.printErrors();
			else {
				try (ObjectOutput oo = new ObjectOutputStream(new FileOutputStream(objectCodePath))) {
			        oo.writeObject(process);
			    }
				
				System.out.println("Compiled '" + sourceCodePath + "' into '" + objectCodePath + "'.");
			}
		} catch (IOException e) {
			System.out.println("Compilation failed.");
			e.printStackTrace();
		}
	}
}<commit_msg>Corrected feedback message on missing arguments in frontend driver.<commit_after>package duro.reflang;

import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutput;
import java.io.ObjectOutputStream;

import duro.runtime.CustomProcess;

public class Main {
	public static void main(String[] args) {
		if(args.length < 2) {
			System.out.println("Please supply path of source code and then path to output object code to.");
			return;
		}
		
		String sourceCodePath = args[0];
		String objectCodePath = args[1];
		FileInputStream inputStream;
		try {
			inputStream = new FileInputStream(sourceCodePath);
			duro.reflang.Compiler compiler = new Compiler();
			CustomProcess process = compiler.compile(inputStream);
			
			if(compiler.hasErrors())
				compiler.printErrors();
			else {
				try (ObjectOutput oo = new ObjectOutputStream(new FileOutputStream(objectCodePath))) {
			        oo.writeObject(process);
			    }
				
				System.out.println("Compiled '" + sourceCodePath + "' into '" + objectCodePath + "'.");
			}
		} catch (IOException e) {
			System.out.println("Compilation failed.");
			e.printStackTrace();
		}
	}
}
{'fraction_non_alphanumeric': 0.11464147702876772, 'fraction_numerical': 0.0025762129669386004, 'mean_word_length': 3.9786324786324787, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4649620', 'n_tokens_mistral': 772, 'n_tokens_neox': 659, 'n_words': 164}