libcspm-0.2.0: A library providing a parser, type checker and evaluator for CSPM.

CSPM.Compiler.Processes

Description

This module provides the input data structure to the compiler.

Synopsis

Documentation

data Proc Source

A compiled process. Note this is an infinite data structure (due to PProcCall) as this makes compilation easy (we can easily chase dependencies).

data ProcName Source

ProcNames uniquely identify processes.

Constructors

ProcName 

Fields

name :: Name

The name of this process (recal Name s are unique).

arguments :: [[Value]]

The arguments applied to this process, in case it was a function call.

prettyPrintAllRequiredProcesses :: Proc -> DocSource

Pretty prints the given process and all processes that it depends upon.