public InstructionProgram(ExpressionProgram expressionProgram) { Expressions = expressionProgram.Expressions; Width = expressionProgram.Width; Height = expressionProgram.Height; Instructions = new Readonly2DArray <Instruction>(ParseExpressions()); }
public ExpressionProgram(char[,] expressions) { Expressions = new Readonly2DArray <char>(expressions); Width = expressions.GetLength(0); Height = expressions.GetLength(1); }