Welcome to PetriCode web pages

PetriCode lets users generate code from CPN models annotated with pragmatics. PetriCode allows the user to define code generation pragmatics and templates. However, templates for Groovy are available with more to come as soon as I have a chance to write them.

PetriCode is not meant to be a full general purpose graphical programming language, rather a platform for making domain specific languages. Also, in recognition of the fact that no modeling-level language can ever be complete we provide the user with endless opportunities to extend pragmatics and templates to fit individual projects.

Quick overview

The purpose of PetriCode is to transform annotated CPN models an annotated CPN model:

using the PetriCode Command-line Tool

To code


The work on PetriCode has been supported by Bergen University College. Technical University of Denmark has contributed by allowing me to be enrolled in its PhD program.