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

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