#
Mesham Documentation
Contents

###
- Introduction

- Language Overview
- The Idea Behind Types
- Implementation Hierarchy

###
- Language Features

- Sequential
  - General
  - Variable Declaration
  - Variable Assignment
  - Conditionals
  - Operators
  - Loops
  - Error Handing
- Parallel
  - Parallel Composition
  - The Par Loop
  - Process Selection
  - Synchronization
- Types
  - Type Introduction
  - Variable Types
  - Type Variables
- Procedural Abstraction
  - Functions
  - The Main Function

###
- Types

- Element
- Attributes
  - Allocated
  - Commgroup
  - Const
  - Multiple
  - Share
  - Single
    - On
  - Tempmem
- Collection
  - Array
  - Collection Allocation
    - Row
    - Col
- Communication
  - ASync
  - Primitive
    - Channel
    - Pipe
    - Reduction
    - Broadcast
    - Gather
    - Scatter
    - Alltoall
    - Allreduce
- Partition

- Horizontal
- Vertical

- Distribution
  - Even
- Composition
  - Record

###
- Functions

- Maths
  - Cos
  - Floor
  - Getprime
  - Log
  - Mod
  - Neg
  - Negsin
  - PI
  - Pow
  - Randomnumber
  - Sqr
  - Sqrt
- IO
  - Closefile
  - Input
  - Openfile
  - Print
  - Readchar
  - Readline
  - Writetofile
- Parallel
  - PID
  - Processes
- Bit
  - Bitreverse
- String
  - CharAt
  - Lowercase
  - Strlen
  - Substring
  - ToInt
  - ToString
  - Uppercase

- System
  - CCode
  - Collectgarbage
  - Displayepoch
  - Displaytime
  - Exit
  - Oscli
  - Recordtime

###
- Examples

- Mandlebrot
- Prime Factorization
- Dartboard Method to Calculate PI
- Prefix Sums
- Image Processing