예제 #1
0
파일: analyzer.py 프로젝트: EvelynHf/basil
 def c(predicateVal):
     if expressions.isTrue(predicateVal):
         return pogo.bounce(analyzedConsequent, env, cont)
     else:
         return pogo.bounce(analyzedAlternative, env, cont)
예제 #2
0
파일: evaluator.py 프로젝트: EvelynHf/basil
 def c(predicate_val):
     if expressions.isTrue(predicate_val):
         return teval(expressions.ifConsequent(exp), env, cont)
     else:
         return teval(expressions.ifAlternative(exp), env, cont)
예제 #3
0
 def c(predicate_val):
     if expressions.isTrue(predicate_val):
         return teval(expressions.ifConsequent(exp), env, cont)
     else:
         return teval(expressions.ifAlternative(exp), env, cont)