public void CompileBlocks()
{
IList<ExpressionResult> results = ExpressionResult.LoadExpressionResults("Blocks.txt");
foreach (var result in results)
{
ModelParser parser = new ModelParser(result.Text);
Block block = new Block();
BytecodeCompiler compiler = new BytecodeCompiler(block);
compiler.CompileExpression(parser.ParseBlock());
result.ValidateBlock(block);
}
}