Example #1
0
        public OfWord(Environment env)
            : base("of", env)
        {
            OfBodyWord = new ControlFlowWord("of-body", env);

            PrimitiveExecuteAction = executeOf;
        }
Example #2
0
        public OfWord(Environment env)
            : base("of", env)
        {
            OfBodyWord = new ControlFlowWord("of-body", env);

            PrimitiveExecuteAction = executeOf;
        }
Example #3
0
        public IfElseThenWord(Environment env)
            : base("if", env)
        {
            TrueBranchWord  = new ControlFlowWord("branch", env);
            FalseBranchWord = new ControlFlowWord("branch", env);

            PrimitiveExecuteAction = executeBranch;
        }
        public IfElseThenWord(Environment env)
            : base("if", env)
        {
            TrueBranchWord = new ControlFlowWord("branch", env);
            FalseBranchWord = new ControlFlowWord("branch", env);

            PrimitiveExecuteAction = executeBranch;
        }
Example #5
0
 public BeginWhileRepeatWord(Environment env)
     : base("begin-while", env)
 {
     WhileTestWord = new ControlFlowWord("while", env);
 }
 public BeginWhileRepeatWord(Environment env)
     : base("begin-while", env)
 {
     WhileTestWord = new ControlFlowWord("while", env);
 }