Skip to content

Latest commit

 

History

History

ch04_arith

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Untyped Arithmetic Expressions

Syntax

Terms

t ::=
    true
    false
    if t then t else t
    0
    succ t
    pred t
    iszero t

Values

v ::=
    true
    false
    nv

nv ::=
    0
    succ nv

Evaluation Rules

TODO