This is a mini Pi-calculus interpreter. The language representation is based on the Core Pict language, and the interpreter gives an interpretation of all possible nondeterministic communications of the expression.
- OCaml >= 4.06.0
menhir: Useopam install menhir
ast.ml: AST for pi-calculus expressionseval.ml: interpreter for ASTslexer.mllparser.mly: lexer and parser specification, usesmenhirto generate a parserrepl.ml: REPL for the programtest.ml: unit test casesutil.ml: utility functions
Run make and then ./pi to run the REPL.
load <filename>to load in some source code from a file. There are a couple instantiated in theexample/directory.listto print out the current program.runto execute the current program.fuel <num>to execute the current program given<num>amount of evaluation steps.helpto see a reminder of these options.quitto exit.