sirikid / arith

Simple untyped language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arith

Build Status

Arith is simple untyped language, first exercise from Benjamin Pierce's book "Types and programming languages".

EBNF

term =
  | true
  | false
  | if term then term else term
  | 0
  | succ term
  | pred term
  | iszero term
  | ( term )

About

Simple untyped language

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 100.0%