while-lang-parser-0.1.0.0: Parser for the While language.

Safe HaskellSafe-Inferred

Language.While.Types

Description

Provides shared type definitions forming the parsed AST.

Synopsis

Documentation

type Varname = StringSource

Variables type alias.

data Aexp Source

Arithmetic expressions, including integer division.

Instances

data Bexp Source

Boolean expressions.

Instances

data Stm Source

Statements, including try-catch clauses.

Instances