Exemplo n.º 1
0
        public InstructionProgram(ExpressionProgram expressionProgram)
        {
            Expressions = expressionProgram.Expressions;
            Width       = expressionProgram.Width;
            Height      = expressionProgram.Height;

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