Pi Calculus Interpreter

Syntax
  1. a!b: Write b to channel a
  2. a?b: Read b from channel a
  3. new(a): Create new channel a
  4. P = a?b: Create new process P
Notes
  1. Variables and channel names must be all lowercase
  2. Process names must be all uppercase
  3. To write any variable to the print channel (print!a) to generate output
  4. A line cannot start with a Process name unless you are assigning to it
    • Try using (CLIENT|SERVER) instead of CLIENT|SERVER
Input
Output
Debug