Пример #1
0
        // (d1 d2 -- d3)
        private int DPlusAction()
        {
            _interpreter.StackExpect(4);

            _interpreter.DFunction((a, b) => a + b);

            return(1);
        }
Пример #2
0
        // (d1 -- d2)
        private int DOnePlusAction()
        {
            _interpreter.StackExpect(2);

            _interpreter.DFunction((a) => ++ a);

            return(1);
        }