Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Tutorial 3. Processes

Adrodoc55 edited this page Feb 12, 2017 · 10 revisions

Beeing able to create a single program chain is cool, but it doesn't get us very far. Usually programs consist of multiple different parts. Each can perform a special task and they work together to achieve the final goal. Many languages call these parts functions or methods. In MPL they are called processes.

In MPL there are two different types of processes:

A process can be defined like this:

impulse process impulseProcess {
  /say I am an impulse process
}

repeat process repeatProcess {
  /say I am a repeat process
}

process inlineProcess {
  /say I am an inline process
}

First let's take a closer look at Tutorial 3.1. Remote processes.